Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asyncio.exceptions.TimeoutError #2

Open
k3fjeee opened this issue Nov 19, 2021 · 0 comments
Open

asyncio.exceptions.TimeoutError #2

k3fjeee opened this issue Nov 19, 2021 · 0 comments

Comments

@k3fjeee
Copy link

k3fjeee commented Nov 19, 2021

Hey! This is the error when uploading large files.

ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-28' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py:407> exception=TimeoutError()>
Traceback (most recent call last):
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates
    for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates
    return await asyncio.gather(*tasks)
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
    response = await handler_obj.handler(*args, **partial_data)
  File "C:\Users\Administrator\Desktop\\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 256, in process_update
    return await self.message_handlers.notify(update.message)
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
    response = await handler_obj.handler(*args, **partial_data)
  File "C:\Users\Administrator\Desktop\\main.py", line 1348, in getlogs
    data = await gofile.upload(file=f'{file_path}')
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\pygofile\gofile.py", line 144, in upload
    data = await session.post(url, data=data_)
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiohttp\client.py", line 559, in _request
    await resp.start(conn)
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiohttp\client_reqrep.py", line 913, in start
    self._continue = None
  File "C:\Users\Administrator\Desktop\Bot\venv\lib\site-packages\aiohttp\helpers.py", line 718, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant