cerulean icon indicating copy to clipboard operation
cerulean copied to clipboard

Display user friendly error if running against Synapse

Open dagguh opened this issue 4 years ago • 5 comments

Describe the bug Threads are empty.

To Reproduce Steps to reproduce the behavior:

  1. Go to a thread
  2. See empty page

Expected behavior I'd expect to see the thread contents. Or to understand why I'm not able to see them. Or even what can I do to fix that.

Screenshots The page is empty. Also, the Firefox console logs an error:{ errcode: "M_UNRECOGNIZED", error: "Unrecognized request" }: image

It's a body of a HTTP 400 response to a POST https://matrix.org/_matrix/client/unstable/event_relationships

  • OS: iOS
  • Browser Firefox 84.0.1

Additional context Logged in via federation to matrix.org.

dagguh avatar Jan 10 '21 23:01 dagguh

Cerulean does not support Synapse (which matrix.org runs) because it doesn't support some of the MSC implementations used (as seen in the wiki). You'll either have to use dendrite.matrix.org, or run your own Dendrite server with the MSCs enabled in the config.

@Kegsay do you want to keep this issue open because the application isn't showing an error, or should this be closed?

Half-Shot avatar Jan 11 '21 10:01 Half-Shot

Would be nice to see a message like:

Your homeserver matrix.org doesn't support XYZ.

dagguh avatar Jan 11 '21 10:01 dagguh

Yes, the bug here is that we should display this coherently to the user that it no worky.

kegsay avatar Jan 11 '21 11:01 kegsay

Relatedly we could get Cerulean to determine this dynamically if Dendrite implemented https://github.com/matrix-org/dendrite/issues/1696

Half-Shot avatar Jan 11 '21 11:01 Half-Shot

^ is the right approach here.

kegsay avatar Jan 11 '21 15:01 kegsay