Skip to content

Unable to restore session #27666

Closed
matrix-org/matrix-js-sdk
#4298
@florianduros

Description

@florianduros

Steps to reproduce

Refreshed develop and went against:

image

Error in console

Warning! Not using an encryption key for rust crypto store.
...
Unable to load session Error: Error: invalid type: string "8", expected u64
    at module.exports.__wbindgen_error_new (index.js:9754:1)
    at matrix_sdk_crypto_wasm.wasm.<wasm_bindgen::JsError as core::convert::From<E>>::from::h8775e916ccaf4e7e (matrix_sdk_crypto_wasm.wasm-0173b296:0x2bbcb7)
    at matrix_sdk_crypto_wasm.wasm.matrix_sdk_crypto_wasm::machine::OlmMachine::init_helper::{{closure}}::h89bc52bc32d75063 (matrix_sdk_crypto_wasm.wasm-0173b296:0x3f5f6)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::future_to_promise::{{closure}}::{{closure}}::h7e45e671070e31cd (matrix_sdk_crypto_wasm.wasm-0173b296:0x1143f8)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::queue::Queue::new::{{closure}}::h8ef579ea9b649d7d (matrix_sdk_crypto_wasm.wasm-0173b296:0x39387d)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen::convert::closures::invoke1_mut::hd46bf1dda4ab89c1 (matrix_sdk_crypto_wasm.wasm-0173b296:0x3a319b)
    at __wbg_adapter_65 (index.js:278:1)
    at real (index.js:220:1)

Operating system

No response

Application version

develop

How did you install the app?

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-E2EEA-Element-RIssues affecting the port of Element's crypto layer to RustO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-Release-Blocker

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions