docmirror / docmirror/dev-sidecar

检查更新失败

Open
#683 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug known issues
Dominant language
JavaScript
Stars
24.1k
Forks
3k
Avg merge
3d 3h
Merged PRs (30d)
1

Description

  • 你是否在现有 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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with gui.log in ${user.home}/.dev-sidecar/logs/ and reproduce the failed update check on Windows 10 with DS 2.2.0. Trace the autoUpdater checkForUpdates flow and certificate error, then verify that the Check for Updates action completes successfully with and without a proxy.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, node.js
Domain
desktop, networking, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.