-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extension file not found when code-server serve-local #7163
Comments
Have you solved this problem? |
no, sir |
I think we're on the wrong track here. There is no need to use nginx as a proxy. Just run code-server serve-local --host 192.168.1.xxx (server address) |
This solved the problem. Everything tested out fine with the code-server. But I'm still wondering how nginx would cause this internal path-finding problem. It'll be really nice if you could provide some thoughts sir |
I'm still confused with this problem. If I use http to access vscode-server, it will be fine.But if I use https file not found error will occur.
the correct file path is
I don't know why |
This is full logs.
|
According to this youtube video, I noticed that the code-server need the reverse proxy to support web socket. @Az0s
|
Remote Extension/Connection Type: Server
Remote Server: Debian 11.0
Running local code server via
code-server serve-local
when encountered:File not found: /home/azus/.vscode-cli/server-stable-web/bin/784b0177c56c607789f9638da7b6bf3230d47a8c/extensions/git-base/dist/browser/extension.js
On the browser read:
WebSocket close with status code 1006
, get 404 not found while gethttp://server:port/stable-784b0177c56c607789f9638da7b6bf3230d47a8c/static/extensions/git-base/dist/browser/extension.js
Full error report:
Extra info on the missing files:
I assumed its a broken installation and tried to deleted the whole
/home/azus/.vscode-cli/server-stable-web/bin/784b0177c56c607789f9638da7b6bf3230d47a8c
dir but the error remains.Steps to Reproduce:
code-server serve-local
The text was updated successfully, but these errors were encountered: