[Bug]: I cannot login to code-server, I copied the password on config.yaml but not work. Incorrect password
See original GitHub issueIs there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Chrome
- Local OS: Windows 11
- Remote OS: Ubuntu 20.04
- Remote Architecture:
code-server --version: 4.5.1- Nginx set up domain
Steps to Reproduce
- type in my domain
- login page
- enter password on config.yaml file and show Incorrect password
Expected
Login successfully
Actual
Incorrect password
Logs
trace child:1902 got message {“message”:{“type”:“handshake”,“args”:{“bind-addr”:“127.0.0.1:8080”,“auth”:“password”,“password”:“XXXXXXXX”,“config”:“/root/.config/code-server/config.yaml”,“verbose”:true,“user-data-dir”:“/root/.local/share/code-server”,“extensions-dir”:“/root/.local/share/code-server/extensions”,“log”:“trace”,“host”:“127.0.0.1”,“port”:8080,“proxy-domain”:[],“_”:[],“usingEnvPassword”:false,“usingEnvHashedPassword”:false}}}
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[Bug]: Hashed passwords not being read correctly · Issue #5127
I just noticed that this bug is being reported under coder/code-server. I was actually running linuxserver/code-server but the documentation for ...
Read more >Why i can't login to code-server on my Debian VM?
config/code-server/config.yaml i copy the password and put into the textbox, but when i try to login, it say's me: "Incorrect password". I ...
Read more >FAQ - code-server v4.8.0 docs - Coder
The default config defines the following behavior: Listen on the loopback IP port 8080; Enable password authorization; Do not use TLS.
Read more >Manage access tokens - Docker Documentation
Docker Hub lets you create personal access tokens as alternatives to your password. You can use tokens to access Hub images from the...
Read more >Home Assistant Community Add-on: Visual Studio Code
File access possible; The HomeAssistant VS Code Helper cannot connect to HASS and does show e.g. auto completion. Error is always: Error ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
bind-addr: 127.0.0.1:8080 auth: password password: password cert: false
Thanks! Hmm…if you access directly (no nginx) does it work as expected?