Skip to content

[Bug]: app/router: Unables to find local process name: common/net: connection for 127.0.0.1:36702 not found in /proc/net/tcp #9755

Description

@ALLLLLL703

操作系统 / v2rayN / Core 版本

Archlinux / newest/ newest

预期情况

应当连接上梯子

实际情况

无法找到端口在 /proc/net/tcp 只有最新版本有此问题

复现方法

打开tun

软件日志

2026-07-15 14:42:56.0534-INFO v2rayN start up | v2rayN - V7.23.4 - X64 | /opt/v2rayn-bin/ | /opt/v2rayn-bin/v2rayN | Unix 7.1.3.1
2026-07-15 14:42:56.1327-INFO MigrateProfileExtraGroup: No items to migrate.
2026-07-15 14:42:56.9490-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/AmazTool
2026-07-15 14:42:56.9560-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:42:56.9569-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:42:56.9792-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/AmazTool' 的权限: 不允许的操作
2026-07-15 14:42:56.9803-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:42:56.9803-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#88330) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/AmazTool"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:42:56.9812-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/xray/xray
2026-07-15 14:42:56.9812-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:42:56.9812-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:42:57.0462-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/xray/xray' 的权限: 不允许的操作
2026-07-15 14:42:57.0462-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:42:57.0462-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#88331) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/xray/xray"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:42:57.0462-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/mihomo/mihomo
2026-07-15 14:42:57.0462-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:42:57.0462-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:42:57.0539-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/mihomo/mihomo' 的权限: 不允许的操作
2026-07-15 14:42:57.0539-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:42:57.0539-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#88332) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/mihomo/mihomo"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:42:57.0539-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/sing_box/sing-box
2026-07-15 14:42:57.0539-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:42:57.0539-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:42:57.0665-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/sing_box/sing-box' 的权限: 不允许的操作
2026-07-15 14:42:57.0665-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:42:57.0665-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#88333) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/sing_box/sing-box"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:42:57.0703-INFO Setup Scheduled Tasks
2026-07-15 14:43:03.0069-INFO Successfully set the file execution permission, /opt/v2rayn-bin/binConfigs/run_as_sudo.sh
2026-07-15 14:43:39.0024-INFO Successfully set the file execution permission, /opt/v2rayn-bin/binConfigs/kill_as_sudo.sh
2026-07-15 14:44:33.3598-INFO v2rayN start up | v2rayN - V7.23.4 - X64 | /opt/v2rayn-bin/ | /opt/v2rayn-bin/v2rayN | Unix 7.1.3.1
2026-07-15 14:44:33.4340-INFO MigrateProfileExtraGroup: No items to migrate.
2026-07-15 14:44:34.2160-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/AmazTool
2026-07-15 14:44:34.2210-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:44:34.2210-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:44:34.2318-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/AmazTool' 的权限: 不允许的操作
2026-07-15 14:44:34.2339-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:44:34.2339-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#89787) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/AmazTool"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:44:34.2349-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/xray/xray
2026-07-15 14:44:34.2349-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:44:34.2349-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:44:34.3019-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/xray/xray' 的权限: 不允许的操作
2026-07-15 14:44:34.3019-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:44:34.3019-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#89788) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/xray/xray"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:44:34.3019-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/mihomo/mihomo
2026-07-15 14:44:34.3019-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:44:34.3019-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:44:34.3074-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/mihomo/mihomo' 的权限: 不允许的操作
2026-07-15 14:44:34.3074-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:44:34.3074-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#89789) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/mihomo/mihomo"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:44:34.3074-DEBUG SetUnixFileMode,UnauthorizedAccess_IODenied_Path, /opt/v2rayn-bin/bin/sing_box/sing-box
2026-07-15 14:44:34.3074-DEBUG at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at System.IO.FileStatus.SetUnixFileMode(SafeFileHandle handle, String path, UnixFileMode mode)
at System.IO.File.SetUnixFileMode(String path, UnixFileMode mode)
at ServiceLib.Common.Utils.SetUnixFileModeInternal(String fileName) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1345
2026-07-15 14:44:34.3074-ERROR System.IO.IOException: Operation not permitted
2026-07-15 14:44:34.3170-DEBUG GetCliWrapOutput,Command execution failed, see the inner exception for details.

Standard error:
chmod: 更改 '/opt/v2rayn-bin/bin/sing_box/sing-box' 的权限: 不允许的操作
2026-07-15 14:44:34.3170-DEBUG at CliWrap.Buffered.BufferedCommandExtensions.<>c__DisplayClass1_0.<b__0>d.MoveNext() in /_/CliWrap/Buffered/BufferedCommandExtensions.cs:line 66
--- End of stack trace from previous location ---
at ServiceLib.Common.Utils.GetCliWrapOutput(String filePath, IEnumerable`1 args) in /home/runner/work/v2rayN/v2rayN/v2rayN/ServiceLib/Common/Utils.cs:line 1003
2026-07-15 14:44:34.3170-ERROR CliWrap.Exceptions.CommandExecutionException: Command execution failed because the underlying process (bash#89790) returned a non-zero exit code (1).

Command:
/bin/bash -c "chmod +x /opt/v2rayn-bin/bin/sing_box/sing-box"

You can suppress this validation by calling WithValidation(CommandResultValidation.None) on the command.
2026-07-15 14:44:34.3212-INFO Setup Scheduled Tasks
2026-07-15 14:44:40.9346-INFO Successfully set the file execution permission, /opt/v2rayn-bin/binConfigs/run_as_sudo.sh

内核日志

opt/v2rayn-bin/binConfigs/proxy_set_linux_sh.sh
[VLESS] ????+??3-?isp????(fuck-ipcom:46461)
v2rayN - V7.23.4 - X64 | /opt/v2rayn-bin/ | /opt/v2rayn-bin/v2rayN | Unix 7.1.3.1
???? (2026/07/15 14:45:52)...
Xray 26.6.1 (Xray, Penetrates Everything.) 9f96d16 (go1.26.3 linux/amd64)
A unified platform for anti-censorship.
2026/07/15 14:45:52.637466 [Info] infra/conf/serial: Reading config: &{Name:config.json Format:json}
[VLESS] ????+??3-?isp????(fuck-ip
com:46461)
/opt/v2rayn-bin/binConfigs/proxy_set_linux_sh.sh
2026/07/15 14:45:53.379479 [Warning] core: Xray 26.6.1 started
2026/07/15 14:45:53.778567 from DNS accepted https://cloudflare-dns.com/dns-query [dns-module -> proxy]
2026/07/15 14:45:57.360417 from tcp:127.0.0.1:41914 accepted tcp:www.google.com:443 [socks >> proxy]
2026/07/15 14:45:57.360427 from tcp:127.0.0.1:46478 accepted tcp:www.google.com:443 [socks >> proxy]
[VLESS] ????+??3-?isp????(fuck-ipcom:46461)
v2rayN - V7.23.4 - X64 | /opt/v2rayn-bin/ | /opt/v2rayn-bin/v2rayN | Unix 7.1.3.1
???? (2026/07/15 14:45:57)...
[VLESS] ????+??3-?isp????(fuck-ip
com:46461)
/opt/v2rayn-bin/binConfigs/proxy_set_linux_sh.sh
Xray 26.6.1 (Xray, Penetrates Everything.) 9f96d16 (go1.26.3 linux/amd64)
A unified platform for anti-censorship.
2026/07/15 14:45:58.214253 [Info] infra/conf/serial: Reading config: &{Name:/opt/v2rayn-bin/binConfigs/config.json Format:json}
2026/07/15 14:45:58.332119 [Warning] core: Xray 26.6.1 started
2026/07/15 14:45:58 ????: -1 ms?none
2026/07/15 14:45:59.218246 [Error] app/router: Unables to find local process name: common/net: connection for 127.0.0.1:46484 not found in /proc/net/tcp
2026/07/15 14:45:59.218577 from DNS accepted https://cloudflare-dns.com/dns-query [dns-module -> proxy]
2026/07/15 14:46:00.400399 [Error] app/router: Unables to find local process name: common/net: connection for 127.0.0.1:46484 not found in /proc/net/tcp
2026/07/15 14:46:00.400430 from tcp:127.0.0.1:46484 accepted tcp:www.google.com:443 [socks >> proxy]
2026/07/15 14:46:02 ????: 307 ms?none

额外信息

No response

我确认已更新至最新版本

  • 是

我确认已查询历史issues

  • 是

我确认系统版本是受支持的

  • 是

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions