zeromq / netmq

A 100% native C# implementation of ZeroMQ for .NET
Other
2.93k stars 744 forks source link

NetMQ.NetMQException: Exception of type 'NetMQ.NetMQException' was thrown at NetMQ.Core.Ctx.CreateSocket(ZmqSocketType type) #1081

Open jatinrdave opened 8 months ago

jatinrdave commented 8 months ago

Environment

NetMQ Version:    4.0.1.8
Operating System: Windows 10
.NET Version:     4.8.1

Expected behaviour

Actual behaviour

Throwing error: "NetMQ.NetMQException: Exception of type 'NetMQ.NetMQException' was thrown.\r\n at NetMQ.Core.Ctx.CreateSocket(ZmqSocketType type)\r\n at NetMQ.NetMQSocket..ctor(ZmqSocketType socketType, String connectionString, DefaultAction defaultAction)\r\n at NetMQ.Sockets.PairSocket.CreateSocketPair(PairSocket& socket1, PairSocket& socket2)\r\n at NetMQ.Core.Utils.StopSignaler..ctor()\r\n at NetMQ.NetMQPoller..ctor()\r\n at NetMQ.NetMQRuntime..ctor()\r\n at WMService.API.Services.Services.WMDispatcherService.<>c__DisplayClass4_0.b0()\r\n at System.Threading.Tasks.Task.InnerInvoke()\r\n at System.Threading.Tasks.Task.Execute()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at WMService.API.Services.Services.WMDispatcherService.d4.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at WMService.API.Services.Services.WindowmakerInterfaceService.d__5.MoveNext()"

Steps to reproduce the behaviour