Skip to content

Error loading over HTTPS with HSTS #229

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

Closed
rkeene opened this issue Mar 13, 2019 · 3 comments
Closed

Error loading over HTTPS with HSTS #229

rkeene opened this issue Mar 13, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@rkeene
Copy link

rkeene commented Mar 13, 2019

  • code-server version: v1.32.0-245
  • OS Version: Slackware64 v14.2

Description

INFO  Loading IDE
webpack-internal:///./packages/logger/out/main.js:1  INFO  Starting socket [1/5]...
__webpack_hmr:1 Failed to load resource: the server responded with a status of 404 (Not Found)
webpack-internal:///./packages/logger/out/main.js:1  INFO  Connected to socket
webpack-internal:///./packages/logger/out/main.js:1  INFO  Start workbench
webpack-internal:///./packages/logger/out/main.js:1  ERROR  Failed "Start workbench" duration=948ms
webpack-internal:///./packages/logger/out/main.js:1  ERROR  [UriError]: Scheme contains illegal characters.
webpack-internal:///./packages/logger/out/main.js:1  WARN  Load completed with errors duration=1274ms
The resource https://rkeene.dev:8443/0-17fd0b.bundle.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
4__webpack_hmr:1 GET https://rkeene.dev:8443/__webpack_hmr 404 (Not Found)

Steps to Reproduce

  1. Start code-server with a TLS server certificate key
  2. Attach to the session with a web browser (Chrome) via a ".dev" domain (or any other site that is HTTPS-only via HSTS)
  3. Get a blank dark-grey screen
  4. Look at the JS Console
  5. See a bunch of errors
  6. Wish it had worked
@rkeene rkeene added the bug Something isn't working label Mar 13, 2019
@cjoshmartin
Copy link

I getting this error as well
Screenshot 2019-03-14 16 59 41

@cjoshmartin
Copy link

I found an issue referring to this problem in #141

@kylecarbs
Copy link
Member

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants