Open gprasadg opened 8 years ago
I have similar issue, please suggest solution
Also a problem for me, using nodejs 6.7, nodejs-zmq 2.15 libzmq 3.1
In my case nodejs is crashing in libzmq.3.1.0: [73569.549746] traps: node[18225] general protection ip:7fee3ad5acf0 sp:7ffd773a94a8 error:0 in libzmq.so.3.1.0[7fee3ad28000+5c000] bringing down the entire node process.
My problem seems to be fixed by socket.unmonitor() before I close() and let the socket go out of scope
and be careful not to call unmonitor on a socket that is not monitored or closed
I have the same issue.
Just to be clear, My nodejs side of the socket creates the 'req' socket, and when the peer side comes up the first time, I get the on('connect') and all is fine.
When I drop the peer, the on('disconnect') fires fine as well.
However, upon starting the peer side again, I do not get any more on('connect') messages.
Hello ,
I have implemented timeout and re-connection on zmq req socket but on re-connection unable to send messages on new socket . following is my implementation.
steps to reproduce : prerequisite :
Steps to run sample
the output of sample is attached. PFA output.PNG
req_res_reconnect.zip