Skip to content
\n

and an nginx reverse proxy in a different container redirecting there:

\n
server{\n        server_name subdomain.domain.tld;\n        location /{\n                proxy_pass http://x.y.z.w:8080/;\n                proxy_set_header Host $http_host;\n                proxy_set_header Upgrade $http_upgrade;\n                proxy_set_header Connection upgrade;\n                proxy_set_header Accept-Encoding gzip;\n        }\n\n\n    listen 443 ssl; # managed by Certbot\n    # ...\n
\n

This worked for a bit, but after changing the password for code-server, I am now experiencing a login-loop where entering a correct password drops me into the same login screen again with no feedback in either the web interface nor stdout . Incorrect password entries are detected and reported.

\n

It does work when I access via local IP.

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Upon further investigation, this seems to be an issue with local browser data. I had tried with both firefox and chromium and the issue persisted when just clearing cache. After having success from a different machine, I tried deleting all browser data for that site, which worked on both browsers.

\n

The problem is therefore resolved for me.

","upvoteCount":1,"url":"https://github.com/coder/code-server/discussions/6635#discussioncomment-8274257"}}}

Login loop when going through https #6635

Closed Answered by fabmene
fabmene asked this question in Q&A
Discussion options

You must be logged in to vote

Upon further investigation, this seems to be an issue with local browser data. I had tried with both firefox and chromium and the issue persisted when just clearing cache. After having success from a different machine, I tried deleting all browser data for that site, which worked on both browsers.

The problem is therefore resolved for me.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fabmene
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant