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
BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized. #1347
Comments
Why you opened this issue? Sync your time 🤨🤨🤨 |
after sync time not resolved. |
How you sync time? |
through win+R... > |
Are you sure the synchronization is working? |
and... |
solved by updating python and required library. but now came another errror... pyrogram.errors.exceptions.not_acceptable_406.AuthKeyDuplicated: Telegram says: [406 AUTH_KEY_DUPLICATED] - The same authorization key (session file) was used in more than one place simultaneously. You must delete your session file and log in again with your phone number or bot token (caused by "InvokeWithLayer") |
Everything is written in the error. Read more than the first two words |
Upgraded to which version and which library upgraded please reply because same error |
Upgrade to Pyrogram latest version. It should fix the issue. Install version 2.0.106 The releases page in github is not updated. |
Just run this in your terminal to know exact time and date $ date ; date +"%FORMAT" ; var=$(date) ; var= |
Upgrade to 2.0.106 |
after changed the pyrogram 1.xxx version to 2.xxx in requirements.txt, I have no more issues. thx a lot guys😁 |
Is there a way of still using the pyrogram version 1.4.16 and fix this "error [16]"? |
Upgrade your Pyrogram |
as I wrote here I've solved upgrading pyrogram. I got this issue after 25 December 2023 |
Is there a way of still using the pyrogram version 1.4.16 and fix this "error [16]"? |
Checklist
pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip
and reproduced the issue using the latest development versionDescription
2023-10-02T05:17:28.266812+00:00 heroku[worker.1]: State changed from crashed to starting
2023-10-02T05:17:31.769839+00:00 heroku[worker.1]: Starting process with command
python3 bot.py
2023-10-02T05:17:32.339762+00:00 heroku[worker.1]: State changed from starting to up
2023-10-02T05:17:33.896266+00:00 app[worker.1]: Traceback (most recent call last):
2023-10-02T05:17:33.896295+00:00 app[worker.1]: File "/app/bot.py", line 33, in
2023-10-02T05:17:33.896351+00:00 app[worker.1]: app.start()
2023-10-02T05:17:33.896360+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
2023-10-02T05:17:33.896405+00:00 app[worker.1]: return loop.run_until_complete(coroutine)
2023-10-02T05:17:33.896406+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
2023-10-02T05:17:33.896506+00:00 app[worker.1]: return future.result()
2023-10-02T05:17:33.896507+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/methods/utilities/start.py", line 58, in start
2023-10-02T05:17:33.896544+00:00 app[worker.1]: is_authorized = await self.connect()
2023-10-02T05:17:33.896545+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/methods/auth/connect.py", line 47, in connect
2023-10-02T05:17:33.896579+00:00 app[worker.1]: await self.session.start()
2023-10-02T05:17:33.896580+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/session/session.py", line 142, in start
2023-10-02T05:17:33.896633+00:00 app[worker.1]: raise e
2023-10-02T05:17:33.896633+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/session/session.py", line 109, in start
2023-10-02T05:17:33.896671+00:00 app[worker.1]: await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
2023-10-02T05:17:33.896672+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.10/site-packages/pyrogram/session/session.py", line 333, in send
2023-10-02T05:17:33.896730+00:00 app[worker.1]: raise BadMsgNotification(result.error_code)
2023-10-02T05:17:33.896746+00:00 app[worker.1]: pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized.
2023-10-02T05:17:34.592533+00:00 heroku[worker.1]: Process exited with status 1
2023-10-02T05:17:34.614877+00:00 heroku[worker.1]: State changed from up to crashed
Steps to reproduce
repo : https://github.com/PalashMudi/Premium-Rename-Bot.
Code example
No response
Logs
The text was updated successfully, but these errors were encountered: