timeout during connect #543
Unanswered
GRRedWings
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Python 3.11 to create a connection to NATS running in docker. I am trying to do TLS (and eventually mTLS), but I'm having issues with timeout on connect.
If I write a small standalone script that starts a thread and does all of the connections inside of the thread, things seem to work fine. But if I try to do this same thing in a larger Python application I get timeout errors
I assume I'm doing something different or wrong, but it's really unclear to me. Is there a way to set the timeout on the connection?
Here is how I am creating my connection
Beta Was this translation helpful? Give feedback.
All reactions