Connections error

WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f1bd06fb8b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’)': /pypi/simple/black/

keep getting this code and

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘api.telegram.org’, port=443): Max retries exceeded with url: /bot6145307462:AAEpyEEi9HDugJiBD65oRJHX19MdQrjWraE/getMe (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0x7fd3d52ee2c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’))

when everything worked perfect yesterday

Hello, can you please provide a link to the repl?

did you figure this out? I’m running into the same error message today with my bot. It was working fine, and then I stopped and restarted it and it’s giving this error now.

1 Like

I ended up just waiting 15 minutes and then it worked. Not sure what was going on, but if anyone else runs into this, just wait 15-20 minutes before trying to run the code again.

1 Like