question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auth redirect does not work under cloudflare universal SSL

See original GitHub issue
  • code-server version: 1.0.0
  • OS Version: Debian 9, using docker

Steps to Reproduce

  1. Setup Cloudflare with universal SSL ( Which basically turns on their proxy service )
  2. That’s it. The auth redirect somehow does not work! Doesn’t matter what password I use, it just redirects to the same login page, with no useful indication in either client or server console

If I either drop down Cloudflare SSL and use plain HTTP, or disable auth and directly run with --no-auth option, both work just fine…

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
kylecarbscommented, Mar 8, 2019

We use the same filenames in both the authed and unauthed bundle so your browser is caching them. This will be fixed soon!

1reaction
ICEFIRcommented, Mar 8, 2019

Great! Was thinking about using .htpasswd as well, but I guess now I just need to wait a bit 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auth redirect does not work under cloudflare universal SSL #93
I'm not using the docker image, but I am running the code-server through CloudFlare with SSL set to Full (Strict) , Universal SSL...
Read more >
ERR_TOO_MANY_REDIRECTS · Cloudflare SSL/TLS docs
To solve this issue, remove HTTPS redirects from your origin server and make sure your domain's encryption mode is Flexible or higher.
Read more >
Troubleshooting SSL errors – Cloudflare Help Center
Troubleshoot common SSL errors observed when browsing to a domain proxied through Cloudflare. Overview Redirect loop errors or HTTP 525...
Read more >
SSL FAQ – Cloudflare Help Center
Find answers to common questions about the Cloudflare SSL/TLS app. I have multiple Cloudflare certificates, which one is used? Will...
Read more >
302 redirect doesn't work - Security - Cloudflare Community
I want to set up a domain redirect without a server, but the redirect does not work.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found