-
Feature Request
-
Resolution: Unresolved
-
Major
-
3.15.0.GA
-
False
-
None
-
False
-
-
When a proxy is configured for OpenShift, nonProxyHosts can be provided for Dev Spaces in the CheCluster CR. For example, to bypass the proxy for localhost:
spec:
components:
cheServer:
proxy:
nonProxyHosts:
- "localhost"
In some proxy configurations, it localhost may not translate to 127.0.0.1.
The problem is that the VS Code workspace idler for Dev Spaces depends on making HTTP requests to 127.0.0.1 [1]. If localhost does not translate to 127.0.0.1, the proxy may block the idler's requests, and therefore prematurely shutting down workspaces that users are using.
Updating the docs [2] for nonProxyHosts to mention the distinction between localhost and 127.0.0.1 would help avoid this problem.