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

Unable to restore session after upgrade #27941

Closed
tim-seoss opened this issue Aug 22, 2024 · 1 comment
Closed

Unable to restore session after upgrade #27941

tim-seoss opened this issue Aug 22, 2024 · 1 comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust A-Storage Storage layer of the app, including IndexedDB, local storage, etc. 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

@tim-seoss
Copy link

Steps to reproduce

Updated via Debian package update element-desktop:amd64 version 1.11.71 to 1.11.74.

We encountered an error trying to restore your previous session.

If you have previously used a more recent version of Element, your session may be incompatible with this version. Close this window and return to the more recent version.

Clearing your browser's storage may fix the problem, but will sign you out and cause any encrypted chat history to become unreadable.

Outcome

What did you expect?

Normal startup

What happened instead?

Failed to start

Operating system

Debian 12 amd64

Application version

1.11.74

How did you install the app?

Debian package - https://packages.element.io/debian/

Homeserver

matrix.org

Will you send logs?

Yes

@dosubot dosubot bot added A-Element-R Issues affecting the port of Element's crypto layer to Rust A-Storage Storage layer of the app, including IndexedDB, local storage, etc. 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 labels Aug 22, 2024
@richvdh
Copy link
Member

richvdh commented Aug 22, 2024

Logs contain:

2024-08-22T09:27:09.587Z E Expected a pickle key, but none provided.  Encryption may not work.
...
2024-08-22T09:27:13.006Z E Unable to load session invalid type: sequence, expected a string at line 1 column 0
Error: invalid type: sequence, expected a string at line 1 column 0
    at A.exports.__wbindgen_error_new (vector://vector/webapp/bundles/b3e2705564f4b981444b/7490.js:1:106731)
    at matrix_sdk_crypto_wasm.wasm.<wasm_bindgen::JsError as core::convert::From<E>>::from::h1ae9b13139e15527 (wasm://wasm/matrix_sdk_crypto_wasm.wasm-017a72fa:wasm-function[2354]:0x2ad509)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::future_to_promise::{{closure}}::{{closure}}::hd03fc43b14ec8138 (wasm://wasm/matrix_sdk_crypto_wasm.wasm-017a72fa:wasm-function[616]:0x135ed0)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen_futures::queue::Queue::new::{{closure}}::hee45b573e253a33d (wasm://wasm/matrix_sdk_crypto_wasm.wasm-017a72fa:wasm-function[7405]:0x39ad24)
    at matrix_sdk_crypto_wasm.wasm.wasm_bindgen::convert::closures::invoke1_mut::hd6ac503cc1b2bedc (wasm://wasm/matrix_sdk_crypto_wasm.wasm-017a72fa:wasm-function[8645]:0x3ac97a)
    at L (vector://vector/webapp/bundles/b3e2705564f4b981444b/7490.js:1:3400)
    at E (vector://vector/webapp/bundles/b3e2705564f4b981444b/7490.js:1:2422)

Duplicate of element-hq/element-desktop#1816

@richvdh richvdh closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Element-R Issues affecting the port of Element's crypto layer to Rust A-Storage Storage layer of the app, including IndexedDB, local storage, etc. 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

2 participants