-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't log out of Riot whilst HS is down #2289
Comments
I'm surprised this is a thing. If you're logged into a local synapse, why is it trying to reach matrix.org? @lukebarnard1: is it still a thing? |
I haven't been in a position where it would happen. I'm not sure why my local, non-federated synapse would be blocked on matrix.org. |
From @dbkr:
No consensus on whether the settings page is loading from matrix.org or just the local HS |
I encountered the same issue. It's impossible to logout or open the settings when my synapse server is down. |
same issue |
1 similar comment
same issue |
rereading this, I think the stuff about |
@richvdh is right. The issue is that Settings page is trying to access current HS. This makes it impossible to logout and login to some other alive server. P.S. To work around the issue, you need to clear Local Storage for the web client domain (either through browser privacy settings or DevTools). |
I just got bit by this one last week. I had a synapse homeserver instance in a Linux VM for testing, and deleted it when I was done. My Windows Riot client would just sit there spinning looking for the now non-existent server, and the "logout" button/link was missing from the spinner screen. After waiting (minutes?) for it to time out, I was still not able to use the setting ("gear") icon, since it requires the homeserver to be up to show the settings window. How to clear Local Storage was not immediately obvious in the Windows desktop client. I then searched the filesystem for a plaintext configuration file where I could change the server name, but only found SQLite and LevelDB files, so no luck there. In the end, my Riot client install was not easily recoverable, and I was frustrated, so I just deleted it. Is there any why to recover from a down homeserver at all? If not, please increase this to P1 since it renders the client unusable. |
I believe this is fixed in https://riot.im/experimental as there is a "Logout" option accessible directly from user menu. |
The logging out may be fixed (I haven’t tested that button when the server is down) but The settings page should probably be available or at least a limited part of it when the server is down (or the domain has been changed or whatever). |
I did:
|
Trying to log out of my locally-built vector which is logged into a locally-running synapse, but can't open the user settings page in order to do that. Probably because the settings page loads forever trying to get something from matrix.org.
(And I want to logout so that I can log my local vector onto my own HS)
Seems to be coming from matrix-js-sdk UserSettings.js _renderCryptoInfo.
The text was updated successfully, but these errors were encountered: