Code-server: [UriError] Scheme contains illegal characters

Created on 17 Mar 2019  路  3Comments  路  Source: cdr/code-server


  • code-server version: Latest Docker: sha256:067d044e8d977e2149997421a3893dd51eaf037b21fc841955c6d378ab664bd6
  • OS Version

    • Server: Ubuntu Server 18.04.2 LTS

    • Client: MacOS 10.13.6 with Firefox 65.0.1 (x64) and Chrome 67.0.3396.99 (x64)

Description

Trying to access the IDE in Firefox results in a blank black screen and no IDE.

Steps to Reproduce

  1. Create new Docker instance with: docker run -t -p 0.0.0.0:8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http
  2. Access dockerip:8443 in Firefox
  3. Observe a blank black screen
  4. Access dockerip:8443 in Chrome
  5. Observe that the IDE loads just fine

Here's a screenshot of the console. My guess is that the code has some ES6 syntax that isn't being transpiled correctly to work with Firefox.

code-server-no-worky

stacktrace

And here's what it looks like in Chrome (works fine)

Screen Shot 2019-03-17 at 09 57 47

bug

Most helpful comment

You can remove the workspace key from localstorage to temp fix. We'll be pushing a fix soon!

All 3 comments

Also experiencing a 404 on __webpack_hmr like in #141 but I think that's unrelated.

You can remove the workspace key from localstorage to temp fix. We'll be pushing a fix soon!

You can remove the workspace key from localstorage to temp fix. We'll be pushing a fix soon!

Thanks for the temp fix. Worked like a charm! I'll make sure to re-create the container once the fix is pushed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lshamis picture lshamis  路  3Comments

KSXGitHub picture KSXGitHub  路  3Comments

phoenixsfly picture phoenixsfly  路  3Comments

justmao945 picture justmao945  路  3Comments

pchecinski picture pchecinski  路  3Comments