Replies: 4 comments 1 reply
-
The sendVideo method does not execute properly, although if you send without the library, the download and upload work. Is it possible to increase the timeout, add timeout adjustments, or fix a bug for medium-sized videos? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can set any timeout you want... Globally or for every command... |
Beta Was this translation helpful? Give feedback.
1 reply
-
before time is out! Any proof? Do not see any timeout set in code. Do not see any time markers. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes timeout error appears when i'm trying send medium size video files (~25mb)
Traceback (most recent call last): await self.bot.send_video(chat_id, media_item, caption=caption) File "/usr/local/lib/python3.10/site-packages/telebot/async_telebot.py", line 3153, in send_video await asyncio_helper.send_video( File "/usr/local/lib/python3.10/site-packages/telebot/asyncio_helper.py", line 713, in send_video return await _process_request(token, method_url, params=payload, files=files, method='post') File "/usr/local/lib/python3.10/site-packages/telebot/asyncio_helper.py", line 105, in _process_request raise RequestTimeout("Request timeout. Request: method={0} url={1} params={2} files={3} request_timeout={4}".format(method, url, params, files, request_timeout, current_try)) telebot.asyncio_helper.RequestTimeout: Request timeout. Request: method=post url=sendVideo params=<aiohttp.formdata.FormData object at 0x7fb17c0d25f0> files={'video': <telebot.types.InputMediaVideo object at 0x7fb17c0d1e10>} request_timeout=300
download video method
What version of pyTelegramBotAPI are you using?
4.13
What OS are you using?
Linux, Ubuntu
What version of python are you using?
3.10
Beta Was this translation helpful? Give feedback.
All reactions