jeromq icon indicating copy to clipboard operation
jeromq copied to clipboard

Tell the user the address that failed to connect.

Open jeanbza opened this issue 11 months ago • 1 comments

Current:

Caused by: org.zeromq.ZMQException: blah-blah : Address not available

Yes, but which address??

New error (I think?):

Caused by: org.zeromq.ZMQException: failed connecting to 0.0.0.0:5678: blah-blah : Address not available

jeanbza avatar Dec 13 '24 21:12 jeanbza

I'm new-ish to github, and have no clue if builds/tests are running on this PR. Sorry if I should have waited for them before sending out for review.

jeanbza avatar Dec 13 '24 21:12 jeanbza

I think you should use the name variable instead of addrStr

fbacchella avatar Oct 29 '25 02:10 fbacchella

I think you should use the name variable instead of addrStr

Sorry, could you share more? What is name and what would it look like in comparison to addrStr?

jeanbza avatar Oct 29 '25 14:10 jeanbza

Just look at the argument of the function: https://github.com/zeromq/jeromq/blob/c9132d7bb7958118f955e68181f16aa589276b87/jeromq-core/src/main/java/zmq/io/net/tcp/TcpAddress.java#L100

fbacchella avatar Oct 30 '25 05:10 fbacchella