proton-python-client icon indicating copy to clipboard operation
proton-python-client copied to clipboard

Fix a source of the 'Unknown API error.'

Open aminsdo opened this issue 2 years ago • 1 comments
trafficstars

Hello dear Proton team and community,

Since November 2020 the parameter strict was removed from urllib3 for HTTPSConnectionPool class in connectionpool.py. Leaving the parameter strict in the call is shifting the next ones and timeout is taken as a boolean leading to the error 'Timeout cannot be a boolean, it must be an...' raising an UnknownConnectionError in api.py and finally the famous UnknownAPIError in the cli_wrapper.py.

This explains why so many people on forums have their proton cli not working after updating their packages with urllib3 among them.

aminsdo avatar Jun 08 '23 14:06 aminsdo

Can confirm this works.

waltercool avatar Aug 07 '23 08:08 waltercool