-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
code-server not accessible without SSL (v4.97.2) #7219
Comments
i got same bug too |
Same. Reverting to 4.96.4 fixed it for me. |
|
Service workers (Using Service Workers - Web APIs | MDN) require code-server to be served via HTTPS to work properly. Cross reference: |
But why 4.96.4 doesn't require |
I access code-server via an ip address, so it can't be TLS encrypted, any solution to this besides downgrading to 4.96.4 ? |
@OliverwengFiltered No. Wait for the next release. This has been fixed upstream. Cross reference: |
Is there an existing issue for this?
OS/Web Information
code-server --version
: v4.97.2Steps to Reproduce
Expected
In the previous version (v4.96.4), code-server was accessible without SSL. Opening code-server over the browser shows the editor. Also, "/tmp/code-server.log" shows that a connection is successfully established:
Actual
v4.97.2 doesn't load the page.
/tmp/code-server.log
doesn't show any connection going through even though the connection to the browser seems successful via console inspection on the browser logs:Logs
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
code-server is being accessed securely in the browser through the Coder platform. This isn't a big issue for me, but I'm curious if being able to access it behind HTTP (not HTTPS) is expected? I do have TLS setup already, but was confused if this is expected behavior or not since accessing this in prior versions was fine even though it's suggested to have TLS enabled.
Otherwise, if this isn't expected, do you guys think its a problem with the Coder platform?
The text was updated successfully, but these errors were encountered: