coder / code-server

VS Code in the browser
https://coder.com
MIT License
68.45k stars 5.61k forks source link

Cannot access to my code-server IDE via --link #3960

Closed katsie03 closed 3 years ago

katsie03 commented 3 years ago

OS/Web Information

Hello There. I couldn't be bothered singing up to slack but I am pretty sure this is a bug.

I am having issues connecting to my Code Server via the --link function. After authorising on GitHub it redirects me to [vpsname].cdr.co with the error below. image

Even though code-server --link is running within terminal. Which is interesting, I initially though it was a port block or something so I enabled 8080, 80 and 443, this did not help.

image

Is this a mistake on my side? I cannot seem to locate the issue. Thanks

jsjoeio commented 3 years ago

This isn't a bug AFAICT.

You can pass a string after --link to change the host name. Example:

code-server --link guacamole
# Starts code-server on https://guacamole-jsjoeio.cdr.co

https://user-images.githubusercontent.com/3806031/129100623-d49b5510-dd50-4e6d-91bc-ab6c1e30ff0d.mov

I couldn't be bothered singing up to slack but I am pretty sure this is a bug.

No worries at all - you can always open up a Q&A Discussion and if it turns out to be a bug, then you can open a bug report.

I wonder if it's your VPS? Do you mind updating your description with repro steps? I am happy to try using a similar VPS locally to see if I can reproduce it

katsie03 commented 3 years ago

Hey. Here are my specs to my VPS within the image below for further reference. image

I tried your steps as well passing a string after --link which is included within the screen recording down below. Hope this helps!

https://user-images.githubusercontent.com/50741678/129110649-8b99960a-7c69-4db5-a813-1ea38c8799a0.mp4