clash verge 升级2.4.4后安装服务总是失败

问题描述 / Describe the bug

自动升级 clash verge 2.4.4版本后TUN模式未自动打开,提示需安装服务,点击安装服务后UI界面提示安装错误:

软件版本 / CVR Version

clash verge v2.4.4

复现步骤 / To Reproduce

clash verge 2.4.3版本服务模式开启TUN,界面上点击“更新”
clash verge 2.4.4版本安装完成后打开软件,点击安装服务图标

操作系统 / OS

Windows

操作系统版本 / OS Version

Windows 11 Home China 26100

日志(勿上传日志文件,请粘贴日志内容) / Log (Do not upload the log file, paste the log content directly)

[2025-12-22 09:39:40.172] INFO [Setup] 开始应用初始化...
[2025-12-22 09:39:40.173] INFO [Setup] 后台日志清理任务完成
[2025-12-22 09:39:40.176] INFO [Setup] 初始化窗口状态管理...
[2025-12-22 09:39:40.176] INFO [Setup] Initializing signal handlers...
[2025-12-22 09:39:40.176] INFO [ClashVergeRev] Version: 2.4.4
[2025-12-22 09:39:40.176] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:39:40.176] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:39:40.176] WARN [Tray] Failed to update tray menu: tray not found
[2025-12-22 09:39:40.176] INFO [Setup] 初始化已启动
[2025-12-22 09:39:40.177] INFO [System] 应用就绪
[2025-12-22 09:39:40.449] INFO [Core] apply dns_config.yaml
[2025-12-22 09:39:40.449] INFO [Config] 生成运行时配置成功
[2025-12-22 09:39:40.514] INFO [Config] 开始验证配置
[2025-12-22 09:39:40.514] INFO [Validate] 生成临时配置文件用于验证
[2025-12-22 09:39:40.576] INFO [Validate] 开始验证配置文件: C:\Users\win\AppData\Roaming\io.github.clash-verge-rev.clash-verge-rev\clash-verge-check.yaml
[2025-12-22 09:39:40.576] INFO [Validate] 使用内核: verge-mihomo
[2025-12-22 09:39:40.576] INFO [Validate] 验证目录: C:\Users\win\AppData\Roaming\io.github.clash-verge-rev.clash-verge-rev
[2025-12-22 09:39:40.667] INFO [Validate] -------- 验证结果 --------
[2025-12-22 09:39:40.667] INFO [Validate] 验证成功
[2025-12-22 09:39:40.667] INFO [Validate] -------- 验证结束 --------
[2025-12-22 09:39:40.667] INFO [Config] 配置验证成功
[2025-12-22 09:39:40.667] INFO [Window] 开始创建/显示主窗口, is_show=false
[2025-12-22 09:39:40.667] INFO [Tray] 正在从AppHandle创建系统托盘
[2025-12-22 09:39:40.674] INFO [Tray] System tray created successfully
[2025-12-22 09:39:40.674] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:39:40.676] INFO [Timer] Refreshing 3 timer tasks
[2025-12-22 09:39:40.676] INFO [Timer] Adding task: uid=RivRTf9FOEaN, id=3, interval=1440min
[2025-12-22 09:39:40.676] INFO [Timer] Adding task: uid=RUZhmUIBubrb, id=1, interval=1440min
[2025-12-22 09:39:40.676] INFO [Timer] Adding task: uid=RNi8vDhhHCrW, id=2, interval=1440min
[2025-12-22 09:39:40.676] INFO [Timer] 已注册的定时任务数量: 3
[2025-12-22 09:39:40.676] INFO [Timer] 注册了定时任务 - uid=RivRTf9FOEaN, interval=1440min, task_id=3
[2025-12-22 09:39:40.676] INFO [Timer] 注册了定时任务 - uid=RUZhmUIBubrb, interval=1440min, task_id=1
[2025-12-22 09:39:40.676] INFO [Timer] 注册了定时任务 - uid=RNi8vDhhHCrW, interval=1440min, task_id=2
[2025-12-22 09:39:40.676] INFO [Timer] Timer initialization completed
[2025-12-22 09:39:40.676] INFO [Lightweight] 轻量模式已开启
[2025-12-22 09:39:40.676] INFO [Core] Starting core in sidecar mode
[2025-12-22 09:39:40.778] INFO [Core] Sysproxy update completed.
[2025-12-22 09:39:40.778] INFO [Core] Refreshing system proxy guard...
[2025-12-22 09:39:40.778] INFO [Core] System proxy is disabled.
[2025-12-22 09:40:23.650] INFO [Window] 检测到从单例模式恢复应用窗口
[2025-12-22 09:40:23.650] INFO [Lightweight] 正在退出轻量模式
[2025-12-22 09:40:23.650] INFO [Window] [防抖] 窗口操作被允许执行
[2025-12-22 09:40:23.650] INFO [Window] 开始智能显示主窗口
[2025-12-22 09:40:23.650] INFO [Window] 窗口不存在,创建新窗口
[2025-12-22 09:40:23.650] INFO [Window] 开始创建/显示主窗口, is_show=true
[2025-12-22 09:40:24.088] INFO [Window] 新窗口创建成功
[2025-12-22 09:40:24.088] INFO [Window] 开始激活窗口
[2025-12-22 09:40:24.096] INFO [Window] 窗口激活成功
[2025-12-22 09:40:24.096] INFO [Window] 窗口创建成功
[2025-12-22 09:40:24.197] INFO [Lightweight] 轻量模式已关闭
[2025-12-22 09:40:24.197] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:40:24.197] ERROR server connection error: hyper::Error(IncompleteMessage)
[2025-12-22 09:40:24.361] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:40:24.523] INFO [Cmd] UI加载阶段更新: Loading
[2025-12-22 09:40:24.534] INFO [Cmd] UI加载阶段更新: Loading
[2025-12-22 09:40:24.538] INFO [Cmd] UI加载阶段更新: DomReady
[2025-12-22 09:40:24.553] INFO [Cmd] UI加载阶段更新: ResourcesLoaded
[2025-12-22 09:40:24.568] INFO [Cmd] 前端UI已准备就绪
[2025-12-22 09:40:24.568] INFO [Window] UI已标记为完全就绪
[2025-12-22 09:40:30.637] INFO [Service] 需要安装服务,执行安装流程
[2025-12-22 09:40:30.637] INFO [Service] install service
[2025-12-22 09:40:32.542] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:40:33.651] WARN Operation failed after 6 attempts in 654ms: Timeout error: operation timed out after 100ms
[2025-12-22 09:40:33.651] WARN Operation 'GET /magic' failed with error: Timeout error: operation timed out after 100ms
[2025-12-22 09:40:33.651] WARN Failed to connect to IPC server: Custom error: Operation 'GET /magic' failed after retries: Timeout error: operation timed out after 100ms
[2025-12-22 09:40:44.689] INFO [Core] Sysproxy update completed.
[2025-12-22 09:40:44.689] INFO [Core] Refreshing system proxy guard...
[2025-12-22 09:40:44.689] INFO [Core] System proxy guard is disabled.
[2025-12-22 09:40:44.692] INFO [Setup] Saving Verge configuration to file...
[2025-12-22 09:40:49.784] WARN NewEvents emitted without explicit RedrawEventsCleared
[2025-12-22 09:40:49.786] WARN RedrawEventsCleared emitted without explicit MainEventsCleared
[2025-12-22 09:40:49.793] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:01.285] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:03.893] INFO [Service] 需要安装服务,执行安装流程
[2025-12-22 09:41:03.893] INFO [Service] install service
[2025-12-22 09:41:09.474] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:10.595] WARN Operation failed after 6 attempts in 651ms: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:10.595] WARN Operation 'GET /magic' failed with error: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:10.595] WARN Failed to connect to IPC server: Custom error: Operation 'GET /magic' failed after retries: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:20.404] INFO [Cmd] 开始修改配置文件,目标profile: Some("RUZhmUIBubrb")
[2025-12-22 09:41:20.404] INFO [Cmd] 当前配置: Some("RivRTf9FOEaN")
[2025-12-22 09:41:20.404] INFO [Cmd] 正在切换到新配置: RUZhmUIBubrb
[2025-12-22 09:41:20.406] INFO [Cmd] 目标配置文件语法正确
[2025-12-22 09:41:20.426] INFO [Core] apply dns_config.yaml
[2025-12-22 09:41:20.426] INFO [Validate] 生成临时配置文件用于验证
[2025-12-22 09:41:20.490] INFO [Validate] 开始验证配置文件: C:\Users\win\AppData\Roaming\io.github.clash-verge-rev.clash-verge-rev\clash-verge-check.yaml
[2025-12-22 09:41:20.490] INFO [Validate] 使用内核: verge-mihomo
[2025-12-22 09:41:20.490] INFO [Validate] 验证目录: C:\Users\win\AppData\Roaming\io.github.clash-verge-rev.clash-verge-rev
[2025-12-22 09:41:20.558] INFO [Validate] -------- 验证结果 --------
[2025-12-22 09:41:20.558] INFO [Validate] 验证成功
[2025-12-22 09:41:20.558] INFO [Validate] -------- 验证结束 --------
[2025-12-22 09:41:20.629] INFO [Core] Configuration applied
[2025-12-22 09:41:20.691] INFO [Cmd] 向前端发送配置变更事件: RUZhmUIBubrb
[2025-12-22 09:41:22.371] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:25.629] INFO [Service] 需要安装服务,执行安装流程
[2025-12-22 09:41:25.629] INFO [Service] install service
[2025-12-22 09:41:28.146] WARN Operation failed after 6 attempts in 656ms: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:28.146] WARN Operation 'GET /magic' failed with error: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:28.146] WARN Failed to connect to IPC server: Custom error: Operation 'GET /magic' failed after retries: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:37.944] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:45.738] INFO [Core] Sysproxy update completed.
[2025-12-22 09:41:45.738] INFO [Core] Refreshing system proxy guard...
[2025-12-22 09:41:45.738] INFO [Core] System proxy is disabled.
[2025-12-22 09:41:45.742] INFO [Setup] Saving Verge configuration to file...
[2025-12-22 09:41:49.957] INFO [Service] 需要安装服务,执行安装流程
[2025-12-22 09:41:49.957] INFO [Service] install service
[2025-12-22 09:41:51.652] WARN [Service] Some issue with service IPC Path: 系统找不到指定的文件。 (os error 2)
[2025-12-22 09:41:52.804] WARN Operation failed after 6 attempts in 649ms: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:52.804] WARN Operation 'GET /magic' failed with error: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:52.804] WARN Failed to connect to IPC server: Custom error: Operation 'GET /magic' failed after retries: Timeout error: operation timed out after 100ms
[2025-12-22 09:41:58.190] ERROR [System] Notification System will exit, recv error: receiving on a closed channel
[2025-12-22 09:41:58.190] INFO [Window] shutting down embedded server
[2025-12-22 09:41:58.190] INFO [Config] save all draft data
[2025-12-22 09:41:58.246] INFO [Config] save all draft data finished
[2025-12-22 09:41:58.246] INFO [System] 开始异步清理资源
[2025-12-22 09:41:58.246] INFO [System] 开始执行异步清理操作...
[2025-12-22 09:41:58.246] INFO [System] disable tun
[2025-12-22 09:41:58.246] INFO [System] stop core
[2025-12-22 09:41:58.246] INFO [Window] 系统代理未启用,跳过重置
[2025-12-22 09:41:58.246] INFO [Core] Stopping sidecar
[2025-12-22 09:41:58.246] INFO [Window] core已停止
[2025-12-22 09:41:58.246] INFO [System] 异步关闭操作完成 - 代理: true, 核心: true, DNS: true, 总体: true
[2025-12-22 09:41:58.246] INFO [System] 资源清理完成,退出代码: 0