gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
https://www.gitpod.io/
MIT License
4.99k stars 431 forks source link

Slow startup on kubernetes #501

Closed guilhem closed 1 year ago

guilhem commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. deploy on Kubernetes
Server bound to 0.0.0.0:8080 (IPv4)
Extension host agent listening on 8080

[14:53:34] 

Web UI available at http://localhost:8080/
[14:56:06] Extension host agent started.
[14:56:06] ptyHost was unable to resolve shell environment Error: Unable to resolve your shell environment in a reasonable time. Please review your shell configuration and restart.
    at Timeout.<anonymous> (/home/.openvscode-server/out/vs/server/node/server.main.js:96:2560)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
[14:56:08] Started initializing default profile extensions in extensions installation folder. file:///home/workspace/.openvscode-server/extensions
[14:56:09] Completed initializing default profile extensions in extensions installation folder. file:///home/workspace/.openvscode-server/extensions
[14:56:11] No ptyHost heartbeat after 6 seconds
[14:56:16] No ptyHost heartbeat after 12 seconds
guilhem commented 1 year ago

FTR, problem was with too much environment variables disabling enableServiceLinks “solved” the problem