zeromq / netmq

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

NetMq worker can't establish connection with Zmq Broker #787

Closed zedo02 closed 3 years ago

zedo02 commented 5 years ago

Environment

NetMQ Version:    4.0.0.1
Operating System:  Windows 10
.NET Core Version:   2.1

Expected behaviour

NetMq worker should connect successfully with broker.

Actual behaviour

NetMq worker not connecting successfully with broker.

Steps to reproduce the behaviour

I'm using the following majordomo implementation: https://github.com/NetMQ/Samples/tree/master/src/Majordomo

I'm receiving System.FormatException: 'Input string was not in a correct format.' at the broker's end.

More details below:

[2019-03-26T14:59:45:9886552 +05:00] - I: MDP broker/0.2.0 is active at tcp://*:5555 [2019-03-26T15:00:10:8788153 +05:00] - I: received message:

[2019-03-26T15:00:10:8808128 +05:00] - D: [000]:

[2019-03-26T15:00:12:9580603 +05:00] - I: registering new worker: '0080000029' Exception thrown: 'System.FormatException' in mscorlib.dll Input string was not in a correct format.

KamranShahid commented 5 years ago

Environment

NetMQ Version:    4.0.0.1
Operating System:  Windows 10
.NET Core Version:   2.1

Expected behaviour

NetMq worker should connect successfully with broker.

Actual behaviour

NetMq worker not connecting successfully with broker.

Steps to reproduce the behaviour

I'm using the following majordomo implementation: https://github.com/NetMQ/Samples/tree/master/src/Majordomo

I'm receiving System.FormatException: 'Input string was not in a correct format.' at the broker's end.

More details below:

[2019-03-26T14:59:45:9886552 +05:00] - I: MDP broker/0.2.0 is active at tcp://*:5555 [2019-03-26T15:00:10:8788153 +05:00] - I: received message:

[2019-03-26T15:00:10:8808128 +05:00] - D: [000]:

[2019-03-26T15:00:12:9580603 +05:00] - I: registering new worker: '0080000029' Exception thrown: 'System.FormatException' in mscorlib.dll Input string was not in a correct format.

I am able to work with majordomo. there were some problem in the implementation. which i have corrected. some minor improvement is there MajorDomoPratternRelated.zip

somdoron commented 5 years ago

Want to make a pull request?

KamranShahid commented 5 years ago

Hi Doron Somech, As I have informed you i haven't use the pull request feature on github for active repository. Due to some workload i have directly shared my implementation in zip so that it might help other's. Thanks

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had activity for 365 days. It will be closed if no further activity occurs within 56 days. Thank you for your contributions.