There is currently no support for h2 in requests. But it can be achieved with hyper.
For now, as let's wait to see what happens to requests.
—
Sentry Issue: NUXEO-DRIVE-1NV
ConnectionError: ('Connection aborted.', UnknownProtocol('HTTP/2.0',)) (1 additional frame(s) were not displayed) ... File "lib\site-packages\requests\api.py", line 75, in get File "lib\site-packages\requests\api.py", line 60, in request File "lib\site-packages\requests\sessions.py", line 533, in request File "lib\site-packages\requests\sessions.py", line 646, in send File "lib\site-packages\requests\adapters.py", line 498, in send ProtocolError: ('Connection aborted.', UnknownProtocol('HTTP/2.0',)) (5 additional frame(s) were not displayed) ... File "lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request File "<string>", line 2, in raise_from File "lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request File "http\client.py", line 1331, in getresponse File "http\client.py", line 319, in begin UnknownProtocol: HTTP/2.0 (1 additional frame(s) were not displayed) ... File "lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request File "<string>", line 2, in raise_from File "lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request File "http\client.py", line 1331, in getresponse File "http\client.py", line 319, in begin Error while trying to connect to Nuxeo Drive startup page with URL URL/drive_browser_login.jsp