Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Cannot reject invite: "403: Unknown room" #6902

Closed
richvdh opened this issue Feb 12, 2020 · 8 comments
Closed

Cannot reject invite: "403: Unknown room" #6902

richvdh opened this issue Feb 12, 2020 · 8 comments
Labels
A-Stuck-Invite Incoming invitations that won't go away z-bug (Deprecated Label)

Comments

@richvdh
Copy link
Member

richvdh commented Feb 12, 2020

It seems that it's possible for rooms to have no state in current_state_events (possibly because the server thinks that everyone has left the room), but also to have no room_version in rooms (possibly because the room was created before we populated that as a matter of course).

Users who have invites to that room will then see "Unknown room" when they try to reject the invite. (They will also see an error if they try to accept the invite, since everybody has left).

@richvdh richvdh added the A-Stuck-Invite Incoming invitations that won't go away label Feb 12, 2020
@richvdh
Copy link
Member Author

richvdh commented Feb 12, 2020

I'm guessing this is new in 1.10.0 with #6802.

@anoadragon453
Copy link
Member

Could we:

a. Remove all local invites for a room when it is cleaned up
b. keep track of rooms that were deleted this way and if any remote server asks to join, we can gracefully tell them that it is no longer possible?

@djschilling
Copy link

djschilling commented May 27, 2020

Just want to push this here, as i experienced the problem right now as described in #7572

@spiraldancing
Copy link

I think I'm seeing the same issue. I fired up a new Synapse server (twice), works internally but something is wrong with it -- I can send out invites from the new server, but invite recipients can neither accept nor reject them ("Failed to reject invite -- Not a known room"). The result is that I now have several pending Invites in my "regular" Matrix account which I cannot get rid of.

@richvdh
Copy link
Member Author

richvdh commented Jul 13, 2020

a. Remove all local invites for a room when it is cleaned up

yeees, except that ship has sailed almost everywhere, given the cleanup happened back in February.

@reivilibre
Copy link
Contributor

Is anyone still seeing this? It doesn't sound like this will recur as it happened due to a one-off cleanup job, so unless it's still active I suggest we close the issue.

@RandomErrorMessage
Copy link

RandomErrorMessage commented Oct 12, 2023

Yes this is still happening, or a variant: MatrixError: [403] [USER] not in room

@anoadragon453
Copy link
Member

Thanks for letting us know @RandomErrorMessage. Could you file a new bug report with some logs so we can investigate?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Stuck-Invite Incoming invitations that won't go away z-bug (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

7 participants