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

not able to deploy on koyeb.... this error are coming.. help please #68

Open
Aassauhi opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@Aassauhi
Copy link

Aassauhi commented Aug 2, 2024

Instance created. Preparing to start...
Instance is starting. Propagating network configuration...
Network configuration propagated
[MegaBotCypher] No plugin loaded from "megadl/modules"
Telegram says: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "messages.EditMessage")
Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 62, in resolve_peer
return await self.storage.get_peer_by_id(peer_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/storage/sqlite_storage.py", line 195, in get_peer_by_id
raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: -2202722827'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/megadl/helpers/cypher.py", line 174, in cy_run
_frwded = await msg.forward(chat_id=self.log_chat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/types/messages_and_media/message.py", line 4166, in forward
return await self._client.forward_messages(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/messages/forward_messages.py", line 97, in forward_messages
to_peer=await self.resolve_peer(chat_id),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/advanced/resolve_peer.py", line 105, in resolve_peer
await self.invoke(
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/advanced/invoke.py", line 94, in invoke
r = await session.invoke(
^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/session/session.py", line 399, in invoke
return await self.send(query, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/session/session.py", line 367, in send
RPCError.raise_it(result, type(data))
File "/app/venv/lib/python3.12/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
raise getattr(
pyrogram.errors.exceptions.bad_request_400.ChatIdInvalid: Telegram says: [400 CHAT_ID_INVALID] - The chat id being used is invalid or not known yet. Make sure you see the chat before interacting with it (caused by "messages.GetChats")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/venv/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 355, in handler_worker
await handler.callback(self.client, *args)
File "/app/megadl/helpers/cypher.py", line 225, in cy_run
await self.cyeor(msg, f"Oops 🫨, Somethig bad happend! \n\n{e}")
File "/app/megadl/helpers/cypher.py", line 248, in cyeor
await msg.edit(text, **kwargs)
File "/app/venv/lib/python3.12/site-packages/pyrogram/types/messages_and_media/message.py", line 3968, in edit_text
return await self._client.edit_message_text(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/messages/edit_message_text.py", line 92, in edit_message_text
r = await self.invoke(
^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/methods/advanced/invoke.py", line 94, in invoke
r = await session.invoke(
^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/session/session.py", line 399, in invoke
return await self.send(query, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/venv/lib/python3.12/site-packages/pyrogram/session/session.py", line 367, in send
RPCError.raise_it(result, type(data))
File "/app/venv/lib/python3.12/site-packages/pyrogram/errors/rpc_error.py", line 91, in raise_it
raise getattr(
pyrogram.errors.exceptions.bad_request_400.MessageIdInvalid: Telegram says: [400 MESSAGE_ID_INVALID] - The message id is invalid (caused by "messages.EditMessage")
Mega.nz Bot - Cypher is starting...

Loading config
Setting up file locations
Initializing client
Initializing database
Updating privacy settings
Checking for updates
Setting up additional functions
Starting Client


TCP health check failed on port 8080. Retrying...
[MegaBotCypher] No plugin loaded from "megadl/modules"

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