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

Can't generate session: BadMsgNotification #403

Open
Bluscream opened this issue Oct 30, 2024 · 0 comments
Open

Can't generate session: BadMsgNotification #403

Bluscream opened this issue Oct 30, 2024 · 0 comments

Comments

@Bluscream
Copy link

Generating session...
Traceback (most recent call last):
  File "/home/blu/bots/telegram/caligo/generate_session.py", line 71, in <module>
    asyncio.run(create_session())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/blu/bots/telegram/caligo/generate_session.py", line 63, in create_session
    await client.start()
  File "/home/blu/bots/telegram/caligo/.venv/lib/python3.11/site-packages/pyrogram/methods/utilities/start.py", line 58, in start
    is_authorized = await self.connect()
                    ^^^^^^^^^^^^^^^^^^^^
  File "/home/blu/bots/telegram/caligo/.venv/lib/python3.11/site-packages/pyrogram/methods/auth/connect.py", line 47, in connect
    await self.session.start()
  File "/home/blu/bots/telegram/caligo/.venv/lib/python3.11/site-packages/pyrogram/session/session.py", line 142, in start
    raise e
  File "/home/blu/bots/telegram/caligo/.venv/lib/python3.11/site-packages/pyrogram/session/session.py", line 109, in start
    await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
  File "/home/blu/bots/telegram/caligo/.venv/lib/python3.11/site-packages/pyrogram/session/session.py", line 333, in send
    raise BadMsgNotification(result.error_code)
pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized.
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