code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Unable to login with 3.1.0

Open gregoryvanko opened this issue 6 years ago • 4 comments

with the new version of code-server (3.1.0). it is not possible to login. Javascript error on chrome browser:

DevTools failed to parse SourceMap: https://code.aaa.com/static/5aded14b87e017d32d080b686515f6a26be455f1/dist/app.css.map

Could you help me Thank you

gregoryvanko avatar Apr 14 '20 12:04 gregoryvanko

cc: @code-asher

kylecarbs avatar Apr 14 '20 14:04 kylecarbs

More info:

  • I can connect to code-server without auth (— auth none), but it is not a good practice...
  • same issue if a use a « generated code » to login to code-server (without — auth)

gregoryvanko avatar Apr 14 '20 14:04 gregoryvanko

Are you using a reverse proxy? If so, this might help: https://github.com/cdr/code-server/issues/1507#issuecomment-613102477

code-asher avatar Apr 14 '20 15:04 code-asher

Yes, and the solution works proxy_set_header Host $host;

Thank you :-)

gregoryvanko avatar Apr 14 '20 16:04 gregoryvanko