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

Could not find input entity with key #904

Open
Astrrra opened this issue Apr 6, 2023 · 0 comments
Open

Could not find input entity with key #904

Astrrra opened this issue Apr 6, 2023 · 0 comments

Comments

@Astrrra
Copy link

Astrrra commented Apr 6, 2023

Getting this error message when starting the bridge, and the messages from telegram are not being sent to matrix (but messages from matrix are being sent to telegram)

Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,136] [[email protected]] Ensuring user is still in CENSORED
Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,161] [[email protected]] Ensuring user is still in CENSORED
Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,179] [[email protected]] Ensuring user is still in CENSORED
Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,197] [[email protected]] Ensuring user is still in CENSORED
Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,220] [[email protected]] Unhandled error while handling command reload-user  from @astrr:astrra.space (ref: 1680795838)
Apr 06 15:44:50 python3[917431]: Traceback (most recent call last):
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 491, in handle
Apr 06 15:44:50 python3[917431]:     await self._run_handler(handler, evt)
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/commands/handler.py", line 192, in _run_handler
Apr 06 15:44:50 python3[917431]:     return await handler(evt)
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 340, in __call__
Apr 06 15:44:50 python3[917431]:     return await self._handler(evt)
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/commands/portal/admin.py", line 78, in reload_user
Apr 06 15:44:50 python3[917431]:     await user.ensure_started()
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/user.py", line 210, in ensure_started
Apr 06 15:44:50 python3[917431]:     return cast(User, await super().ensure_started(even_if_no_session))
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/abstract_user.py", line 316, in ensure_started
Apr 06 15:44:50 python3[917431]:     await self.start(delete_unless_authenticated=not even_if_no_session)
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/user.py", line 232, in start
Apr 06 15:44:50 python3[917431]:     await super().start()
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/mautrix_telegram/abstract_user.py", line 304, in start
Apr 06 15:44:50 python3[917431]:     await self.client.connect()
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/telethon/client/telegrambaseclient.py", line 579, in connect
Apr 06 15:44:50 python3[917431]:     entity = await self.session.get_input_entity(types.PeerChannel(state.channel_id))
Apr 06 15:44:50 python3[917431]:   File "/opt/yunohost/mautrix_telegram/lib/python3.9/site-packages/telethon/sessions/memory.py", line 240, in get_input_entity
Apr 06 15:44:50 python3[917431]:     raise ValueError('Could not find input entity with key ', key)
Apr 06 15:44:50 python3[917431]: ValueError: ('Could not find input entity with key ', -100CENSORED)
Apr 06 15:44:50 python3[917431]: [2023-04-06 15:44:50,292] [[email protected]] 127.0.0.1 [06/Apr/2023:15:44:50 +0000] "PUT /transactions/345632?access_token=-CENSORED HTTP/1.1" 200 158 "-" "Synapse/1.79.0"```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant