Open linluoran opened 1 week ago
只弹一次窗口
遇到端口被占用的时候就会出现这个情况
${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
这个问题复现不出来啊 😑
Ⅰ. 请说明操作系统及DS的版本号:
Ⅱ. 问题描述:
Ⅲ. 期望的结果:
只弹一次窗口
Ⅳ. 如何复现问题?
遇到端口被占用的时候就会出现这个情况
Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在
${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
文件内容: