che
che copied to clipboard
Activating extension 'eclipse-che.port' failed: ENOENT: no such file or directory, open '/proc/net/tcp6'.
Describe the bug
Endpoints do not load when the operating system has IPv6 disabled. This is the error that appears: "Activating extension 'eclipse-che.port' failed: ENOENT: no such file or directory, open '/proc/net/tcp6'."
I include the two references to the source code where I believe the error is:
https://github.com/che-incubator/che-code/blob/main/code/extensions/che-port/src/port-scanner.ts#L59
https://github.com/che-incubator/che-code/blob/main/code/src/vs/workbench/api/node/extHostTunnelService.ts#L255
Che version
7.110@latest
Steps to reproduce
- Load with ipv6 disable or folder /proc/net/tcp6 not exists
Expected behavior
The editor should work correctly if the operating system works only in IPv4 or IPv6.
Runtime
Kubernetes (vanilla)
Screenshots
Installation method
OperatorHub
Environment
Linux
Eclipse Che Logs
Additional context
No response
@RomanNikitenko FYI