Skip to content

Excessive calls to GET /relations and GET /event, with MSC3981 enabled and working #25395

Closed
matrix-org/matrix-js-sdk
#3541
@turt2live

Description

@turt2live

Steps to reproduce

  1. Restart app
  2. Click around a couple rooms
  3. Enjoy the flood of http requests

Outcome

What did you expect?

For the app to start up quickly, quietly (this bug causes my CPU fans to be fast-moving), and without duplicating requests.

What happened instead?

There's tens of thousands of requests, so haven't identified a pattern yet. A few example URLs are:

  • https://t2l.io/_matrix/client/v1/rooms/!REDACTED:matrix.org/relations/$REDACTED/m.replace/m.room.encrypted?limit=1
  • https://t2l.io/_matrix/client/v1/rooms/!REDACTED:element.io/relations/$REDACTED/m.replace/m.room.encrypted?limit=1
  • https://t2l.io/_matrix/client/r0/rooms/!REDACTED:element.io/event/$REDACTED
  • etc

Specifically on the GET /event calls, many appear to be duplicated:
image

I was told ages ago that MSC3981 would fix this, but it hasn't (or the scope of the MSC changed between 6 months ago and now).

Operating system

Windows 11

Application version

Element Nightly version: 0.0.1-nightly.2023051701 Olm version: 3.2.14

How did you install the app?

The Internet

Homeserver

t2l.io

Will you send logs?

Yes

Metadata

Metadata

Assignees

Labels

O-FrequentAffects or can be seen by most users regularly or impacts most users' first experienceS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions