Can't install Espressif IDF tools in VScode

fuhongshuo
Posts: 2
Joined: Sat Sep 25, 2021 1:58 pm

Can't install Espressif IDF tools in VScode

Postby fuhongshuo » Sat Oct 02, 2021 1:20 pm

there is OUTPUT below . I have tried hundreds times, how can I fix it?
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf ... -win64.zip
Waiting 8 seconds...
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf ... -win64.zip
Waiting 16 seconds...
Error: certificate has expired
at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
at TLSSocket.emit (events.js:315:20)
at TLSSocket._finishInit (_tls_wrap.js:932:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
Failed download. Retrying...
Error: Error: HTTP/HTTPS Request error https://dl.espressif.com/dl/idf-git/idf ... -win64.zip
Installing C:\Users\13776\.espressif\tools\idf-git\2.30.1 ...
Error during ESP-IDF setup

bytearray
Posts: 1
Joined: Sun Oct 03, 2021 11:54 am

Re: Can't install Espressif IDF tools in VScode

Postby bytearray » Sun Oct 03, 2021 12:01 pm

I had the same problem just now, it looks like Espressif keeps allowing this HTTPS certificate error to happen for a few years now without providing a clear answer how to workaround it let alone fix it for good.

So I spent a few hours and came to this workaround: use the offline installer available here https://dl.espressif.com/dl/esp-idf/

It worked for me, I was installing the ESP-IDF extension for VSCode when I came across the problem, but after downloading and installing the large offline installer, I went back to VSCode and managed to successfuly configure the ESP-IDF extention.

I hope it also works for you and everybody else that eventually finds this post. Cheers.

User avatar
ESP_Roland
Posts: 265
Joined: Tue Oct 09, 2018 10:28 am

Re: Can't install Espressif IDF tools in VScode

Postby ESP_Roland » Mon Oct 04, 2021 6:24 am


Who is online

Users browsing this forum: Baidu [Spider] and 84 guests