Closed aziz142010 closed 4 months ago
I think this is a question for libzmq, pyzmq doesn't affect anything about tcp behavior of libzmq sockets. I don't see anything wrong with your code off the bat. But one libzmq connect may result in repeated attempts to connect at the transport level if the peers disconnect or aren't available yet when connect starts or anything like that.
Thank you for looking into it. I see these disconnects even after the connection is established with the peer. That is something which is bothering me.
This is a pyzmq bug
What pyzmq version?
25.1.2
What libzmq version?
4.3.4
Python version (and how it was installed)
Python3.9
OS
Debian 9/10
What happened?
I have a working code which uses pyzmq pub/sub sockets. However on tcpdump I see too many RST packets. Is it how the connect call is supposed to operate or there is something wrong with the way the code is written ? I have tried both sync and async versions of the code.
Pasting the link to the packet capture https://www.dropbox.com/scl/fi/s3zs0abj2lo6qcbsj48df/connect_dump.pcap?rlkey=9cck3z5bmmigy9vktrby5pcfo&dl=0
Code to reproduce bug
Traceback, if applicable
More info
No response