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

internal server error when remote room directory is private #6896

Closed
lub opened this issue Feb 12, 2020 · 4 comments
Closed

internal server error when remote room directory is private #6896

lub opened this issue Feb 12, 2020 · 4 comments
Assignees
Labels
z-bug (Deprecated Label)

Comments

@lub
Copy link
Contributor

lub commented Feb 12, 2020

Description

When querying a remote server room directory which requires authentication, synapse currently just throws a {errcode: "M_UNKNOWN", error: "Internal server error"}

It probably makes sense to use a more specific error to indicate to the end user, that it's only possible to query that room directory as user of that server.

Steps to reproduce

  • query /_matrix/client/r0/publicRooms?server=example.com, where example.com is a server with a non-public room directory
  • get before mentioned generic internal server error

Version information

  • Homeserver: imninja.net

  • Version: 1.10.0rc5

  • Install method: Docker

  • Platform: Container

@anoadragon453 anoadragon453 self-assigned this Feb 12, 2020
@richvdh
Copy link
Member

richvdh commented Feb 12, 2020

related: #6325 ?

@anoadragon453
Copy link
Member

@richvdh indeed

Both fixed in #6899

@lub
Copy link
Contributor Author

lub commented Feb 12, 2020

Sorry, I didn't find the existing issue

@richvdh richvdh added the z-bug (Deprecated Label) label Feb 14, 2020
@anoadragon453
Copy link
Member

Fixed by #6899

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-bug (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants