Open
Description
Continuation from #95
Only in python 3.6
and when using SteamClient
, which uses gevent
.
Happens when the gevent
monkey patches are applied after importing requests
module. gevent
might have a fix in a future release
code to reproduce
import requests
import gevent.monkey
gevent.monkey.patch_ssl()
requests.get("https://google.com")
Work around
Do the gevent monkey patch before any other code or imports. So at the very top:
import gevent.monkey
gevent.monkey.patch_socket()
gevent.monkey.patch_ssl()