element-web icon indicating copy to clipboard operation
element-web copied to clipboard

Session restore failed due to failure when migrating from legacy crypto

Open BuZZ-dEE opened this issue 1 year ago • 2 comments

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

BuZZ-dEE avatar Jul 30 '24 11:07 BuZZ-dEE

Duplicate of https://github.com/element-hq/element-desktop/issues/1816

t3chguy avatar Jul 30 '24 11:07 t3chguy

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 avatar Jul 30 '24 13:07 richvdh

I haven't seen any reports of this in the last year, so let's close it.

richvdh avatar Oct 28 '25 11:10 richvdh