Nekmo / telegram-upload

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

Encountered a strange problem #210

Closed nitezs closed 1 year ago

nitezs commented 1 year ago

Python Version: 3.10.9 Telegram-upload Version: 0.7.0 Operating System: Windows 10 Dependencies list:

click==8.1.3
colorama==0.4.6
cryptg==0.4.0
hachoir==3.2.0
more-itertools==9.1.0
prompt-toolkit==3.0.38
pyaes==1.6.1
pyasn1==0.5.0
PySocks==1.7.1
rsa==4.9
telegram-upload==0.7.0
Telethon==1.28.5
wcwidth==0.2.6

I used to be able to use it normally, but I have had problems in the past few days. When I used telegram-upload to upload some files, I got some errors message.

Server sent a very new message with ID 7253350956018624521, ignoring (see FAQ for details)
Server sent a very new message with ID 7253350956046503937, ignoring (see FAQ for details)

And I Stop it with Ctrl+C

Aborted!
Task was destroyed but it is pending!
task: <Task pending name='Task-3' coro=<Connection._send_loop() running at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\network\connection\connection.py:313> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-4' coro=<Connection._recv_loop() running at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\network\connection\connection.py:332> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-5' coro=<MTProtoSender._send_loop() running at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\network\mtprotosender.py:462> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Task was destroyed but it is pending!
task: <Task pending name='Task-6' coro=<MTProtoSender._recv_loop() running at C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\telethon\network\mtprotosender.py:505> wait_for=<Future pending cb=[Task.task_wakeup()]>>
Exception ignored in: <coroutine object Connection._recv_loop at 0x0000018986F913F0>
RuntimeError: coroutine ignored GeneratorExit
Nekmo commented 1 year ago

Maybe this is not an error. Have you tried ignoring the message?

nitezs commented 1 year ago

I tried to wait, but nothing was output. The file was not uploaded successfully.

Nekmo commented 1 year ago

Has the problem happened again?

Nekmo commented 1 year ago

I found this link about this: https://stackoverflow.com/questions/75332067/error-messages-clogging-telethon-resulting-server-sent-a-very-new-message-xxxx

Is your system datetime correct?

nitezs commented 1 year ago

I found this link about this: https://stackoverflow.com/questions/75332067/error-messages-clogging-telethon-resulting-server-sent-a-very-new-message-xxxx

Is your system datetime correct?

I use the UTC time zone and there is no problem with the time.

Nekmo commented 1 year ago

Does the problem occur all the time or has it only happened once?

nitezs commented 1 year ago

Does the problem occur all the time or has it only happened once?

This issue has been occurring since July 6th, and once uploaded, this error prompt will appear. Previously, it could be used normally.

Nekmo commented 1 year ago

Can you try with an old telegram-upload version? For example:

$ pip install telegram-upload==0.6.1
nitezs commented 1 year ago

Can you try with an old telegram-upload version? For example:

$ pip install telegram-upload==0.6.1

I also encountered the same problem using the old version.

Nekmo commented 1 year ago

Check that they are not one of these other reasons: https://stackoverflow.com/a/75948500

nitezs commented 1 year ago

Check that they are not one of these other reasons: https://stackoverflow.com/a/75948500

I did not use a system proxy. I logged out all device accounts and deleted the configuration files. Then I logged back into Telegram-upload. I tried to change the time zone of my computer (with automatic time setting) Still encountering the same problem。

nitezs commented 1 year ago

I am trying to use Telegram-upload on another device and everything is working properly. It's strange.

nitezs commented 1 year ago

I have changed my account and it is running normally. But I still don't know why my previous account cannot be used normally on this computer (it can be used normally on other computers) Thank you for your help.

Nekmo commented 1 year ago

You are welcome :) I'm glad the problem has been resolved.