-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Element-R | "Unable to set up keys" error on register #26755
Comments
Typing console for search: Secret storage is not yet set up; not exporting keys to secret storage yet.
|
(I think the |
Server-side logs for that request:
The server is supposed to ignore attempts to re-upload the same key twice; however if the two requests happen very close together they can race, producing a 500. Looking at the client-side logs, it looks like we're making two
One request succeeds, and the other fails. I think we should find out why we are making two |
(presumably this is because |
An alternative would be just to retry the request on a 500 error. That's something we ought to do anyway, really. |
This also causes intermittent errors in the Playwright tests. For example: https://e2e-12054--matrix-react-sdk.netlify.app/#?testId=629a0fc9a6da9f9a3754-1d0b117813dd9b94cd4f038c2392796d4a22
(NB: although that is test for "legacy crypto", this is a failure to set up the "bot" user, which always uses Rust Crypto in this test.) |
Step to reproduce
Actual
=> click on retry fixes it
The text was updated successfully, but these errors were encountered: