Skip to content

Broker disconnected after certain interval after getting following error #7

Description

@KamranShahid

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions