Max retries exceed with url (Failed to establish a new connection: [Errno 110] Connection timed out)
19,257
I faced this issue earlier and in my case the IP address of our server was not allowed to access the APIs by the APIs provider. So maybe you should contact with your API's provider to whitelist your server IP.
Author by
Ashish_A1
Updated on June 04, 2022Comments
-
Ashish_A1 almost 2 years
raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='mycompanyurl.in', port=443): Max retries exceeded with url: /api/v1/issues.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x51047d0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
However,
mycompanyurl.in
is fine & I can open it in a browser as well. I'm using Python 2.7.5.