Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broker disconnected after certain interval after getting following error #7

Open
KamranShahid opened this issue Aug 31, 2019 · 0 comments

Comments

@KamranShahid
Copy link

KamranShahid commented Aug 31, 2019

Environment
NetMQ Version: 4.0.0.207
Operating System: Windows 10
.NET Version: .net core 2.1.6
Expected behaviour
broker/worker keep working for hours/days

Actual behavior
Got following error in logs

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at MajordomoProtocol.MDPBroker.ProcessReceivedMessage(Object sender, NetMQSocketEventArgs e) in MDPBroker.cs:line 317
at NetMQ.NetMQSocket.InvokeEvents(Object sender, PollEvents events)
at NetMQ.NetMQPoller.RunPoller()
at NetMQ.NetMQPoller.Run(SynchronizationContext syncContext)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)

Steps to reproduce the behavior
Setup worker/broker in above mentioned environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant