-
Notifications
You must be signed in to change notification settings - Fork 781
Description
复现步骤 / Step to reproduce
- 设置开机自启
- 重启系统
- 打开 clash 页面,点击代理
- 页面空白无任何代理
- 重启 clash
- 恢复正常
预期行为 / Expected behavior
上面步骤4应该正常显示代理
实际行为 / Actual behavior
上面步骤4应该并未正常显示代理
应用日志 / App logs
{"timestamp":"2026-01-02T01:46:43.488938Z","level":"INFO","fields":{"message":"service mode is enabled and service is running, do a update check"},"target":"clash_nyanpasu::utils::init","filename":"tauri\\src\\utils\\init\\mod.rs","line_number":242,"span":{"name":"init_service"},"spans":[{"name":"init_service"}]}
{"timestamp":"2026-01-02T01:46:43.767079Z","level":"WARN","fields":{"message":"The external controller port has been changed to 127.0.0.1:62619","log.target":"clash_nyanpasu::config::clash","log.module_path":"clash_nyanpasu::config::clash","log.file":"tauri\\src\\config\\clash\\mod.rs","log.line":115},"target":"clash_nyanpasu::config::clash","filename":"tauri\\src\\config\\clash\\mod.rs","line_number":115,"span":{"self":"IClashTemp(Mapping {\"mixed-port\": Number(7890), \"log-level\": String(\"info\"), \"allow-lan\": Bool(false), \"mode\": String(\"rule\"), \"external-controller\": String(\"127.0.0.1:17650\"), \"secret\": String(\"4b2e9556-722b-4358-b20e-88ab04692a8e\"), \"unified-delay\": Bool(true), \"tcp-concurrent\": Bool(true), \"ipv6\": Bool(false)})","name":"prepare_external_controller_port"},"spans":[{"self":"IClashTemp(Mapping {\"mixed-port\": Number(7890), \"log-level\": String(\"info\"), \"allow-lan\": Bool(false), \"mode\": String(\"rule\"), \"external-controller\": String(\"127.0.0.1:17650\"), \"secret\": String(\"4b2e9556-722b-4358-b20e-88ab04692a8e\"), \"unified-delay\": Bool(true), \"tcp-concurrent\": Bool(true), \"ipv6\": Bool(false)})","name":"prepare_external_controller_port"}]}
{"timestamp":"2026-01-02T01:46:43.767165Z","level":"INFO","fields":{"message":"run core as service"},"target":"clash_nyanpasu::core::clash::core","filename":"tauri\\src\\core\\clash\\core.rs","line_number":58}
{"timestamp":"2026-01-02T01:46:43.776339Z","level":"ERROR","fields":{"message":"An server error respond: R { code: OtherError, msg: \"core is already running\", data: None, ts: 1767318403776 }","log.target":"app","log.module_path":"clash_nyanpasu::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":400},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":400}
{"timestamp":"2026-01-02T01:46:43.777846Z","level":"INFO","fields":{"message":"use cached icon: \"C:\\\\Users\\\\beardad\\\\scoop\\\\apps\\\\clash-nyanpasu\\\\1.6.1\\\\.data\\\\clash-verge\\\\cache\\\\icons\\\\tray_normal.png\""},"target":"clash_nyanpasu::core::tray::icon","filename":"tauri\\src\\core\\tray\\icon.rs","line_number":142,"span":{"name":"update_part"},"spans":[{"name":"update_systray"},{"name":"update_part"}]}
{"timestamp":"2026-01-02T01:46:44.424929Z","level":"INFO","fields":{"message":"use cached icon: \"C:\\\\Users\\\\beardad\\\\scoop\\\\apps\\\\clash-nyanpasu\\\\1.6.1\\\\.data\\\\clash-verge\\\\cache\\\\icons\\\\tray_normal.png\""},"target":"clash_nyanpasu::core::tray::icon","filename":"tauri\\src\\core\\tray\\icon.rs","line_number":142,"span":{"name":"update_part"},"spans":[{"name":"update_part"}]}
{"timestamp":"2026-01-02T01:46:45.439647Z","level":"INFO","fields":{"message":"running timer task `rUDBjykcdKiS`","log.target":"app","log.module_path":"clash_nyanpasu::core::tasks::jobs::profiles","log.file":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","log.line":34},"target":"app","filename":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","line_number":34,"span":{"record_id":7412670657193971712,"task_id":16931742913731170318,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657193971712,"task_id":16931742913731170318,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:45.440369Z","level":"INFO","fields":{"message":"running timer task `rLPDITaiUGp4`","log.target":"app","log.module_path":"clash_nyanpasu::core::tasks::jobs::profiles","log.file":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","log.line":34},"target":"app","filename":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","line_number":34,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:49.093069Z","level":"INFO","fields":{"message":"error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":635},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":635,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:51.406761Z","level":"INFO","fields":{"message":"error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":635},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":635,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:53.726470Z","level":"INFO","fields":{"message":"error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":635},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":635,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:56.011670Z","level":"INFO","fields":{"message":"error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":635},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":635,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:58.273916Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:62619/proxies)\n\nCaused by:\n 0: client error (Connect)\n 1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n 2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:46:58.274199Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:46:58.304437Z","level":"ERROR","fields":{"message":"failed to update profile: error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::tasks::jobs::profiles","log.file":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","log.line":38},"target":"app","filename":"tauri\\src\\core\\tasks\\jobs\\profiles.rs","line_number":38,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:46:58.304465Z","level":"ERROR","fields":{"message":"task error: error sending request for url (http://127.0.0.1:62619/configs)","log.target":"app","log.module_path":"clash_nyanpasu::core::tasks::task","log.file":"tauri\\src\\core\\tasks\\task.rs","log.line":225},"target":"app","filename":"tauri\\src\\core\\tasks\\task.rs","line_number":225,"span":{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"},"spans":[{"record_id":7412670657189777408,"task_id":833542785497895055,"name":"async_spawn_by_tokio: routine-exec"}]}
{"timestamp":"2026-01-02T01:47:21.995833Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:62619/proxies)\n\nCaused by:\n 0: client error (Connect)\n 1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n 2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:47:21.995873Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:47:45.713326Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:62619/proxies)\n\nCaused by:\n 0: client error (Connect)\n 1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n 2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:47:45.713387Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:48:09.531139Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:62619/proxies)\n\nCaused by:\n 0: client error (Connect)\n 1: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)\n 2: No connection could be made because the target machine actively refused it. (os error 10061)"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2026-01-02T01:48:09.531367Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_nyanpasu::core::tray::proxies","filename":"tauri\\src\\core\\tray\\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}备注 / Addition details
看起来像是端口错误,本地没有打开 62619 这个端口,倒是有 62621 端口而且就是 Clash Nyanpasu.exe 打开的
环境信息 / Environment information
----------- System -----------
OS: Windows 11 Home 26100
Arch: x86_64
----------- Device -----------
CPU: AMD Ryzen 9 7940HX with Radeon Graphics @ 2.40GHz x 32
Memory: 31.22 GiB
----------- Core -----------
mihomo:Mihomo Meta v1.18.8 windows amd64 with go1.23.0 Mon Sep 2 08:37:40 UTC 2024 Use tags: with_gvisor
clash-rs:clash-rs 0.3.1
mihomo-alpha:Mihomo Meta alpha-7c8f451 windows amd64 with go1.23.1 Mon Sep 9 08:11:44 UTC 2024 Use tags: with_gvisor
clash:Clash n2023-09-05-gdcc8d87 windows amd64 with go1.21.0 Tue Sep 5 14:32:57 UTC 2023
----------- Build Info -----------
App Name: clash-nyanpasu
App Version: 0.1.0
Pkg Version: 1.6.1
Commit Hash: 14b0407
Commit Author: Jonson Petard
Commit Date: 2024-09-10T03:59:13.000Z
Build Date: 2024-09-10T04:55:14.413Z
Build Profile: Release
Build Platform: x86_64-pc-windows-msvc
Rustc Version: rustc 1.83.0-nightly (c2f74c3f9 2024-09-09)
Llvm Version: 19.1
自查步骤 / Verify steps
- 如果您有足够的时间和能力,并愿意为此提交 PR,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
- 您已知悉如果没有提供正确的系统信息,以及日志,您的 Issue 会直接被关闭 / You have known that if you don't provide correct system information and logs, your issue will be closed directly
- 您已仔细查看并知情 Q&A 和 FAQ 中的内容 / You have read and understood the contents of Q&A and FAQ
- 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
- 您确保这个 Issue 只提及一个问题。如果您有多个问题报告,烦请发起多个 Issue / Ensure there is only one bug report in this issue. Please make multiply issue for multiply bugs
- 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version