matrix-org / matrix-org/cerulean

Display user friendly error if running against Synapse

Open
#43 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
106
Forks
11
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Threads are empty.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to [a thread](https://cerulean.matrix.org/@matthew:dendrite.matrix.org/!o3r2XygCOPz3cWID:dendrite.matrix.org/$K94YqDqDTfv-DsHYQAdZL1BsUjWzlwqr5bVrXIeyxZs)
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`.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the empty thread page and inspect the request to POST /_matrix/client/unstable/event_relationships, which returns M_UNRECOGNIZED when federated to matrix.org. The work is done when users see a clear explanation instead of an empty page, including what they can do about the unsupported request.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.