Closed jsjoeio closed 3 years ago
@nodesocket do you mind providing the following information so I can update the issue?
## OS/Web Information
- Web Browser: Chrome 89.0.4389.90/Firefox 87.0
- Local OS:
- Remote OS:
- Remote Architecture:
- `code-server --version`:
## Steps to Reproduce
1.
2.
3.
code-server --version
:coder@code-server-6784d969bd-8w6rb:~$ code-server --version
3.9.2 109d2ce3247869eaeab67aa7e5423503ec9eb859
WebSocket close with status code 1006
@bpmct I know you're a Kubernetes guru so if you have any interest in helping with this one, let us know!
@nodesocket are you using the helm chart?
@bpmct correct, using https://github.com/cdr/code-server/tree/main/ci/helm-chart. I think the problem is not related to Kubernetes, Helm, or Docker, but the code-server
files itself. See https://github.com/cdr/code-server/issues/2975#issuecomment-813567492
@bpmct I just started from scratch.
helm delete code-server --purge
kubectl delete secret code-server
And re-installed (after confirming it freshly created a new volume). To my surprise, I am having the same exact error and issue as above. I think something is actually broken in the 3.9.2
source code build.
Logs from the pod:
kube-master - ubuntu ➜ code-server git:(master) kubectl logs code-server-6784d969bd-xhdnx
[2021-04-08T04:24:46.071Z] info Wrote default config file to ~/.config/code-server/config.yaml
[2021-04-08T04:24:47.171Z] info code-server 3.9.2 109d2ce3247869eaeab67aa7e5423503ec9eb859
[2021-04-08T04:24:47.175Z] info Using user-data-dir ~/.local/share/code-server
[2021-04-08T04:24:47.220Z] info Using config file ~/.config/code-server/config.yaml
[2021-04-08T04:24:47.221Z] info HTTP server listening on http://0.0.0.0:8080
[2021-04-08T04:24:47.221Z] info - Authentication is enabled
[2021-04-08T04:24:47.221Z] info - Using password from $PASSWORD
[2021-04-08T04:24:47.221Z] info - Not serving HTTPS
[2021-04-08T04:25:40.751Z] error vscode Handshake timed out {"token":"dd253ab0-a995-4553-bc8b-77e1e918de2a"}
[2021-04-08T04:25:40.813Z] error vscode Handshake timed out {"token":"a9ceccab-e430-41dc-b07f-e1fa344df277"}
[2021-04-08T04:25:43.419Z] error vscode Handshake timed out {"token":"dc5aaa15-6932-4098-9618-9fffa54088ab"}
[2021-04-08T04:25:43.459Z] error vscode Handshake timed out {"token":"1c944433-dceb-418c-8120-a4efd857e1a9"}
[2021-04-08T04:25:48.414Z] error vscode Handshake timed out {"token":"c618d263-5497-4469-ab1c-fb38016d418c"}
[2021-04-08T04:25:48.538Z] error vscode Handshake timed out {"token":"60fd2509-ff77-421a-8664-94659b6e9a8c"}
[2021-04-08T04:28:36.995Z] error vscode Handshake timed out {"token":"9edb7201-e2b2-41c3-bf52-71a6e08bfaad"}
[2021-04-08T04:28:37.132Z] error vscode Handshake timed out {"token":"9d969550-c2e4-4ea5-97a9-81e52b3aa4c2"}
[2021-04-08T04:28:40.228Z] error vscode Handshake timed out {"token":"78dc08c2-5df2-46e1-ada5-b7b573034fb0"}
[2021-04-08T04:28:40.387Z] error vscode Handshake timed out {"token":"aca5f708-f6a7-400e-b806-96debe9f6bc0"}
[2021-04-08T04:30:45.567Z] error vscode Handshake timed out {"token":"9e8afe00-5a58-4065-bf65-cce326fb930d"}
[2021-04-08T04:30:45.721Z] error vscode Handshake timed out {"token":"65da0171-9565-4f3e-aaa1-977b798d8eb0"}
[2021-04-08T04:30:48.921Z] error vscode Handshake timed out {"token":"ac0ca772-3c91-44af-bdfa-7f3b33e90175"}
[2021-04-08T04:30:49.027Z] error vscode Handshake timed out {"token":"52ccf475-ac7a-4282-b1ac-56d4fea140f2"}
[2021-04-08T04:30:49.974Z] error vscode Handshake timed out {"token":"8fd1ef4e-e6e2-43bd-b777-20c1d75b63d9"}
[2021-04-08T04:30:50.058Z] error vscode Handshake timed out {"token":"9e15b49a-e3e3-4328-9a25-6af3acc792a1"}
if you change the image to 3.9.1 in the helm chart do you still run into these issues?
I have the same issue with 3.9.2.
I can't downgrade to 3.9.1 because is not available on homebrew.
@yamajik you can uninstall with homebrew:
brew uninstall code-server
and reinstall with yarn/npm:
yarn global add code-server@3.9.1
npm i -g code-server@3.9.1
@bpmct just upgrade my Helm chart to use 3.9.3
and did a Helm upgrade and things are working now. So, it appears the fix added in 3.9.3
fixed the issue.
Awesome! Thanks for checking and letting us know. Going to close this for now. Feel free to open a new issue or post in the v3.9.3 Discussion if you see anything funky.
Reporting on behalf of @nodesocket
OS/Web Information
code-server --version
: 3.9.2Steps to Reproduce
WebSocket close with status code 1006
Expected
code-server
3.9.2
should workActual
Screenshot
Related
This issue can be reproduced in VS Code: Yes/No