Hugging Face's logo
Runtime error

runtime error

Exit code: 1. Reason: ction_key, exc) from exc aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host api.telegram.org:443 ssl:default [No address associated with hostname] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/main.py", line 105, in <module> asyncio.run(main()) File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/app/main.py", line 100, in main await bot.delete_webhook(drop_pending_updates=True) File "/usr/local/lib/python3.11/site-packages/aiogram/client/bot.py", line 1249, in delete_webhook return await self(call, request_timeout=request_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiogram/client/bot.py", line 487, in __call__ return await self.session(self, method, timeout=request_timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiogram/client/session/base.py", line 259, in __call__ return cast(TelegramType, await middleware(bot, method)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/aiogram/client/session/aiohttp.py", line 176, in make_request raise TelegramNetworkError(method=method, message=f"{type(e).__name__}: {e}") from e aiogram.exceptions.TelegramNetworkError: HTTP Client says - ClientConnectorDNSError: Cannot connect to host api.telegram.org:443 ssl:default [No address associated with hostname] ERROR:asyncio:Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x7f24817ebc10>

Container logs:

Fetching error logs...