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

安装版安装后受到系统制裁闪退无法启动 #515

Open
6 tasks done
gsxgmpkt9020 opened this issue Feb 14, 2025 · 12 comments
Open
6 tasks done

安装版安装后受到系统制裁闪退无法启动 #515

gsxgmpkt9020 opened this issue Feb 14, 2025 · 12 comments
Labels
bug Something isn't working

Comments

@gsxgmpkt9020
Copy link

gsxgmpkt9020 commented Feb 14, 2025

Verify steps

  • 我已在标题简短的描述了我所遇到的问题
  • 我已在 Issue Tracker 中寻找过我要提出的问题,但未找到相同的问题
  • 我已在 常见问题 中寻找过我要提出的问题,并没有找到答案
  • 这是 GUI 程序的问题,而不是内核程序的问题
  • 我已经关闭所有杀毒软件/代理软件后测试过,问题依旧存在
  • 我已经使用最新的测试版本测试过,问题依旧存在

操作系统

Windows

系统版本

WIN 10 22H2

发生问题 mihomo-party 版本

1.7.1

描述

安装版托盘图标秒射消失(只有便携版木能用,要用管理员启动)

  1. mihomo-UPDATE.EXE 反复安装无效
  2. 卸载反复安装无效
  3. winget安装无效
  4. C:\Windows\Prefetch下面惊险大量.pf格式的尸体
  5. 电脑重启过无效
  • 计划任务可以建立
  • 都是最高管理员权限运行的,没有UAC
  • 杀毒软件全部退出(冰刃)
  • mihomo内核命令行可以运行
  • 第一次安装完连点会出现四个相通名字的进程,后来反复卸载重新安装以后再也启动不了了
time="2025-02-14T14:17:43.619220000+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:17:43.620245400+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:17:43.620245400+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:17:43.625379200+08:00" level=info msg="Initial configuration complete, total time: 5ms"
time="2025-02-14T14:17:43.625379200+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:18:56.527419100+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:18:56.528444200+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:18:56.528444200+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:18:56.532036100+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:18:56.532036100+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:18:56.534083100+08:00" level=info msg="Sniffer is loaded and working"
time="2025-02-14T14:18:56.534083100+08:00" level=info msg="HTTP proxy listening at: 127.0.0.1:7892"
time="2025-02-14T14:18:56.534595400+08:00" level=info msg="SOCKS proxy listening at: 127.0.0.1:7891"
time="2025-02-14T14:18:56.534595400+08:00" level=info msg="Mixed(http+socks) proxy listening at: 127.0.0.1:7890"
time="2025-02-14T14:18:56.535109200+08:00" level=info msg="Start initial Compatible provider default"
time="2025-02-14T14:22:35.877987500+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:22:35.879011100+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:22:35.879011100+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:22:35.882603800+08:00" level=info msg="Initial configuration complete, total time: 3ms"
time="2025-02-14T14:22:35.882603800+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:24:36.923653300+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:24:36.924680900+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:24:36.924680900+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:24:36.928791700+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:24:36.929307600+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:29:30.556872300+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:29:30.557898700+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:29:30.557898700+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:29:30.562024400+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:29:30.562024400+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:29:43.858738600+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:29:43.859252200+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:29:43.859252200+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:29:43.863876300+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:29:43.863876300+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:29:43.865955800+08:00" level=info msg="Sniffer is loaded and working"
time="2025-02-14T14:29:43.866467900+08:00" level=info msg="HTTP proxy listening at: 127.0.0.1:7892"
time="2025-02-14T14:29:43.866467900+08:00" level=info msg="SOCKS proxy listening at: 127.0.0.1:7891"
time="2025-02-14T14:29:43.866467900+08:00" level=info msg="Mixed(http+socks) proxy listening at: 127.0.0.1:7890"
time="2025-02-14T14:29:43.867493200+08:00" level=info msg="Start initial Compatible provider default"
time="2025-02-14T14:32:15.051365300+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:32:15.052389600+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:32:15.052389600+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:32:15.056493500+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:32:15.056493500+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:37:07.600019100+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:37:07.601042000+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:37:07.601553400+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:37:07.605676800+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:37:07.607211800+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T14:38:03.464541800+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T14:38:03.465563700+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T14:38:03.465563700+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T14:38:03.470199600+08:00" level=info msg="Initial configuration complete, total time: 4ms"
time="2025-02-14T14:38:03.470199600+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T15:19:47.988313600+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T15:19:47.989342300+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T15:19:47.989859200+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T15:19:47.994505300+08:00" level=info msg="Initial configuration complete, total time: 5ms"
time="2025-02-14T15:19:47.994505300+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"
time="2025-02-14T15:52:15.081807000+08:00" level=info msg="Start initial configuration in progress"
time="2025-02-14T15:52:15.083345900+08:00" level=info msg="Geodata Loader mode: memconservative"
time="2025-02-14T15:52:15.083345900+08:00" level=info msg="Geosite Matcher implementation: succinct"
time="2025-02-14T15:52:15.088994100+08:00" level=info msg="Initial configuration complete, total time: 5ms"
time="2025-02-14T15:52:15.088994100+08:00" level=info msg="RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo"

┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅
     Sub-Store -- v2.16.30
┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅

[sub-store] INFO: Start migrating...
[sub-store] INFO: Migration complete!
[sub-store] INFO: [BACKEND] 127.0.0.1:38324

┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅
     Sub-Store -- v2.16.30
┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅┅

[sub-store] INFO: [BACKEND] 127.0.0.1:38324

重现方式

安装exe

@mihomo-party-bot mihomo-party-bot bot changed the title [Bug] 安装完闪退,log:RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo 安装 MihomoParty 后图标托盘消失并应用无法重启 Feb 14, 2025
@mihomo-party-bot mihomo-party-bot bot added the bug Something isn't working label Feb 14, 2025
@gsxgmpkt9020 gsxgmpkt9020 changed the title 安装 MihomoParty 后图标托盘消失并应用无法重启 安装后无法启动,RESTful API pipe路径异常 Feb 14, 2025
@gsxgmpkt9020
Copy link
Author

之前标题被AI改了(. ❛ ᴗ ❛.)

@AnyWAT
Copy link

AnyWAT commented Feb 14, 2025

  • 第一次安装完连点会出现四个相通名字的进程

Image

试试:除C:\Users\用户名\AppData\Roaming\mihomo-party\tasks 外,删除该 mihomo-party 文件夹下的其它文件夹及文件?
C:\Users\用户名\AppData\Local\mihomo-party 呢(便携版木有此文件夹),再次启动程序。。。

@gsxgmpkt9020
Copy link
Author

  • 第一次安装完连点会出现四个相通名字的进程

Image

试试:除C:\Users\用户名\AppData\Roaming\mihomo-party\tasks 外,删除该 mihomo-party 文件夹下的其它文件夹及文件? C:\Users\用户名\AppData\Local\mihomo-party 呢(便携版木有此文件夹),再次启动程序。。。

不行,蹬了两下腿还是没反应,进程都没有

@AnyWAT
Copy link

AnyWAT commented Feb 14, 2025

日志貌似缺失:RESTful API listening at: 127.0.0.1:xyz
外部控制地址:127.0.0.1:xyz
无法启动用户界面?解除端口 127.0.0.1:xyz 的占用,即可解决问题?
查询占用端口xyz的进程PID,命令行运行:
netstat -ano|findstr "xyz"
结果,PID为 nnn
终止该PID进程,命令行运行:
taskkill -F -PID nnn
data\mihomo.yaml 内容:external-controller: 127.0.0.1:xyz
data\work\config.yaml 内容:external-controller: 127.0.0.1:xyz
故:

  • mihomo内核命令行可以运行

@gsxgmpkt9020 gsxgmpkt9020 changed the title 安装后无法启动,RESTful API pipe路径异常 安装版安装后无法启动,RESTful API pipe路径异常 Feb 14, 2025
@gsxgmpkt9020 gsxgmpkt9020 changed the title 安装版安装后无法启动,RESTful API pipe路径异常 RESTful API pipe路径异常,安装版安装后无法启动 Feb 14, 2025
@gsxgmpkt9020 gsxgmpkt9020 changed the title RESTful API pipe路径异常,安装版安装后无法启动 安装版安装后受到系统制裁闪退无法启动 Feb 14, 2025
@gsxgmpkt9020
Copy link
Author

gsxgmpkt9020 commented Feb 14, 2025

日志貌似缺失:RESTful API listening at: 127.0.0.1:xyz 外部控制地址:127.0.0.1:xyz 无法启动用户界面?解除端口 127.0.0.1:xyz 的占用,即可解决问题? data\mihomo.yaml 内容:external-controller: 127.0.0.1:xyz data\work\config.yaml 内容:external-controller: 127.0.0.1:xyz 故:

  • mihomo内核命令行可以运行

便携版管理员权限可用,应该是没有端口占用。

@AnyWAT
Copy link

AnyWAT commented Feb 14, 2025

应该是没有端口占用

检查一下安装版

data\mihomo.yaml 内容:external-controller: 127.0.0.1:xyz
data\work\config.yaml 内容:external-controller: 127.0.0.1:xyz

忘记了默认设置是几多。。。或许没有手动设置,就是默认的随机设置,致使你的安装版与便携版不同?

Image

@gsxgmpkt9020
Copy link
Author

gsxgmpkt9020 commented Feb 14, 2025

应该是没有端口占用

检查一下安装版

data\mihomo.yaml 内容:external-controller: 127.0.0.1:xyz
data\work\config.yaml 内容:external-controller: 127.0.0.1:xyz

忘记了默认设置是几多。。。或许没有手动设置,就是默认的随机设置,致使你的安装版与便携版不同?

Image

默认都是空值,我特意确认过没有差别

第一次开启的日志安装版与便携版都是

RESTful API pipe listening at: \\\\.\\pipe\\MihomoParty\\mihomo
绿色版GUI进去也是空的,要我自己设置。

总结原因大概率就是windows复杂、充满bug的权限策略导致的

@shanyurc
Copy link

我是把进程都关了,再管理员启动就可以了

@Justwithme
Copy link

Justwithme commented Feb 15, 2025

遇到了,首次安装gui不显示。把进程关了再开之后就正常了。用的这个版本 mihomo-party-windows-1.7.1-x64-setup.exe

@AnyWAT
Copy link

AnyWAT commented Feb 15, 2025

大家的WIN64安装版、便携版,外部资源标签,自动更新或手动更新,程序内的文件真的更新了?
#186 (comment)
#186 (comment)

@wc7086
Copy link

wc7086 commented Feb 15, 2025

首次启动使用管理员身份运行就好了,直接在cmd启动是返回乱码,没找到日志在哪儿,重装没复现,谁有空再看看吧。

@AnyWAT
Copy link

AnyWAT commented Feb 15, 2025

日志在哪儿

程序所在的 data\logs

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

No branches or pull requests

5 participants