home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.58k stars 29.91k forks source link

/usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py:411 #124623

Open aquashrimps opened 3 weeks ago

aquashrimps commented 3 weeks ago

The problem

Recorder: telegram.ext.Updater Source: /usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py:411 First message: 23:48:13 (5 сообщений) Last message: 04:11:25

Exception happened while polling for updates. Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py", line 742, in _network_loop_retry if not await do_action(): ^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py", line 736, in do_action return action_cb_task.result() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py", line 387, in polling_action_cb raise exc File "/usr/local/lib/python3.12/site-packages/telegram/ext/_updater.py", line 376, in polling_action_cb updates = await self.bot.get_updates( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/_bot.py", line 541, in decorator result = await func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/_bot.py", line 4177, in get_updates await self._post( File "/usr/local/lib/python3.12/site-packages/telegram/_bot.py", line 629, in _post return await self._do_post( ^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/_bot.py", line 657, in _do_post return await request.post( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 200, in post result = await self._request_wrapper( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/telegram/request/_baserequest.py", line 383, in _request_wrapper raise NetworkError(description or "Bad Gateway") telegram.error.NetworkError: Bad Gateway

What version of Home Assistant Core has the issue?

2024.8.3

What was the last working version of Home Assistant Core?

2024.7.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Telegram

Link to integration documentation on our website

https://www.home-assistant.io/integrations/telegram/

Diagnostics information

none

Example YAML snippet

telegram_bot:
  - platform: polling
    api_key: !secret api_key_bot
    parse_mode: html
    allowed_chat_ids:
      - !secret chat_id_bot
#      - !secret chat_id_group

notify:
  - name: telegram
    platform: telegram
    chat_id: !secret chat_id_bot

Anything in the logs that might be useful for us?

none

Additional information

No response

home-assistant[bot] commented 3 weeks ago

telegram documentation telegram source

aquashrimps commented 3 weeks ago

@llowvxe @Wanderx13 explain what is in the archive and why don't you post it openly in your repositories or right here? it is very strange that you are suggesting that I download a file with a password, as if there is a virus in it