-
-
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
Cannot store or restore security key occasionally for some users #27524
Comments
Also affected platforms are:
|
I don't understand what this means, at all. What exactly happens when you try to log out? Please send a rageshake demonstrating the problem. |
Not seeing any logs from you |
good morning @t3chguy - I am currently trying to figure out how to send the logs from the desktop app or from the web app, as this is not phone specific. I'll try to upload logs today. |
Ok, I just did the following:
|
Sounds like your desktop build doesn't have rageshaking enabled. Where did you install it from? |
It's from the alpine linux repository, I installed it using |
In both cases the behaviour is identical:
If it is helpful I can use the developer console beforehand in firefox/chromium. |
This package isn't maintained by us, nor do we track issues for it |
Your config.json lacks the bug reporting config then, it'd help if you can reproduce on app.element.io which bears it, or add it to your own. |
@t3chguy I'll modify the included config.json on it and come back with the report asap. So far I have encountered the bug in 2 installations, both using docker based images, one running docker, one running in k8s. Both inside private networks, both behind tls terminating proxies. In any case, I'll try to get rageshake from element-web in the next hours. |
The way you host element-web should have no impact given it is an SPA and runs entirely in the browser, the docker image is just an |
Just changed the element-web config, tried to upload two logs to this bug report now, but don't see them appearing here. From the browser it seems that a post to https://element.io/bugreports/submit was successful. |
They are uploaded to a private repo, I can see the logs, thanks. |
Thanks for the feedback! |
You seem to be using a version from a month an a half ago, any chance re-testing on latest? Given you are using the Rust crypto stack and it has frequent updates it'd have the potential to make a difference. |
I just tried upgrading to v1.11.68 and it fails with:
relevant docker-compose config:
where .env contains:
|
Same issue as above with 1.11.66, 1.11.67. 1.11.65 is the last element-web version that starts. |
Verified on another system, 1.11.68 runs there. Now trying to get the problematic deployment up for testing. |
hi seems we have the same issue, for all our users, have you tried without oidc? |
I have just been able to reproduce the same error on 1.11.68. I have uploaded the logs via rageshake. The flow is as follows:
Can be repeated as many times. |
No, as the authentication is only available with OIDC. We do however have 2 test cases:
In total we actually have 4 systems that are similar, however not all of them show the same problem (just yet): a)
b)
The two (a) systems and (b) systems are configured almost identically, just different authentication / authorization endpoints, but same software, same network, same proxies, etc. For the (b) case we even tried to reset the database of synapse (it's a staging system, so not a problem) and the issue re-appears instantly. For the (a) case we did notice sporadically / one user in the beginning with the issue and one way of temporarily fixing it is removing all sessions keys, resetting the secure backup and starting fresh for the user. However it does not fix the problem permanently. I suspect that this is actually 2 bugs and not one:
|
The "upgrade your encryption" dialog is completely broken; it needs removing, and that work is tracked at #27455. There is a question about why it is being shown at all; it's likely because key backup has been set up but the key was not correctly uploaded to 4S during a previous session. #27253 is possibly related. Unfortunately we don't seem to have any logs demonstrating that. I'm going to go ahead and close this in favour of #27455, because it's quite unclear what the actual repro steps and symptoms are, and I think most of it is covered by #27455. |
Steps to reproduce
This is a follow up from #17886
The following problems / flows exist:
The common things related are:
The strange things:
Outcome
What did you expect?
The security key should be able to be used
What happened instead?
Sessions are lost / the security key cannot be stored.
Operating system
Any
Browser information
Any
URL for webapp
At least 2 private ones
Application version
v1.11.39 and 1.11.65 have both been confirmed
Homeserver
Multiple, affected are at least: v1.89.0 and 1.105.1
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: