You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NetMQ Version: 4.0.1.13
Operating System: Windows 10 Pro x64
.NET Version: 4.7.2
Explanation
I have tasks with a loop, where in this loop I use the function 'NetMQ_SendFrame', which sends information by converting object to JSON string. The server crashes with error down below
Unhandled exception: NetMQ.FaultException
at NetMQ.Msg.Close()
at NetMQ.Core.Transports.EncoderBase.Encode(NetMQ.Core.Transports.ByteArraySegment ByRef, Int32)
at NetMQ.Core.Transports.StreamEngine.BeginSending()
at NetMQ.Core.Transports.StreamEngine.Handle(Action, System.Net.Sockets.SocketError, Int32)
at NetMQ.Core.Transports.StreamEngine.FeedAction(Action, System.Net.Sockets.SocketError, Int32)
at NetMQ.Core.Transports.StreamEngine.ActivateOut()
at NetMQ.Core.SessionBase.ReadActivated(NetMQ.Core.Pipe)
at NetMQ.Core.Pipe.ProcessActivateRead()
at NetMQ.Core.ZObject.ProcessCommand(NetMQ.Core.Command)
at NetMQ.Core.IOThread.Ready()
at NetMQ.Core.Utils.Proactor.Loop()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
The text was updated successfully, but these errors were encountered:
I'm Experiencing the same issue in old codebase after switching from ZeroMQ nuget to NetMQ. Issue happens from time to time. Is there option to catch these exceptions just to avoid crash?
Environment
Explanation
I have tasks with a loop, where in this loop I use the function 'NetMQ_SendFrame', which sends information by converting object to JSON string. The server crashes with error down below
Code
Server
Client
Model of message
Error
The text was updated successfully, but these errors were encountered: