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

Error when trying to join an empty room should be more explicit (SYN-678) #1533

Open
matrixbot opened this issue Apr 12, 2016 · 2 comments
Open
Labels
A-Join Joining a room (there is another label for federated joins) T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@matrixbot
Copy link
Member

Submitted by @​matthew:matrix.org
It is currently {"errcode":"M_UNKNOWN","error":"No known servers"} - i am having to string match on the error message to display a more coherent one in Vector :(

(Imported from https://matrix.org/jira/browse/SYN-678)

@matrixbot matrixbot changed the title Error when trying to join an empty room should be more explicit (SYN-678) Error when trying to join an empty room should be more explicit (https://github.com/matrix-org/synapse/issues/1533) Nov 7, 2016
@matrixbot matrixbot changed the title Error when trying to join an empty room should be more explicit (https://github.com/matrix-org/synapse/issues/1533) Error when trying to join an empty room should be more explicit (SYN-678) Nov 7, 2016
@richvdh
Copy link
Member

richvdh commented Feb 8, 2017

FTR, I ripped out the string matching in vector because frankly "you cannot rejoin an empty room" was worse when the room wasn't empty.

We get this error when:

  • The room never existed
  • The room once existed, but everybody in it has left
  • You are trying to join by room id, and the room id is on a different homeserver (and the room is not yet federated to your own homeserver).
  • (I think?) You are trying to join by room alias, and the alias is on an unreachable homeserver.
  • Probably some other reasons

@heyakyra
Copy link

If i get this error "Failed to join room Internal server error" when trying to join a room on the same server, is this the cause? Or would the error say "No known servers" as it says in the bug

@reivilibre reivilibre added T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. A-Join Joining a room (there is another label for federated joins) labels May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Join Joining a room (there is another label for federated joins) T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

4 participants