2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
67.7k stars 11.28k forks source link

[Bug]: start service: initialize inbound/tun[tun-in]: configure tun interface: A device attached to the system is not functioning. #4936

Closed GibMeMyPacket closed 5 months ago

GibMeMyPacket commented 6 months ago

预期情况

Tun works and runs

实际情况

Tun doesn't work and doesnt start correctly

复现方法

Usually, on system start, once V2rayN Auto start and has Enable Tun activated it happens and cause the tun to not work.

日志信息

2024/04/05 08:19:15 The ping of current service: 775 ms
FATAL[0016] start service: initialize inbound/tun[tun-in]: configure tun interface: A device attached to the system is not functioning.
Downloading...   https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat
2024-04-05 02:43:20.7107-INFO Current_SessionEnding
2024-04-05 02:43:21.0090-INFO MyAppExit Begin
2024-04-05 02:43:21.3372-INFO MyAppExit End
2024-04-05 08:19:09.1940-INFO v2rayN start up | v2rayN - V6.42 - 2024/03/31 | C:\Program Files\v2rayN\v2rayN.exe
2024-04-05 08:20:10.5668-INFO UpdateTaskRunSubscription
2024-04-05 08:21:10.5558-INFO UpdateTaskRunGeo

额外信息

Maybe at least a handle and listener that checks if it received the following log, then restart the tun so it most probably gets it fixed and not leaking ip anymore. The following bug has been mentioned several times, for example at #3999

我确认已更新至最新版本

我确认已查询历史issues

Genv1er commented 5 months ago

同样有此问题

2dust commented 5 months ago

https://github.com/2dust/v2rayN/issues/4539