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
Starting with the release 2.32.0 of the requests library the truststore library always leads to an recursion error. I was able to reproduce this on different Windows, Linux (Ubuntu) and macOS machines.
The crulpit seems to be the added "preloaded ssl context", which does not work well with truststore injection. While it seems to use urllib3 under the hood, the patched SSLContext is not really used.
Fix
Proposed fix is to import the requests.adapter package and patch the context accordingly with a truststore patched SSLContext, finished up in #164
Problem
Starting with the release 2.32.0 of the requests library the truststore library always leads to an recursion error. I was able to reproduce this on different Windows, Linux (Ubuntu) and macOS machines.
The crulpit seems to be the added "preloaded ssl context", which does not work well with truststore injection. While it seems to use urllib3 under the hood, the patched SSLContext is not really used.
Fix
Proposed fix is to import the
requests.adapter
package and patch the context accordingly with a truststore patched SSLContext, finished up in #164Related
inject_into_ssl()
not working in virtual environment (Windows 10) #155The text was updated successfully, but these errors were encountered: