che icon indicating copy to clipboard operation
che copied to clipboard

Activating extension 'eclipse-che.port' failed: ENOENT: no such file or directory, open '/proc/net/tcp6'.

Open vnfjjimenez opened this issue 2 months ago • 1 comments

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

  1. 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

Image Image

Installation method

OperatorHub

Environment

Linux

Eclipse Che Logs


Additional context

No response

vnfjjimenez avatar Oct 16 '25 10:10 vnfjjimenez

@RomanNikitenko FYI

svor avatar Oct 16 '25 18:10 svor