You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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