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

代理页面空白无法正常工作 #763

Open
5 of 6 tasks
Soniceso opened this issue Apr 12, 2024 · 4 comments
Open
5 of 6 tasks

代理页面空白无法正常工作 #763

Soniceso opened this issue Apr 12, 2024 · 4 comments
Labels
C: Backend T: Bug Something isn't working
Milestone

Comments

@Soniceso
Copy link

复现步骤 / Step to reproduce

具体复现步骤未知,设置为开机自启之后每次开机时都有概率触发

预期行为 / Expected behaviour

正常应该是这样
image

实际行为 / Actual Behaviour

image

应用日志 / App logs

{"timestamp":"2024-04-12T03:46:27.363029Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":359}
{"timestamp":"2024-04-12T03:46:27.378275Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":345}
{"timestamp":"2024-04-12T06:59:37.438193Z","level":"WARN","fields":{"message":"The external controller port has been changed to 127.0.0.1:34181","log.target":"clash_verge::config::clash","log.module_path":"clash_verge::config::clash","log.file":"tauri\src\config\clash\mod.rs","log.line":115},"target":"clash_verge::config::clash","filename":"tauri\src\config\clash\mod.rs","line_number":115,"span":{"self":"IClashTemp(Mapping {"mixed-port": Number(34173), "log-level": String("info"), "allow-lan": Bool(false), "mode": String("rule"), "external-controller": String("127.0.0.1:9090"), "secret": String(""), "unified-delay": Bool(true), "tcp-concurrent": Bool(true), "ipv6": Bool(false)})","name":"prepare_external_controller_port"},"spans":[{"self":"IClashTemp(Mapping {"mixed-port": Number(34173), "log-level": String("info"), "allow-lan": Bool(false), "mode": String("rule"), "external-controller": String("127.0.0.1:9090"), "secret": String(""), "unified-delay": Bool(true), "tcp-concurrent": Bool(true), "ipv6": Bool(false)})","name":"prepare_external_controller_port"}]}
{"timestamp":"2024-04-12T06:59:54.950363Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":359}
{"timestamp":"2024-04-12T06:59:54.964462Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":345}
{"timestamp":"2024-04-12T06:59:59.345390Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:34181/providers/proxies): error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n\nCaused by:\n 0: error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 1: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 2: 由于目标计算机积极拒绝,无法连接。 (os error 10061)"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T06:59:59.345582Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T07:00:23.131624Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:34181/providers/proxies): error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n\nCaused by:\n 0: error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 1: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 2: 由于目标计算机积极拒绝,无法连接。 (os error 10061)"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T07:00:23.131673Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T07:00:47.008352Z","level":"WARN","fields":{"message":"update proxies failed: error sending request for url (http://127.0.0.1:34181/providers/proxies): error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n\nCaused by:\n 0: error trying to connect: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 1: tcp connect error: 由于目标计算机积极拒绝,无法连接。 (os error 10061)\n 2: 由于目标计算机积极拒绝,无法连接。 (os error 10061)"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":23,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T07:00:47.008512Z","level":"ERROR","fields":{"message":"proxies not updated yet!!!!"},"target":"clash_verge::core::tray::proxies","filename":"tauri\src\core\tray\proxies.rs","line_number":29,"span":{"name":"loop_task"},"spans":[{"name":"loop_task"}]}
{"timestamp":"2024-04-12T07:00:49.841316Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":359}
{"timestamp":"2024-04-12T07:00:49.852532Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\tao-0.16.8\src\platform_impl\windows\event_loop\runner.rs","line_number":345}
{"timestamp":"2024-04-12T07:00:54.112863Z","level":"INFO","fields":{"message":"reset proxy with no action","log.target":"app","log.module_path":"clash_verge::core::sysopt","log.file":"tauri\src\core\sysopt.rs","log.line":137},"target":"app","filename":"tauri\src\core\sysopt.rs","line_number":137,"span":{"name":"cleanup_processes"},"spans":[{"name":"on_system_tray_event"},{"name":"quit_application"},{"name":"cleanup_processes"}]}

备注 / Addition details

和这个情况一样#723

Clash Nyanpasu 版本号 / Clash Nyanpasu

1.5.1

Clash 核心及其版本号 / Clash core and version

1.18.3 meta

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

false

操作系统及版本 / OS version

win11

自查步骤 / 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&AFAQ 中的内容 / 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 mutiply issue for mutiply bugs
  • 您确保已使用最新 Pre-release 版本测试,并且该问题在最新 Pre-release 版本中并未解决 / This bug have not solved in latest Pre-release version
@Soniceso Soniceso added S: Untriaged T: Bug Something isn't working labels Apr 12, 2024
@greenhat616
Copy link
Collaborator

主要问题是这个:
图片

我们猜测和内核或者操作系统防火墙有关系,他们的 controller 接口不可用。不太清楚具体原因——你的代理可用,意味着内核已正确启动。

@Soniceso
Copy link
Author

主要问题是这个: 图片

我们猜测和内核或者操作系统防火墙有关系,他们的 controller 接口不可用。不太清楚具体原因——你的代理可用,意味着内核已正确启动。

防火墙的话我用的系统自带的,杀软也是WD,这个触发我目前来看确实只能是看概率,我今天重启两次也没遇到,昨天重启两次遇到两次,这个问题大概是前两个版本出现的,当时还以为是自己的问题,后来看到也有人发issue遇到了才又发了一遍。

@greenhat616
Copy link
Collaborator

目前初步判断与服务模式使用的端口和 UI 的端口存在差异,导致首次启动出现异常。这个问题可能要留到 1.6.0 中修复了。等修复了,可以先尝试开发版。1.6 预计要五月份发布。

@greenhat616 greenhat616 added this to the 1.6.0 milestone Apr 16, 2024
@keiko233
Copy link
Collaborator

keiko233 commented Apr 17, 2024

可以修改外部控制的端口策略为fixed临时解决,彻底修复需要等待重构service mode
photo_4969865344814525751_y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Backend T: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants