Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARNING:aiogram:Goodbye!
- Traceback (most recent call last):
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\bot\api.py", line 139, in make_request
- async with session.post(url, data=req, **kwargs) as response:
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiohttp\client.py", line 1141, in __aenter__
- self._resp = await self._coro
- ^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiohttp\client.py", line 508, in _request
- req = self._request_class(
- ^^^^^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiohttp\client_reqrep.py", line 305, in __init__
- self.update_host(url)
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiohttp\client_reqrep.py", line 364, in update_host
- raise InvalidURL(url)
- aiohttp.client_exceptions.InvalidURL: localhost:8081/bot1774917272:AAGdalrVx-WszPVvnRJmbQ8ykbiAigOLGGE/getMe
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "d:\Python\VideoDownload\bot.py", line 103, in <module>
- executor.start_polling(dp)
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\utils\executor.py", line 45, in start_polling
- executor.start_polling(
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\utils\executor.py", line 320, in start_polling
- loop.run_until_complete(self._startup_polling())
- File "C:\Users\Andrey\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 650, in run_until_complete
- return future.result()
- ^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\utils\executor.py", line 372, in _startup_polling
- await self._welcome()
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\utils\executor.py", line 361, in _welcome
- user = await self.dispatcher.bot.me
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\bot\bot.py", line 30, in me
- setattr(self, '_me', await self.get_me())
- ^^^^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\bot\bot.py", line 233, in get_me
- result = await self.request(api.Methods.GET_ME, payload)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\bot\base.py", line 236, in request
- return await api.make_request(await self.get_session(), self.server, self.__token, method, data, files,
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "D:\Python\VideoDownload\.venv\Lib\site-packages\aiogram\bot\api.py", line 142, in make_request
- raise exceptions.NetworkError(f"aiohttp client throws an error: {e.__class__.__name__}: {e}")
- aiogram.utils.exceptions.NetworkError: Aiohttp client throws an error: InvalidURL: localhost:8081/bot1774917272:AAGdalrVx-WszPVvnRJmbQ8ykbiAigOLGGE/getMe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement