-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Can't Sign-In to Zed: HTTP error: 400 Bad Request (KDE) #25649
Comments
Is this happening when you are attempting to:
Logging into Zed is with your GitHub login is distinct from authorizing Zed as a device for Copilot. They are entirely distinct authorization flows (e.g they can be logged into distinct accounts and have independent login/logout state) |
I can confirm this is happening to me as well on v0.174.6 and v0.175.5. This is at least for me specifically for logging into Zed. I have not tried logging into Github Copilot. This is on fedora 41, KDE Plasma 6.3.1 Building v0.173.11 right now, will update below. |
Alright did some more testing, this seems to be an issue in oo7/Kwallet. I haven't been able to figure out which of the two. Check KWalletManager and check if there's a key under Secret Service > Binary Data > zed-github-account If it isn't there you can try the following:
This worked for me at least, YMMV. |
This: login into Zed (upper right hand corner)
No key there:
Everything worked until the previous step, but no key added at this point, and Zed asks to login every time it is open. If I leave "Use KWallet for the Secret Service interface" unset, zed login survives a restart, so... "fixed". |
If you disable KWallet's SS interface it won't write a permanent key for login, so it's a solution. Though any other application won't be able to use KWallet either, so it's not a perfect solution. After re-enabling the "Use KWallet for the Secret Service interface" setting, could you also enable "Prompt when an application accesses a wallet" under the Access Control tab. Then kill KWallet6d again and follow the steps after re-enabling the setting? It should prompt you for access when opening the keyring with KWalletManager and Zed. |
Summary
I'm unable to sign-in, meaning I'm unable to use GH Copilot.
Steps to trigger the problem:
Actual Behavior:
I get this error:
Expected Behavior:
for it to... sign in.
The issue seems to be here:
Full log: Zed.log
Zed Version and System Specs
Zed: v0.174.8 (Zed)
OS: Linux Wayland neon 24.04
Memory: 30.7 GiB
Architecture: x86_64
GPU: AMD Radeon 780M (RADV GFX1103_R1) || radv || Mesa 24.2.8-1ubuntu1~24.04.1
The text was updated successfully, but these errors were encountered: