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
Can't install Espressif IDF tools in VScode
-
- Posts: 2
- Joined: Sat Sep 25, 2021 1:58 pm
Re: Can't install Espressif IDF tools in VScode
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.
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.
- ESP_Roland
- Posts: 265
- Joined: Tue Oct 09, 2018 10:28 am
Re: Can't install Espressif IDF tools in VScode
The issue is tracked here: https://github.com/espressif/esp-idf/issues/7636
Who is online
Users browsing this forum: No registered users and 98 guests