Closed MSTRBOT closed 1 year ago
Hello, that's a pyrogram error, not a bot error. By checking the pyrogram Github page, it seems to be related to a wrong date of the machine, so you can try to set it correctly. You can ask there if the problem persists.
Regards, Emanuele
OK I understand, thanks
Sent from Proton Mail mobile
-------- Original Message -------- On 24 Jan 2023, 17:07, Emanuele Bellocchia wrote:
Hello, that's a pyrogram error, not a bot error. By checking the pyrogram Github page, it seems to be related to a wrong date of the machine, so you can try to set it correctly. You can ask there if the problem persists.
Regards, Emanuele
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Hi can you advise what has gone wrong here?
2023-01-22 20:36:11,500 WARNING - BadMsgNotification: [17] The msg_id is too high, the client time has to be synchronized. 2023-01-22 20:36:11,500 INFO - PingTask stopped 2023-01-22 20:36:11,501 INFO - Disconnected 2023-01-22 20:36:11,501 INFO - NetworkTask stopped 2023-01-22 20:36:11,501 INFO - Session stopped Traceback (most recent call last): File "/root/priceflash/telegram_crypto_price_bot/app/bot.py", line 95, in
price_bot.Run()
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/telegram_crypto_price_bot-0.3.3-py3.10.egg/telegram_crypto_price_bot/bot/bot_base.py", line 87, in Run
self.client.run()
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/Pyrogram-2.0.97-py3.10.egg/pyrogram/methods/utilities/run.py", line 84, in run
self.start()
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/Pyrogram-2.0.97-py3.10.egg/pyrogram/sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
return future.result()
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/Pyrogram-2.0.97-py3.10.egg/pyrogram/methods/utilities/start.py", line 62, in start
await self.authorize()
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/Pyrogram-2.0.97-py3.10.egg/pyrogram/client.py", line 333, in authorize
return await self.sign_in_bot(self.bot_token)
File "/root/priceflash/telegram_crypto_price_bot/lib/python3.10/site-packages/Pyrogram-2.0.97-py3.10.egg/pyrogram/methods/auth/sign_in_bot.py", line 76, in sign_in_bot
await self.storage.user_id(r.user.id)
AttributeError: 'BadMsgNotification' object has no attribute 'user'