-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Trouble running code-server on Digital Ocean kubernetes #1376
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
Comments
1006 means the websocket cannot connect. Are you using some sort of proxy that doesn't allow WebSockets to go through? |
Thank to respond @nhooyr, I am using Ingress Controller for proxy the trafic. And Cert-Manager to get SSL Certificate |
My YAML File
|
My YAML Exposes Ingress from a Load Balancer
|
I have solved the problem. In case someone has the same problem. In my Ingress.yaml I had to add an annotation to allow connections to websockets.
My YAML Ingress:
|
code-server
version:v2
Kubernetes DO 1.16.6-do.0
Description
I'm having trouble running code-server on Digital Ocean kubernetes. The problem seems to be with websokets. In the Javasript console I get this error: ERR [remote-connection] [Management] [ee9c0…] [initial] [p-lao.tk:80] socketFactory.connect () failed. Error: Error: WebSocket close with status code 1006
ERR Assertion Failed: argument is undefined or null: Error: Assertion Failed: argument is undefined or null
Please help me solve this error.
First of all, Thanks
My YAML File
The text was updated successfully, but these errors were encountered: