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

No longer working not even /start command #17

Open
mg8x opened this issue Mar 24, 2024 · 3 comments
Open

No longer working not even /start command #17

mg8x opened this issue Mar 24, 2024 · 3 comments

Comments

@mg8x
Copy link

mg8x commented Mar 24, 2024

The bot stopped working a month ago before that it was working well. even your official bot (@FilesConvertRobot)stopped working.

when I run it on Linux server:
docker run file-converter

it shows this error:

Traceback (most recent call last):
  File "/usr/src/app/main.py", line 1438, in <module>
    app.run()
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/utilities/run.py", line 84, in run
    self.start()
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/sync.py", line 66, in async_to_sync_wrap
    return loop.run_until_complete(coroutine)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/utilities/start.py", line 58, in start
    is_authorized = await self.connect()
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/auth/connect.py", line 47, in connect
    await self.session.start()
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 142, in start
    raise e
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/session/session.py", line 109, in start
    await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
  File "/usr/local/lib/python3.10/dist-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.

And thanks for hard work!!

@bipinkrish
Copy link
Owner

Please google the error

@mg8x
Copy link
Author

mg8x commented Mar 25, 2024

fixed by changing version of pyrogram to its last version in requirements.txt then rebuild the docker image simply by
docker build . -t file-converter
then run it
docker run file-converter

@TelegramBotFather
Copy link

fixed by changing version of pyrogram to its last version in requirements.txt then rebuild the docker image simply by docker build . -t file-converter then run it docker run file-converter

Push it

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

3 participants