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

Every start of desktop app I need to log in again #227

Closed
DubbaThony opened this issue Jan 1, 2024 · 5 comments
Closed

Every start of desktop app I need to log in again #227

DubbaThony opened this issue Jan 1, 2024 · 5 comments

Comments

@DubbaThony
Copy link

Possibly related with #170

Whenever I open the app, it will show me "Connection to the server was lost" message (might not be literally, app is in my local language, this is translated back).
This happens consistently since I started using Schildi on windows. This does not happen on android version.
To make it work, I need to log out and log back in, do the setup with android (scanning qr) and wait for keys to sync.
After re-logging as long as I don't quit the app the connection stays up indefinitely (max tried 3 months, my system is fairly high uptime - therefore it doesn't look like exactly #170 but still might be related)

What's more, in that disconnected state, Im unable to enter settings -> about.

While in that state, in console it looks like it's calling the server without token and getting 401's, but actually it sends authorization header, but it's clearly wrong:
authorization: Bearer [object Object]

I looked deeper and it seems that when authedRequest() is called, it uses this.opts.accessToken for header.
This has actually value that looks like AES encrypted or something similar, it's object with ciphertext, iv and mac fields.

That's all I know.

Other context:
Version: SchildiChat: 1.11.30-sc.2 Olm version: 3.2.12
OS: Windows 10 (2021; 10.0.19044.3803)
This does not happen on Element (which I have side by side for different matrix server).

@nik2323
Copy link

nik2323 commented Jan 2, 2024

такая же проблема

@RazerStvH
Copy link

Same problem. I can use SchildiChat on Android and Linux, but i can't use it on Windows.

@TheStagnation
Copy link

Same problem.
Windows 10 Home
SchildiChat version: 1.11.36-sc.3
Olm version: 3.2.14

@su-ex
Copy link
Member

su-ex commented Sep 15, 2024

Duplicate of #170

@su-ex su-ex marked this as a duplicate of #170 Sep 15, 2024
@su-ex su-ex closed this as completed Sep 15, 2024
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

6 participants
@su-ex @DubbaThony @nik2323 @RazerStvH @TheStagnation and others