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

I'm going crazy (The msg_id is too low, the client time has to be synchronized.) #76

Open
shaukky opened this issue Jul 17, 2024 · 6 comments

Comments

@shaukky
Copy link

shaukky commented Jul 17, 2024

Yes I have synced the system, even installed extra syncy things to triple check system time - issue persists.
Yes I have updated pyrogram - issue persists.
Yes I have run it in a VM - issue persists.

"The msg_id is too low, the client time has to be synchronized." brutal and primitive error that for the life of me I can't fix. Shamefully I must ask for help :(

@Lordovsaba
Copy link

i also have the same issue i have already done sync time date ect and also updated to the latest version of pyrogram version 2.0.106, hope someone finds a fix im pulling my hair out here haha

@EvgenyKislyy
Copy link

Same here

@d2avids
Copy link

d2avids commented Aug 19, 2024

In my case, i set time.sleep(2) at the start of the programm and then turned off VPN. Probably, turning off VPN could have helped initially without setting time.sleep.

@BpArCuCTeMbI
Copy link

Same issue there. Ubuntu 22.04/Python3.10.12

@Owl-Tec
Copy link

Owl-Tec commented Aug 28, 2024

I fixed the issue by doing the following:

  • In the "requirements.txt" file I changed the following line to as follows: "pyrogram==1.4" -> "pyrogram==2.0.106"
  • Re-ran the "install.bat" file (this was key)

Sadly, looks like the application is broken currently:

Traceback (most recent call last):
  File "C:\Users\XXXX\Downloads\telegram-delete-all-messages-master\cleaner.py", line 154, in <module>
    deleter.select_groups()
  File "C:\Users\XXXX\Downloads\telegram-delete-all-messages-master\cleaner.py", line 67, in select_groups
    chats = self.get_all_chats()
            ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\XXXX\Downloads\telegram-delete-all-messages-master\cleaner.py", line 57, in get_all_chats
    dialogs = app.get_dialogs(pinned_only=True)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\XXXX\Downloads\telegram-delete-all-messages-master\venv\Lib\site-packages\pyrogram\sync.py", line 53, in async_to_sync_wrap
    coroutine = function(*args, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^

Edit: fix below here works:

@d2avids
Copy link

d2avids commented Aug 29, 2024

The app works fine, I'm using it. Just need to play around a bit

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

6 participants