Skip to content
Discussion options

You must be logged in to vote

Cross-reference: this failure mode is already documented in #6338.

On Windows, antivirus HTTPS scanning (Kaspersky in the confirmed case) re-signs api.deepseek.com with its own local root CA. The Windows certificate store trusts that root, but Node's bundled CA set does not, so every request fails with SELF_SIGNED_CERT_IN_CHAIN after the retry sequence — which surfaces in dsh only as DeepSeek API request to https://api.deepseek.com failed.

Quick check:

node -e "fetch('https://api.deepseek.com').then(r=>console.log('HTTP',r.status)).catch(e=>console.error(e, e.cause))"

If that prints SELF_SIGNED_CERT_IN_CHAIN, the one-variable workaround is:

setx NODE_USE_SYSTEM_CA 1

then open a new shell …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 17-qxm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants