Closed alvin0530 closed 3 weeks ago
How are you starting code-server?
I follow the instruction below
curl -fOL https://github.com/coder/code-server/releases/download/v4.6.0/code-server_4.6.0_amd64.deb sudo dpkg -i code-server_4.6.0_amd64.deb sudo systemctl enable --now code-server@$USER
https://coder.com/docs/code-server/latest/guide#using-lets-encrypt-with-nginx
I'd just update code-server to 4.6.0 and restart it.
But it doesn't work.
Can you share the contents of config.yaml
? (make sure to redact the password)
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?
Closing as stale but feel free to comment if you come back to this.
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.5.1Steps to Reproduce
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?
Are you accessing code-server over HTTPS?
Notes
No response