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

Session restore failed due to failure when migrating from legacy crypto #27877

Open
BuZZ-dEE opened this issue Jul 30, 2024 · 2 comments
Open
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect

Comments

@BuZZ-dEE
Copy link

BuZZ-dEE commented Jul 30, 2024

Steps to reproduce

Only opened https://app.element.io/#/room/#thisweekinmatrix:matrix.org

Outcome

What did you expect?

To see my chats and rooms

What happened instead?

grafik

Operating system

Arch Linux

Browser information

Firefox 128.0.3 (64-Bit)

URL for webapp

app.element.io

Application version

No response

Homeserver

No response

Will you send logs?

Yes

@dosubot dosubot bot added O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Critical Prevents work, causes data loss and/or has no workaround labels Jul 30, 2024
@t3chguy
Copy link
Member

t3chguy commented Jul 30, 2024

Duplicate of element-hq/element-desktop#1816

@t3chguy t3chguy closed this as not planned Won't fix, can't repro, duplicate, stale Jul 30, 2024
@richvdh
Copy link
Member

richvdh commented Jul 30, 2024

Error message is:

2024-07-30T11:29:18.424Z D Migrating batch of 50 megolm sessions
2024-07-30T11:29:18.425Z E Unable to load session Failed decoding Curve25519 key from base64: Invalid number of bytes for Curve25519, expected 32, got 0.
./node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/index.js/A.exports.__wbindgen_error_new@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js:1:105187
matrix_sdk_crypto_wasm.wasm.<wasm_bindgen::JsError as core::convert::From<E>>::from::h44c786280bbf62b7@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js line 1 > WebAssembly.instantiate:wasm-function[2672]:0x2b24da
matrix_sdk_crypto_wasm.wasm.<core::iter::adapters::GenericShunt<I,R> as core::iter::traits::iterator::Iterator>::next::h0308c7132cef312c@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js line 1 > WebAssembly.instantiate:wasm-function[3250]:0x2e20c9
matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::future_to_promise::{{closure}}::{{closure}}::h0f29619810d23dda@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js line 1 > WebAssembly.instantiate:wasm-function[322]:0xaf80c
matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::queue::Queue::new::{{closure}}::h8ef579ea9b649d7d@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js line 1 > WebAssembly.instantiate:wasm-function[7248]:0x381963
matrix_sdk_crypto_wasm.wasm.wasm_bindgen::convert::closures::invoke1_mut::hd46bf1dda4ab89c1@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js line 1 > WebAssembly.instantiate:wasm-function[8453]:0x392f3e
p@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js:1:3400
E@https://app.element.io/bundles/acaf93297a5a35ea8349/7490.js:1:2422

Not a duplicate of element-hq/element-desktop#1816.

@richvdh richvdh reopened this Jul 30, 2024
@richvdh richvdh added O-Uncommon Most users are unlikely to come across this or unexpected workflow A-E2EE and removed O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience labels Aug 1, 2024
@richvdh richvdh changed the title Session restore failed Session restore failed due to failure when migrating from legacy crypto Aug 6, 2024
@richvdh richvdh added the A-Element-R Issues affecting the port of Element's crypto layer to Rust label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-E2EE A-Element-R Issues affecting the port of Element's crypto layer to Rust O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Critical Prevents work, causes data loss and/or has no workaround T-Defect
Projects
None yet
Development

No branches or pull requests

3 participants