Unable to install esp-idf in VSCode
Posted: Mon Apr 07, 2025 3:23 pm
Hello ESP32 forum,
Newbie here, having issues with esp-idf extension for (newly installed) VSCode...
I've tried different version of esp-idf and different download site but error is still the same:
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.
By downloading and using the offline installer from https://dl.espressif.com/dl/esp-idf you might be able to work around this issue.
See the help on how to disable constraints in order to work around this issue.
non zero exit code 1
Python 3.11.2
pip 22.3.1 from C:\Users\misko\.espressif\python_env\idf5.4_py3.11_env\Lib\site-packages\pip (python 3.11)
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.
By downloading and using the offline installer from https://dl.espressif.com/dl/esp-idf you might be able to work around this issue.
See the help on how to disable constraints in order to work around this issue.
I've attached (zipped) esp doctor log.
Does anyone know how to fix this? Thanks!
Newbie here, having issues with esp-idf extension for (newly installed) VSCode...
I've tried different version of esp-idf and different download site but error is still the same:
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.
By downloading and using the offline installer from https://dl.espressif.com/dl/esp-idf you might be able to work around this issue.
See the help on how to disable constraints in order to work around this issue.
non zero exit code 1
Python 3.11.2
pip 22.3.1 from C:\Users\misko\.espressif\python_env\idf5.4_py3.11_env\Lib\site-packages\pip (python 3.11)
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
Downloading https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt
Destination: C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
WARNING: Download failure: [ASN1] nested asn1 error (_ssl.c:4004)
WARNING: Failed to download https://dl.espressif.com/dl/esp-idf/esp ... s.v5.4.txt to C:\Users\misko\.espressif\espidf.constraints.v5.4.txt.tmp
ERROR: Failed to download, and retry count has expired
Please make sure you have a working Internet connection.
By downloading and using the offline installer from https://dl.espressif.com/dl/esp-idf you might be able to work around this issue.
See the help on how to disable constraints in order to work around this issue.
I've attached (zipped) esp doctor log.
Does anyone know how to fix this? Thanks!