line 445, in send
timeout=timeout
File "E:\Python\Projects\venv\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "E:\Python\Projects\venv\lib\site-packages\urllib3\util\retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot585728490:AAHdA5pG0zhXd3MStoyAtd-QKnScjCXzhMI/sendMessage?chat_id=346771596&text=test (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x03BA17F0>, 'Connection to api.telegram.org timed out. (connect timeout=3.5)'))
During handling of the above exception, another exception occurred:
а на telegram.org зайти можешь?
у вас телеграм заблокирован кек, вот он и падает в таймаут
Обсуждают сегодня