mautrix / telegram

A Matrix-Telegram hybrid puppeting/relaybot bridge
https://matrix.to/#/#telegram:maunium.net
GNU Affero General Public License v3.0
1.34k stars 176 forks source link

Messages not showing up in channels but showing up in group and personal chats #844

Closed laurensmiers closed 1 year ago

laurensmiers commented 2 years ago

Hi,

I have synapse and mautrix-telegram (together with some other bridges (whatsapp, signal, ...) running in docker-compose. For testing, I disabled the other bridges to get some clean logs later in this post.

The bridge was working fine until some days ago. Direct/private messages and group messages were working fine. However, I stopped being able to see group messages, direct/private messaging is still working fine. Strangely, if I look in the logs of the mautrx-telegram docker, it seems to be syncing/finding messages fine.

Something that is probably easier to debug and is already suspicious that it isn't working as expected is the telegram-bridge-bot. I tested sending messages to the telegram bridge bot directly but I don't get any response from it either (meaning I don't see it in the matrix client). I do see in the mautrix-telegram/synapse docker logs that it gets my message (f.e. 'help') and it does send a reply back, so everything looks ok.

I tried several clients: element, nheko, fluffy, neochat, ... but they all have the same behaviour. It might be a client issue since the logs state the message 'help' is received and its response is being send back, if I understand correctly; but since the behaviour is consistent with several clients, I'm wondering if it is a server-side issue. Also worth noting, I don't see this behaviour with other bridges (whatsapp, signal, ...) .

Anyone seen this behaviour before or any ideas what might cause this?

Thanks in advance!

FYI:

Photowalk commented 2 years ago

Got the same problem here, I'm using element both on PC and Android. Have the matrix installed on my VPS 12 hours ago with ansible.

I can send messages to Telegram and Telegram can get the message, but the messages sent from Telegram didn't show up on element.

Rebooting the server(or matrix service maybe) can solve the problem temporarily, but after serveral hours or so, it went back to the same one-way communication situation.

laurensmiers commented 2 years ago

I changed the title to be more specific, didn't know about telegram channel 'types'. But it seems the channels (were only one person/admin can send) are not working anymore. The telegram-bridge is receiving and syncing them properly (I see new messages coming in from those channel types) but I'm not receiving them in any matrix client.

Janbong commented 1 year ago

I'm having the same problem, but with mautrix-whatsapp. Responses from the bot show up in the logs but never arrive in any Matrix client.

tulir commented 1 year ago

Usually happens if you ignore the bridge bot (channel messages are sent by the bot, normal messages are sent by ghost users)