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
My code creates a session and makes a number of requests by using session.post() After ~50 successful requests I get an abort in the requests_negotiate code ("assert isinstance(sock, (ssl.SSLSocket, socket.socket))") because sock is None, which isn't an instance of ssl.SSLSocket. As a workaround I keep a counter, and create a new session every 49 requests, but that's inelegant.
The text was updated successfully, but these errors were encountered:
My code creates a session and makes a number of requests by using session.post() After ~50 successful requests I get an abort in the requests_negotiate code ("assert isinstance(sock, (ssl.SSLSocket, socket.socket))") because sock is None, which isn't an instance of ssl.SSLSocket. As a workaround I keep a counter, and create a new session every 49 requests, but that's inelegant.
The text was updated successfully, but these errors were encountered: