404? NOT serving HTTPS · coder/code-server · Discussion #4884

Discussion options

您好,当我在树莓派4B上运行code-server,并在浏览器上输入地址的时候返回的是404,我认为是NOT serving HTTPS的问题,但是我并不是该领域的研究人员,大家有什么解决办法吗
q1
q2

You must be logged in to vote
Comment options

Hmm...I'm not sure why it's 404ing on your Pi. Is it installed with yarn/npm?

Are there any logs in the browser console? (Inspect > Console)

You must be logged in to vote

0 replies

Comment options

您好,当我在树莓派4B上运行code-server,并在浏览器上输入地址的时候返回的是404,我认为是NOT serving HTTPS的问题,但是我并不是该领域的研究人员,大家有什么解决办法吗 q1 q2

这个好像是你不指定code-server的证书不开启https就显示这个NOT serving HTTPS. 访问一下127.0.0.1:8189试一下?

You must be logged in to vote

5 replies

@jsjoeio

Comment options

Can you translate your message to English? Then other folks might be able to help as well

@WeAreAllLonlyGhost

Comment options

same problem.
use code-server -vvv to start it ,then access code-server,you will see some logs.

@jsjoeio

Comment options

@Senthie

Comment options

I tried using 127.0.0.1:8189, but still 404,I don't know if code-server -vvvv works right. I didn't find any useful information in the browser log file (maybe I don't know how to use it), code-server is installed with yam, I remember there is a version of arml7, but it doesn't work on rpi4B

@jsjoeio

Comment options

Can you try installing the beta version with yarn global add code-server@beta and trying that?

Comment options

I have encountered same issue, and after I use the beta version and use code-server -vvv to start it, I see the log below:

It said "Extension VSIX downlads cache dir does not exist".

image

You must be logged in to vote

3 replies

@jsjoeio

Comment options

Can you try upgrading to 4.1.0 to see if the issue is resolved?

@VincentWTS

Comment options

It is resolved in 4.1.0. Thanks a lot!!

@jsjoeio

Comment options

Hooray!!!! Thanks for confirming. Happy coding!