Skip to content

Endless loading of Element Web #31203

@dtyugaev

Description

@dtyugaev

Steps to reproduce

Steps to reproduce:

  1. Log in to the Element Web. Everything is working correctly at this step.
  2. Wait 1 day
  3. The next day, log into the Element Web and when loading, there will be a white screen with an endless spinning icon and a logout button. You can wait indefinitely. Refreshing the page and clearing the cache does not help.
  4. If you click logout, a logout will occur and then you can log in again and work for another day.

Additional information:

  1. Authorization via MAS v1.5.0 (Matrix Authentication Service) is configured on the server
  2. The same behavior in Element Desktop v1.12.3
  3. There is no such problem when connecting from Cinny client
  4. After about 5 minutes, the following error appears in the console
    GET https://connect.otr.ru/_matrix/client/v3/sync?filter=0&timeout=30000&org.matrix.msc4222.use_state_after=true&since=s1143_73608_232_713_1851_9_403_405_0_1_2 401 (Unauthorized)

with this response from the server

{"errcode":"M_UNKNOWN_TOKEN","error":"Token is not active","soft_logout":false}

screenshot of the console
Image

It seems that the problem is with the expiration of the token or session.
Please help me fix this?

Outcome

What did you expect?

I expected the client to load up

What happened instead?

The client started loading, I see the spinner and the log out button

Operating system

Windows

Browser information

Chrome 142

URL for webapp

https://element.otr.ru

Application version

Element Web 1.12.3

Homeserver

Synapse 1.141

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-Session-MgmtSession / device names, management UI, etc.O-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectTeam: Crypto

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions