-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Accepting an invite to a room on another HS returns a 404 #2807
Comments
is this specific to the matrix-appservice-slackbot? Are you sure the bot has a pending invitation to the room? This sounds like synapse failing to find a remote server to help with the join request, but it should check if there is pending invitation and use that: https://github.com/matrix-org/synapse/blob/master/synapse/handlers/room_member.py#L287 We'll probably need to see the logs to diagnose further |
I haven't testing if this is specific to the matrix-appservice-slack bridge or not. yes, I'm sure about the pending invitation. here's the invite msg:
and the logs from the giveth.io server from right before the invite to after the failure: |
This feels like a general bug with federation interacting with application services - although I'm surprised @turt2live hasn't encountered it... @turt2live, any idea what might be going on here? |
@perissology thanks for the excellent bug report & details btw |
@ara4n I actually added a retry loop to almost everything I've deployed to combat this. The common failure is the room comes down the /sync stream, but the homeserver isn't aware of the room yet. It can sometimes take minutes for the room the appear. |
Well, this is fun. I just ran into this on my test server. The logs are very unexciting:
|
this is the bug, i was talking about a month ago, it's really wide, i have a server completely locked out of federation due to this issue
|
i'm pretty sure i'm experiencing this issue, if i make a chat on the librem.one HS and invite someone from matrix, it gives the M_UNKOWN error. |
@SaturnSoftware can you share the synapse logs for the failing request please |
would that be in the browser console? or where would i find the synapse |
Is this still happening on recent releases of Synapse? |
Yes. Constantly. |
Description
In the matrix-appservice-slackbot, the bot will auto join any rooms it has been invited to. If a user from another HS invites the bot to a room that hasn't been synced to the bots HS, synapse will throw an error
2018-01-18 01:26: [-] POST https://matrix.giveth.io/_matrix/client/r0/join/!TAeakIVVBKXyGipXoY%3Amatrix.org AS) HTTP 404 Error: {"errcode":"M_UNKNOWN","error":"No row found"}
.Version information
If not matrix.org: giveth.io
The text was updated successfully, but these errors were encountered: