mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge

Home Page:https://maunium.net/go/mautrix-whatsapp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Your message was not bridged: the bridge hasn't received the decryption keys.

KywoSkylake opened this issue · comments

commented

Hi,

I wanted to use the E2B feature of the bridge and I'm running a Synapse server but when I invite the bot in an encrypted room, I receive this message as soon as I send the bot a text message.

Your message was not bridged: the bridge hasn't received the decryption keys.

In the logs, I see the fallowing message

2023-09-17T16:44:36Z DBG Decrypting received event event_id=$9Duj8ztDDu4tROOsse7End1Gcd3hJMtBQ_9SaoasT70 session_id=QTBgZiysdlWCrRwxmtOy6PtLBm28kZ+HqnYpEzwoiT0
2023-09-17T16:44:36Z DBG Couldn't find session, waiting for keys to arrive... event_id=$9Duj8ztDDu4tROOsse7End1Gcd3hJMtBQ_9SaoasT70 session_id=QTBgZiysdlWCrRwxmtOy6PtLBm28kZ+HqnYpEzwoiT0 wait_seconds=3
2023-09-17T16:44:36Z DBG Sent message checkpoint message_checkpoint={"event_id":"$9Duj8ztDDu4tROOsse7End1Gcd3hJMtBQ_9SaoasT70","event_type":"m.room.encrypted","info":"failed to decrypt megolm event: no session with given ID found (ID QTBgZiysdlWCrRwxmtOy6PtLBm28kZ+HqnYpEzwoiT0)","reported_by":"BRIDGE","retry_num":0,"room_id":"!ZYTUlIlzAuSgarvhOl:","status":"WILL_RETRY","step":"DECRYPTED","timestamp":1694969076773}

Does anyone has an Idea why it doesn't work?

Thanks
Mike

commented

The problem was on my part

The problem was on my part

@KywoSkylake How did you solve it? I have the same problem since earlier today

It's not a bridge problem, it's a matrix (megolm) problem. It happens with other matrix users, too. The solution is to discard your megolm session, in element and probably most other clients, that works by running /discardsession

The tchncs.de bridge is now also affected. On top of that, there are many You don't have permission to access that event. and No known servers errors in the log. While a user randomly got it working again, it doesn't seem like /discardsession has any effect in our case.

known related synapse issue reports