Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5.0 LinuxOS,代理服务器无法选择,一直会自己跳回自动 #553

Closed
4 of 5 tasks
phoenix13023 opened this issue Mar 4, 2024 · 20 comments
Closed
4 of 5 tasks
Labels
C: Backend P: Linux S: Blocked Need upstream fix or got updated T: Bug Something isn't working
Milestone

Comments

@phoenix13023
Copy link

复现步骤 / Step to reproduce

就是正常的选择代理服务器,启动后,测速完毕,点击延迟较低的服务器或者是特殊地理位置的代理,不成功。
点击服务器,偶尔能看见它上方的当前服务器会有变化,但很快又跳回自动选择。

预期行为 / Expected behaviour

鼠标点击需要的服务器,会跟随点击进行选定

实际行为 / Actual Behaviour

点击服务器没有反应,非要点击靠近前面国家标志的小图标才能偶尔看见会有选择变化,又自动跳回自动。

应用日志 / App logs

No response

备注 / Addition details

No response

Clash Nyapasu 版本号 / Clash Nyapasu

1.5.0

是否为 Pre-release / Is pre-release version

操作系统及版本 / OS version

deepin 社区版 23

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR ,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已仔细查看并知情 Q&A 中的内容 / You have checked Q&A carefully
  • 您已搜索过 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 mutiply issue for mutiply bugs
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@phoenix13023 phoenix13023 added S: Untriaged T: Bug Something isn't working labels Mar 4, 2024
@keiko233
Copy link
Collaborator

keiko233 commented Mar 4, 2024

请检查没有其他clash core进程

@phoenix13023
Copy link
Author

这个肯定没有

刚刚我退回了1.4.5,目前还正常,可以正常选择,没有乱跳回自动。

@greenhat616
Copy link
Collaborator

请给出日记,profile 以及使用的内核信息。

@phoenix13023
Copy link
Author

phoenix13023 commented Mar 5, 2024

请给出日记,profile 以及使用的内核信息。

我今天重新在Ubuntu 22.04.6 lts 也安装了下,版本v1.5.0 ,内核 Mihomo V1.18.1 与 Mihomo Alpha alpha-d273408 都试了,效果一样。

