Coder Social home page Coder Social logo

Comments (4)

cypressf avatar cypressf commented on July 24, 2024

I'm seeing something similar. The logs show:

Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.236Z] info  code-server 3.12.0 b37ff28a0a582aee84a8f961755d0cb40a4081db
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.241Z] info  Using user-data-dir ~/.local/share/code-server
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.262Z] info  Using config file ~/.config/code-server/config.yaml
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.262Z] info  HTTP server listening on http://127.0.0.1:40747 (randomized by --link)
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.262Z] info    - Authentication is disabled (disabled by --link)
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.263Z] info    - Not serving HTTPS (disabled by --link)
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.714Z] info  Detected an acceptable latency of 55ms
Oct 15 16:18:56 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:18:56.808Z] info  visit https://github.com/login/oauth/authorize?client_id=<redacted>&response_type=code&scope=read%3Auser+user%3Aemail&state=<redacted> to login
Oct 15 16:20:36 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:20:36.758Z] info  Failed to login: unable to login: read session token: read msg: failed to read JSON message: failed to get reader: failed to read frame header: EOF
Oct 15 16:20:36 ip-172-31-26-142 code-server[1641]: [2021-10-15T16:20:36.761Z] error --link agent exited with 1
Oct 15 16:20:36 ip-172-31-26-142 systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:20:36 ip-172-31-26-142 systemd[1]: [email protected]: Failed with result 'exit-code'.

The HTTP server sends this to my browser

An internal server error occurred

If you would like to talk to a developer, drop a message in our slack channel with the following id 6169abef-90615475cc47f13a3a27098b

But the slack channel requires sign-in, and I don't have an account with it.

from deploy-code-server.

letoast avatar letoast commented on July 24, 2024

Same problem here

from deploy-code-server.

fdervisi avatar fdervisi commented on July 24, 2024

here as well, any solution on this? Sometimes it works, sometimes fails

from deploy-code-server.

bpmct avatar bpmct commented on July 24, 2024

Hi - sorry for the late response, I have not been active on this project.

Unfortunately, we cannot guarantee reliability with our --link service anymore. I have added a note to our VM guide to specify this. For now, we'd recommend using our guide to configure Caddy/LetsEncrypt on code-server: https://coder.com/docs/code-server/latest/guide#using-lets-encrypt-with-caddy

from deploy-code-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.