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

ZMQ REQ-RESP, pattern, messages gets lost at the server side. #4710

Open
rc1997258 opened this issue Jul 25, 2024 · 1 comment
Open

ZMQ REQ-RESP, pattern, messages gets lost at the server side. #4710

rc1997258 opened this issue Jul 25, 2024 · 1 comment

Comments

@rc1997258
Copy link

rc1997258 commented Jul 25, 2024

Please use this template for reporting suspected bugs or requests for help.

Issue description

Currently, the proprietary software based on netconf protocol, uses ZMQ library to send and receive commands(API callbacks) over the tcp socket connections. Here, ZMQ REQ-RESP pattern is used.

Normally everything works fine, but when there is a new netconf session is being established on ZMQ server side, and the session gets stuck at the TLS handshake step, then some of the ZMQ commands are being sent successfully, but not received at the server side, and hence there is no response received at the client side.
This happens only when there is a TLS handshake stuck, but the IP used and port used for ZMQ communication is different, than the IP over which netconf session is being taken place, on the ZMQ server.

Could anyone please help me here. how to solve this problem?

Thanks in advance!

Environment

  • libzmq version (commit hash if unreleased): 4.2.1 C++ ZMQ library
  • OS:
    Centos 8

Minimal test code / Steps to reproduce the issue

What's the actual result? (include assertion message & call stack if applicable)

What's the expected result?

@kcexn
Copy link

kcexn commented Aug 14, 2024

Completely new to ZeroMQ, but is this related to the library? If the TLS handshake is stuck how do messages get passed from client to server? The messages will just get queued up at the client right?

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

2 participants