Skip to content

检查更新失败 #683

Description

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

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

  1. 操作系统:win10
  2. DS版本号:2.2.0最新版

Ⅱ. 问题描述:

无法检查更新,报错检查更新失败:Error: unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
重新安装过证书,可以正常联网,无论是否开启代理都不能正常检查更新,重新安装过软件。

Ⅲ. 期望的结果:

修复或提供修复方法

Ⅳ. 如何复现问题?

  1. 打开ds
  2. 点击检查“检查更新”按钮

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

点击查看日志

gui.log

[2026-08-12T16:23:34.836] [INFO] gui - win ipc-message: update { key: 'checkForUpdate', fromUser: true }
[2026-08-12T16:23:34.837] [INFO] gui - autoUpdater checkForUpdates: true
[2026-08-12T16:23:36.525] [ERROR] gui - 检查更新失败: Error: unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
    at TLSSocket.onConnectSecure (node:internal/tls/wrap:1656:34)
    at TLSSocket.emit (node:events:509:28)
    at TLSSocket._finishInit (node:internal/tls/wrap:1102:8)
    at ssl.onhandshakedone (node:internal/tls/wrap:888:12) {
  code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}

Ⅵ. 没有修改过running.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingknown issues确认存在的问题

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions