-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Unable to connect to homeserver, retrying... - Lost access to homeserver on mobile, web, and desktop apps after logout #12882
Description
Description
Steps to reproduce
This was originally posted in Element Web, but I later discovered this is an issue with Matrix Synapse server. Due to my original post being closed under Elemenet, I am moving this to Synapse.
- I logged out and am unable to log back in. On my mobile device, I am prompted with a "verify session" prompt, but the client never loads the content.
- This behavior has started recently after a user logs out of a client on a self-run homeserver. This issue is experienced on the Element Windows desktop app 1.10.13, app.element.io on the web, and Element mobile for iOS and Android.
- Web versions of Element show a sync job that never ends. I opened developer view on the web and I can see "Number of consecutive failed sync requests: 36" and other issues related to syncing.
- Clearing the cache on devices will log out and not log back in. In my attempts to regain access to my home server, I cleared cache on mobile and desktop which effectively lost access to the homeserver.
- Running Matrix Synapse 1.59.1, the user will log out and then is unable to log back in. A rollback to Matrix Synapse version 1.57.0 allows users to log back in and the sync error is gone.
Version information
- Homeserver:
We are running two custom homeservers - a production version and a federated/development homeserver.
-
Version:
1.59.1 - buggy - users unable to log in after clearing cache or logging out
1.58.1 - buggy, but some users can log in - the users that can log in have joined 2 or fewer rooms. The users that cannot log in have 3 or more rooms. My account is 15 rooms deep.
1.57.0 - works fine. All users who previously could not log in can log in.
1.56.0 - unable to downgrade to this version due to database constraints -
Install method:
Installed via repo/package manager
- Platform:
Ubuntu 20.04 LTS
-
Others:
One homeserver uses an apache proxy server for communications, the other has no proxy. Both homeservers sit behind Cloudflare. One is on-prem and the other is third-party cloud provider. Both homeservers are federated.
I do not have verbose logging enabled, but can re-enable if needed. -
Screenshot from Element Web, Element Desktop, and Element Mobile: