zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.07k stars 3.07k forks source link

Latest Version does not allows me to login #18110

Open xcrap opened 1 month ago

xcrap commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Since today I can't login in my account.

Environment

Zed: v0.153.6 (Zed) OS: macOS 15.0.0 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screenshot 2024-09-20 at 00 43 32

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

2024-09-20T00:41:15.510127Z [WARN] unhandled message: ActiveRepo(SupermavenActiveRepoMessage { repo_simple_name: None })
2024-09-20T00:41:33.931418Z [INFO] set status on client 98447: ConnectionError
2024-09-20T00:41:33.948578Z [ERROR] timed out trying to establish connection
2024-09-20T00:41:34.900619Z [WARN] request completed with error: failed to connect to the server
2024-09-20T00:41:34.914957Z [INFO] Opening main db
2024-09-20T00:41:39.698411Z [INFO] set status on client 98447: Reauthenticating
2024-09-20T00:41:39.715738Z [INFO] set status on client 98447: Reconnecting
2024-09-20T00:41:59.768336Z [INFO] set status on client 98447: ConnectionError
2024-09-20T00:41:59.769612Z [ERROR] timed out trying to establish connection

xcrap commented 1 month ago

It's working again.

xcrap commented 1 month ago

I'm reopening this, it's happening a lot of times, sometimes he logs in but a lot of times when i open Zed he does not let me sign in and I have a lot of connection errors, maybe some hours later it works, then again the same issue like I'm having just now that I can't even sign in. This was in the latest update I never had this issues before.

spenat28 commented 2 weeks ago

It's happening to me all the time, and after couple minutes it does work again ...

MacOS, last version Zed ...

spenat28 commented 2 weeks ago

Looks like it's happening a lot. And seems as duplicate issues:

18117

16054

12913

9578

xcrap commented 2 weeks ago

Yes it keeps happening, sometimes closing and opening the editor works, sometimes not and I have to wait and restart, it's been like this for a few months now.

spenat28 commented 2 weeks ago

From what i saw, it may be connected to Zed update, since it does happen to me i think every time i boot Zed and it downloads new version and updates.

Some conflict/not releasing key associated with particular version? Wrong cleanup on destroy()? Something like that might be a culprit, but it's just a guess.

When i wait for error message AND restart Zed, i think it resolve that, so it might be this case, on Error, there maybe is revoking and cleanup of the session and than it gets new key and works again.

Again: just educated guess, i didn't have time to study it in code yet, since i am not Rust developer, it would take me more time to read the code.