`mode: rule
mixed-port: 7890
allow-lan: true
log-level: info
ipv6: false
secret:
external-controller: 127.0.0.1:27650
dns:
enable: true
ipv6: false
default-nameserver:

代理上网都正常的,包括局域网的设备都可以被代理。

这里再附加另一个问题,1.4.5版本我遇到另一个不知道怎么处理的情况,就是ui界面,我的代理tab里面看不见东西全是空的,点击切换配置没有用,重启软件或linux后依旧,不过原本设定好的代理还能正常工作。这个问题不知道怎么出现,不确定如何重现,所以就没另外提交issue

@ilovetaimei
Copy link

一样的问题,系统linux,在规则模式下无法切换节点,点按升级按钮也无任何反应

@greenhat616
Copy link
Collaborator

greenhat616 commented Mar 8, 2024

Dear guys,

The wiki - FAQ has been updated. Please follow the wiki, changing the app log level to trace, and submit the logs.

https://nyanpasu.elaina.moe/zh-CN/others/faq.html#_2-clash-nyanpasu-%E5%BA%94%E7%94%A8-%E6%97%A5%E8%AE%B0%E7%9B%AE%E5%BD%95%E5%9C%A8%E5%93%AA%E9%87%8C

Thank you.

@xz-dev
Copy link

xz-dev commented Mar 9, 2024

Dear guys,

The wiki - FAQ has been updated. Please follow the wiki, changing the app log level to trace, and submit the logs.

https://nyanpasu.elaina.moe/zh-CN/others/faq.html#_2-clash-nyanpasu-%E5%BA%94%E7%94%A8-%E6%97%A5%E8%AE%B0%E7%9B%AE%E5%BD%95%E5%9C%A8%E5%93%AA%E9%87%8C

Thank you.

trace 参数会直接配置解析失败

@greenhat616
Copy link
Collaborator

greenhat616 commented Mar 9, 2024

Dear guys,
The wiki - FAQ has been updated. Please follow the wiki, changing the app log level to trace, and submit the logs.
https://nyanpasu.elaina.moe/zh-CN/others/faq.html#_2-clash-nyanpasu-%E5%BA%94%E7%94%A8-%E6%97%A5%E8%AE%B0%E7%9B%AE%E5%BD%95%E5%9C%A8%E5%93%AA%E9%87%8C
Thank you.

trace 参数会直接配置解析失败

你使用的 nyanpasu 版本是 1.5.0 么?请给出 截图 和 配置。
这种情况下,主界面可以正常打开的,不理解为什么你这里会有所谓的配置解析错误问题。
图片
图片

@greenhat616
Copy link
Collaborator


{"timestamp":"2024-03-11T13:18:49.540862Z","level":"TRACE","fields":{"message":"checkout waiting for idle connection: (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":639,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.540879Z","level":"DEBUG","fields":{"message":"starting new connection: http://127.0.0.1:4891/","log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","log.line":449},"target":"reqwest::connect","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","line_number":449,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.540888Z","level":"TRACE","fields":{"message":"Http::connect; scheme=Some(\"http\"), host=Some(\"127.0.0.1\"), port=Some(Port(4891))"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":278,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.540894Z","level":"DEBUG","fields":{"message":"connecting to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":542,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.540984Z","level":"DEBUG","fields":{"message":"connected to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":545,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.541003Z","level":"TRACE","fields":{"message":"client handshake Http1"},"target":"hyper::client::conn","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/conn.rs","line_number":1007,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.541010Z","level":"TRACE","fields":{"message":"handshake complete, spawning background dispatcher task"},"target":"hyper::client::client","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/client.rs","line_number":509,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.541026Z","level":"TRACE","fields":{"message":"checkout dropped for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":681,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.556979Z","level":"TRACE","fields":{"message":"put; add idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":333,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.556985Z","level":"DEBUG","fields":{"message":"pooling idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":380,"span":{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"},"spans":[{"group":"🚀 Main Server","name":"🇭🇰 HKG","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605522Z","level":"TRACE","fields":{"message":"checkout waiting for idle connection: (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":639,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605534Z","level":"DEBUG","fields":{"message":"starting new connection: http://127.0.0.1:4891/","log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","log.line":449},"target":"reqwest::connect","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","line_number":449,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605541Z","level":"TRACE","fields":{"message":"Http::connect; scheme=Some(\"http\"), host=Some(\"127.0.0.1\"), port=Some(Port(4891))"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":278,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605547Z","level":"DEBUG","fields":{"message":"connecting to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":542,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605601Z","level":"DEBUG","fields":{"message":"connected to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":545,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605610Z","level":"TRACE","fields":{"message":"client handshake Http1"},"target":"hyper::client::conn","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/conn.rs","line_number":1007,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605614Z","level":"TRACE","fields":{"message":"handshake complete, spawning background dispatcher task"},"target":"hyper::client::client","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/client.rs","line_number":509,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.605652Z","level":"TRACE","fields":{"message":"checkout dropped for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":681,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.618590Z","level":"TRACE","fields":{"message":"put; add idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":333,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.618598Z","level":"DEBUG","fields":{"message":"pooling idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":380,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660632Z","level":"TRACE","fields":{"message":"checkout waiting for idle connection: (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":639,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660644Z","level":"DEBUG","fields":{"message":"starting new connection: http://127.0.0.1:4891/","log.target":"reqwest::connect","log.module_path":"reqwest::connect","log.file":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","log.line":449},"target":"reqwest::connect","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.11.24/src/connect.rs","line_number":449,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660650Z","level":"TRACE","fields":{"message":"Http::connect; scheme=Some(\"http\"), host=Some(\"127.0.0.1\"), port=Some(Port(4891))"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":278,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660656Z","level":"DEBUG","fields":{"message":"connecting to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":542,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660705Z","level":"DEBUG","fields":{"message":"connected to 127.0.0.1:4891"},"target":"hyper::client::connect::http","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/connect/http.rs","line_number":545,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660714Z","level":"TRACE","fields":{"message":"client handshake Http1"},"target":"hyper::client::conn","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/conn.rs","line_number":1007,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660718Z","level":"TRACE","fields":{"message":"handshake complete, spawning background dispatcher task"},"target":"hyper::client::client","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/client.rs","line_number":509,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.660734Z","level":"TRACE","fields":{"message":"checkout dropped for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":681,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.673544Z","level":"TRACE","fields":{"message":"put; add idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":333,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

{"timestamp":"2024-03-11T13:18:49.673548Z","level":"DEBUG","fields":{"message":"pooling idle connection for (\"http\", 127.0.0.1:4891)"},"target":"hyper::client::pool","filename":"/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/hyper-0.14.28/src/client/pool.rs","line_number":380,"span":{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"},"spans":[{"name":"on_system_tray_event"},{"event":"select_proxy_8J+agCBNYWluIFNlcnZlcg==_8J+OriBVRFA=","name":"on_system_tray_event"},{"group":"🚀 Main Server","name":"🎮 UDP","name":"update_proxy"}]}

Looks like system_tray menu is overriding user's change made in main window.

could you please post the full log to this issue, or send the file to my email?

the logs snippet indicated that a select event was triggered and hyper is the inner process of this event. the spans is useful to telemetry the workflow. no further info could get inferred during this snippet.

thanks

@greenhat616
Copy link
Collaborator

@th-row-bu 我审查了你提供的日记,发现 on_system_tray_event 触发了 xxx -> 原始 selector 的操作。如果未经人工干预的情况下,这可能是平台相关的 bug,甚至有可能是 Tauri 相关的问题(代码是一致的,你使用的提供商我们有测试过,在 Windows 和 MacOS 下表现正常)。

@greenhat616
Copy link
Collaborator

#545 这个完成后,就发布 1.5.1。届时可以先关闭托盘选择以缓解这个问题

@greenhat616
Copy link
Collaborator

https://github.com/LibNyanpasu/clash-nyanpasu/actions/runs/8315834614

这个 build 完成后,可以试一下禁用 Proxies selector 是否有助于解决这个问题

@catmeowjiao
Copy link

我的情况是在规则模式下主界面和托盘都无法切换节点。
主界面无法切换模式,托盘可以。
全局模式下可以切换节点。

@greenhat616
Copy link
Collaborator

我的情况是在规则模式下主界面和托盘都无法切换节点。 主界面无法切换模式,托盘可以。 全局模式下可以切换节点。

有尝试在 Alpha 版本中禁用托盘的情况下,是否正常工作吗?

@xz-dev
Copy link

xz-dev commented Apr 11, 2024

我的情况是在规则模式下主界面和托盘都无法切换节点。 主界面无法切换模式,托盘可以。 全局模式下可以切换节点。

有尝试在 Alpha 版本中禁用托盘的情况下,是否正常工作吗?

非常感谢修复,1.5.1 关闭托盘选择后正常

@xz-dev
Copy link

xz-dev commented Apr 11, 2024

https://github.com/LibNyanpasu/clash-nyanpasu/actions/runs/8315834614

这个 build 完成后,可以试一下禁用 Proxies selector 是否有助于解决这个问题

因为 Linux 包管理分发的局限性,一般用户很难安装 action 里的包,所以也难以测试

@catmeowjiao
Copy link

请问1.5.1怎么关闭托盘选择?没看见

@greenhat616
Copy link
Collaborator

image

@greenhat616 greenhat616 added the S: Blocked Need upstream fix or got updated label Apr 20, 2024
@greenhat616 greenhat616 modified the milestones: 1.5.0, 1.6.0 Jul 31, 2024
@greenhat616
Copy link
Collaborator

我们准备近期通过新增二级菜单的选项缓解这个问题

@greenhat616
Copy link
Collaborator

200cbd7
已通过二级菜单解决这个问题。等 Tauri v2 之后可以尝试下新的 muda 能不能解决 Normal mode 下的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Backend P: Linux S: Blocked Need upstream fix or got updated T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants
@phoenix13023 @ilovetaimei @xz-dev @greenhat616 @keiko233 @catmeowjiao and others