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

端口占用弹窗会出现两次, 第二次点击会报错, 虽然并不影响使用. #400

Open
1 task done
linluoran opened this issue Nov 21, 2024 · 1 comment
Open
1 task done
Labels
Bug Something isn't working

Comments

@linluoran
Copy link

  • 你是否在现有 Issue列表 中搜索过相同问题,但未找到?

Ⅰ. 请说明操作系统及DS的版本号:

  1. 操作系统:mac arm sequioa 15.2 Beta版(24C5089c)
  2. DS版本号:1.8.9-node17

Ⅱ. 问题描述:

WX20241121-162717
WX20241121-162726
WX20241121-162733

Ⅲ. 期望的结果:

只弹一次窗口

Ⅳ. 如何复现问题?

遇到端口被占用的时候就会出现这个情况

Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在 ${user.home}/.dev-sidecar/logs/ 目录下)

[2024-11-21T15:24:00.559] [INFO] core - shell: networksetup -setsecurewebproxystate "Wi-Fi" off
[2024-11-21T15:24:00.559] [INFO] core - shell: networksetup -setsecurewebproxystate "Wi-Fi" off
[2024-11-21T15:24:00.603] [INFO] core - shell: networksetup -setwebproxystate "Wi-Fi" off
[2024-11-21T15:24:00.610] [INFO] core - shell: networksetup -setwebproxystate "Wi-Fi" off
[2024-11-21T15:24:00.624] [INFO] core - status changed: { key: 'proxy.enabled', value: false }
[2024-11-21T15:24:00.624] [INFO] core - 关闭系统代理成功
[2024-11-21T15:24:00.624] [INFO] core - 系统代理已关闭
[2024-11-21T15:24:00.626] [WARN] core - server process exit, code: 0, signal: null
[2024-11-21T15:24:00.638] [INFO] core - status changed: { key: 'proxy.enabled', value: false }
[2024-11-21T15:24:00.638] [INFO] core - 关闭系统代理成功
[2024-11-21T15:24:00.638] [INFO] core - 系统代理已关闭
[2024-11-21T15:24:01.631] [INFO] core - status changed: { key: 'server.enabled', value: false }
[2024-11-21T15:24:01.632] [INFO] core - 代理服务已关闭
[2024-11-21T15:24:01.746] [INFO] core - status changed: { key: 'server.enabled', value: false }
[2024-11-21T15:24:01.746] [ERROR] core - 代理服务关闭失败: TypeError: Object has been destroyed
at Object.handle (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:2544601)
at Object.fire (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:308224)
at h (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:1569149)
at Object.kill (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:1570711)
at async Object.close (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:1570733)
at async Object.shutdown (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:776560)
at async ve (/Applications/dev-sidecar.app/Contents/Resources/app.asar/background.js:2:2555320)

Ⅵ. 有必要时,请提供 ${user.home}/.dev-sidecar/running.json 文件内容:

@linluoran linluoran added the Bug Something isn't working label Nov 21, 2024
@wangliang181230
Copy link
Contributor

这个问题复现不出来啊 😑

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

2 participants