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

Failed to initialize the store cipher #1

Closed
jlxq0 opened this issue Sep 13, 2024 · 1 comment
Closed

Failed to initialize the store cipher #1

jlxq0 opened this issue Sep 13, 2024 · 1 comment

Comments

@jlxq0
Copy link

jlxq0 commented Sep 13, 2024

I'm just trying to connect the baibot to my own matrix instance and I'm stuck here:

> k logs pod/ksc-matrix-baibot-67c875cb4f-rvpp6                                                                                                                                                                              
2024-09-13T10:46:06.921513Z  INFO ThreadId(01) mxlink::init: /cargo/registry/src/index.crates.io-6f17d22bba15001f/mxlink-1.0.0/src/init.rs:123: Creating a brand new client
Error: Error creating a new login session: Error building the client: Failed to initialize the store cipher

Any hints?

P.S.: Thank you for your awesome work!

@spantaleev
Copy link
Contributor

This is more of a symptom of a previous failed startup. When initialization fails (due to "incorrect login or password" or similar error), matrix-rust-sdk would leave behind some corrupt database and a "Failed to initialize the store cipher" would happen if it's tried to be reused.

mxlink can now auto-recover from similar trouble thanks to a fix done via etkecc/rust-mxlink@f339fc8.

The fix is part of the v1.0.3 (and :latest) release of baibot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants