Page MenuHomeSolus

Element client can't connect to matrix.org
Closed, ResolvedPublicBUG

Description

The Element client cannot connect to the matrix.org server

Steps to reproduce

  1. Start the Element client

Expected result

The client connects and refreshes my messages

Actual result

The Element client shows "Connectivity to the server has been lost" and will not connect. There is an endless spinner where the client tries to load history.

{F11011909}

  1. Environment
    • Is system up to date? y
    • Repo: unstable
    • Desktop Environment Plasma

System details

❯ eopkg info element
Installed package:
Name                : element, version: 1.11.37, release: 143

Operating System: Solus 4.4
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.4.7-246.current (64-bit)
Graphics Platform: X11

Other comments

This started happening somewhere in the last few days, after I had completely closed the Element client. I've rebooted a couple of times since the problem started happening, no change. I've tried reinstalling with it --reinstall, no change.

I can connect OK with the web client https://app.element.io/

Other clients like nheko can connect OK

I saw a possibly related issue, with similar symptoms that has been closed upstream.
https://github.com/vector-im/element-desktop/issues/849
https://github.com/vector-im/element-desktop/issues/850 - contains comments from the OpenSUSE element package maintainer that might be helpful

Event Timeline

A couple of things to look at:

  • Can you paste the output of element-desktop when started from the command line (without it already running)?
  • Do you see any errors in the Console or Network tab when opening the inspector with Ctrl+Shift+i ?
  • Does it help if you remove ~/.config/Element/Cache?

Oh, and can you update to the latest Element (1.11.38)?

TClark77 claimed this task.

So, after rebooting with 1.11.37, Element connected just fine. Updated the system (including Element 1.11.38) and no problems since. Closing the task.