Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 20, 2025. It is now read-only.
This repository was archived by the owner on Apr 20, 2025. It is now read-only.

Telegram Bot potentially causing problems #35

@tim-we

Description

@tim-we
Traceback (most recent call last):
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/ext/updater.py", line 379, in _network_loop_retry
    if not action_cb():
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/ext/updater.py", line 340, in polling_action_cb
    allowed_updates=allowed_updates)
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/bot.py", line 67, in decorator
    result = func(*args, **kwargs)
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/bot.py", line 2138, in get_updates
    result = self._request.post(url, data, timeout=float(read_latency) + float(timeout))
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/utils/request.py", line 333, in post
    **urlopen_kwargs)
  File "/home/pi/py-radio/.venv/lib/python3.7/site-packages/telegram/utils/request.py", line 230, in _request_wrapper
    raise NetworkError('urllib3 HTTPError {}'.format(error))
telegram.error.NetworkError: urllib3 HTTPError HTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot##########:##################################/getUpdates (Caused by NewConnectionError('<telegram.vendor.ptb_urllib3.urllib3.connection.VerifiedHTTPSConnection object at 0x6c599110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions