element-hq / element-hq/dendrite

user api stops working

Open
#2,105 2 comments 0 reactions 0 assignees View on GitHub
C-User-API T-Defect
Dominant language
Go
Stars
965
Forks
101
PR merge metrics
No merged PRs in 30d

Description

*This issue was originally created by [**@Joshix-1**](https://github.com/Joshix-1) at .*

### Background information

- **Dendrite version or git SHA**: 0.5.1
- **Monolith or Polylith?**: Monolith
- **SQLite3 or Postgres?**: Postgres
- **Running in Docker?**: no
- **`go version`**: 1.16.12
- **Client used (if applicable)**: - - -

### Description

- **What** is the problem: The user api stops working
- **Who** is affected: The user api, the federation api still seems to be working
- **How** is this bug manifesting: The user api doesn't respond anymore/ times out
- **When** did this first appear: I don't know; A while after starting the instance

### Steps to reproduce
It just happens all the time, every few minutes. Sometimes after half an hour.

Contributor guide

Open the contributing guide

Research direction

No source files, entry points, or tests are identified. Start by reproducing the user API timeout on Dendrite 0.5.1 running as a monolith with Postgres, then inspect logs and compare the user API with the still-working federation API. Done means identifying the failure cause, restoring reliable user API responses, and adding coverage for the failure if the relevant test location can be found.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.