Nekmo / telegram-upload

Upload and download files from Telegram up to 4 GiB using your account
MIT License
1.11k stars 238 forks source link

uploading causes repeated telethon.errors.rpcbaseerrors.FloodError: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest) #266

Open Paladin-z opened 4 months ago

Paladin-z commented 4 months ago

Description

Uploading a large file with --large-files split

What I Did

telegram-upload --to [REDACTED] --large-files split somefile.mkv

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

4Task exception was never retrieved future: <Task finished name='telegram-upload-file-287' coro=<TelegramUploadClient._send_file_part() done, defined at /usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py:330> exception=FloodError('RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)')> Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py", line 346, in _send_file_part result = await self(request) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in call return await self._call(self._sender, request, ordered=ordered) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 87, in _call result = await future telethon.errors.rpcbaseerrors.FloodError: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest) Task exception was never retrieved future: <Task finished name='telegram-upload-file-288' coro=<TelegramUploadClient._send_file_part() done, defined at /usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py:330> exception=FloodError('RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)')> Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py", line 346, in _send_file_part result = await self(request) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in call return await self._call(self._sender, request, ordered=ordered) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 87, in _call result = await future telethon.errors.rpcbaseerrors.FloodError: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest) Task exception was never retrieved future: <Task finished name='telegram-upload-file-289' coro=<TelegramUploadClient._send_file_part() done, defined at /usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py:330> exception=FloodError('RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)')> Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py", line 346, in _send_file_part result = await self(request) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in call return await self._call(self._sender, request, ordered=ordered) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 87, in _call result = await future telethon.errors.rpcbaseerrors.FloodError: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest) Task exception was never retrieved future: <Task finished name='telegram-upload-file-290' coro=<TelegramUploadClient._send_file_part() done, defined at /usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py:330> exception=FloodError('RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest)')> Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/telegram_upload/client/telegram_upload_client.py", line 346, in _send_file_part result = await self(request) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in call return await self._call(self._sender, request, ordered=ordered) File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 87, in _call result = await future telethon.errors.rpcbaseerrors.FloodError: RPCError 420: FLOOD_PREMIUM_WAIT_3 (caused by SaveBigFilePartRequest) ^C

Aborted!

lriuui0x0 commented 4 months ago

I encountered the same error as well, this error seems can be simply ignored and retried

wildirisrest commented 2 months ago

have you found any solutions?

Paladin-z commented 2 months ago

It seems this probably telegram heavily rate limiting free users, when I upgraded to Telegram Premium all the issues stopped.