Closed sfarkya closed 2 years ago
@aeschli Any idea? The server (or server script) outputs Error from server:
without additional details and then exits with code 1.
Please let me know if you need any logs or details from my side to resolve this issue. Thanks for helping!
Sorry, no idea. Can you manually run the start server command from a terminal?
Not sure how to do that in a Kubernetes pod?
@sfarkya kubectl exec -it qed-pod-1 --context cvt --namespace bitnet --container qed-pod-1 -- /bin/bash
(or similar) should give you a shell. In there try running (this assumes the server was installed by a previous attempt to connect with VS Code):
cd '/root/.vscode-server/bin/da15b6fd3ef856477bf6f4fb29ba1b7af717770d'
./bin/code-server '--log' 'debug' '--force-disable-user-env' '--server-data-dir' '/root/.vscode-server' '--use-host-proxy' '--telemetry-level' 'all' '--accept-server-license-terms' '--host' '127.0.0.1' '--port' '0' '--connection-token-file' '/root/.vscode-server/data/Machine/.connection-token-da15b6fd3ef856477bf6f4fb29ba1b7af717770d' '--extensions-download-dir' '/root/.vscode-server/extensionsCache' '--start-server' '--disable-websocket-compression'
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
I have been trying to attach a Kubernetes pod to VSCode but it's unable to attach. Not sure if there's a problem with the version of Remote Containers?
Here's the connection log:
Here's the screenshot of the connection:
New to VSCode, it was working until two days ago, and not sure what changed.