-
-
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
"Something went wrong" with low bandwidth mode and E2EE #11138
Comments
Where did you install this version from? It seems incorrectly built without encryption support |
This is from the NixOS package which is based on the official pre-compiled release of riot-web. The same package works on my other laptop and I'm able to send and receive messages in encrypted rooms, so the package is indeed supporting encryption. The "something went wrong" screen appears only on one of my device. I suspect that it's trying to show a room which crashes the whole app instead of only one component after the upgrade to React 16. |
That doesn't line up with the error which was thrown: https://github.com/matrix-org/matrix-js-sdk/blob/c9527685422ad9e158773d35622a4cd87b02d20e/src/client.js#L1036 |
Could the crash of one component prevent the crypto part from being initialised if it happens early? I think that this session might be stuck on a broken room. I've tried setting |
Crypto starts before any of the app gets mounted (other than the Spinner) |
I've been able to identify the problem: I think there's a bug with the experimental low-bandwidth mode and end-to-end encryption support:
Since Riot automatically re-opens the last viewed room, the error appears right on start, not allowing the user to disable the low-bandwidth mode without the help of the console. I've been able to go to another room by setting |
Encryption is intentionally not supported in low bandwidth mode, which is why this is a labs flag. |
Why close this issue though? It should really not lock the entire app with an error page asking for a bug report, without allowing the user to disable that mode. Furthermore, what is the rationale for disabling E2EE in low bandwidth mode? |
e2ee key negotiation uses a lot of bandwidth.
Because its in Labs and this is expected behaviour |
The low bandwidth option is meant to be paired with specific infrastructure. When you're not using that infrastructure, it has minimal value. |
I am encountering this exact error, since there was no indication in the Labs setting that it was not compatible with E2EE. Have not yet figured out how to "reset" since Element takes me directly to the "Something went wrong" page without any way to change this. Suggestions:
|
Description
On one of my device, a previously working Riot desktop session broke. Edit: after enabling low-bandwidth mode and trying to view an encrypted room
On 1.4.1, nothing but a blank screen appears when launching the app.
After upgrading to 1.4.2, nothing but a "Something went wrong" screen (probably the one added in #11009) appears.
Clearing the cache and reloading the app has no effect.
Oddly enough, the tray indicators works and displays the unread message count.
The Electron developper console shows a few exceptions in the log snippet that follows.
The last exception is a rendering issue that might be the cause of the problem.
Console log snippet
Steps to reproduce
Launch the Riot desktop app.Get unlucky.Experience frustration.See #11138 (comment)
Version information
The text was updated successfully, but these errors were encountered: