Skip to content
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

Obtuse error message appears if the server fails to respond to a delete device request #24199

Open
anoadragon453 opened this issue Jan 10, 2023 · 0 comments
Labels
A-Session-Mgmt Session / device names, management UI, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Z-Labs

Comments

@anoadragon453
Copy link
Member

Steps to reproduce

image

  • Enable the "New session manager" in Labs
  • Go to the "Sessions" tab in Settings
  • Select a device or two and click "Sign out"
  • Have a homeserver which will not answer this request in time, and thus the reverse proxy returns a 504 (you can simulate with a reverse proxy that always returns a 504 for /_matrix/client/r0/delete_devices requests.
  • Receive the above error message, which is very confusing for a user.

Outcome

What did you expect?

A 504 means the homeserver did not respond to the request quickly enough so the reverse proxy has timed the request out. The devices are eventually deleted server-side, but in a minute or two. A more helpful error message would be something along the lines of "The homeserver is taking a while to complete this request. Wait a few minutes and try again."

What happened instead?

I received this cryptic error with no recommended user action, leading to potential frustration.

Operating system

NixOS

Application version

Element version: 1.11.17, Olm version: 3.2.12

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

@turt2live turt2live added S-Tolerable Low/no impact on users A-Session-Mgmt Session / device names, management UI, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow Z-Labs labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Session-Mgmt Session / device names, management UI, etc. O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

2 participants