• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

No "https://dl.espressif.com/dl/package_esp32_index.json"

Q&A Forum › Category: ESP32 › No "https://dl.espressif.com/dl/package_esp32_index.json"
0 Vote Up Vote Down
matt minasi asked 4 years ago

I can’t find it on the Arduino site either. Can you please provide the correct link?

9 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Matt.
Can you try to give more details about the issue you’re facing?
That is the correct link to insert in the Additional Boards field. What happens when you paste that link into your Arduino IDE?
Regards,
Sara

0 Vote Up Vote Down
matt minasi answered 4 years ago

Sara,
I did more debugging and I’m getting the error in the Arduino IDE that it can’t download the files…
My OS:Win10
Arduino 1.8.13.
I think its work based security issue because I can get it to work on my Win7 PC….
When I click directly on the link I can see the script. So I’m wondering if u folks know of a way I can manually download the files so theyre local on my machine to avoid this issue?

Also I tried to paste a snip of the error dialog from the Arduino IDE but this interface won’t let me paste it…

Thanks!

0 Vote Up Vote Down
matt minasi answered 4 years ago

Error log from Arduino IDE

0 Vote Up Vote Down
matt minasi answered 4 years ago

Arduino.jpg

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Matt.
To share an image, share a link to google drive, dropbox or imgur, for example.
Restart your Arduino IDE and try again.

You may also be facing this issue: https://randomnerdtutorials.com/solved-arduino-ide-esp32-esp8266-installation/

The link shows how to solve it.

Regards,
Sara

0 Vote Up Vote Down
matt minasi answered 4 years ago

Nope. Deleted everything in the that directory and still have the same issue. I found the in the logs where its having an issue establishing a “secure” connection to the server… 
Still can’t share the log file. Is there a different interface for this forum? This one doesn’t work.

0 Vote Up Vote Down
matt minasi answered 4 years ago

cutting and pasting the log file here…
2021-04-29T20:59:41.265Z DEBUG c.a.u.n.HttpConnectionManager:125 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Using proxy DIRECT
2021-04-29T20:59:42.407Z INFO c.a.u.n.HttpConnectionManager:153 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Connect to https://builder.arduino.cc/builder/v1/boards/0x0403/0x6001, method=GET, request id=B510A0F2088F4334
2021-04-29T20:59:42.753Z WARN p.a.h.BoardCloudResolver:79 [cc.arduino.packages.discoverers.serial.SerialDiscovery] Error during get board information by vid, pid
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946) ~[?:1.8.0_191]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316) ~[?:1.8.0_191]
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310) ~[?:1.8.0_191]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639) ~[?:1.8.0_191]
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223) ~[?:1.8.0_191]
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037) ~[?:1.8.0_191]
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) ~[?:1.8.0_191]
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) ~[?:1.8.0_191]
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) ~[?:1.8.0_191]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162) ~[?:1.8.0_191]
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:155) ~[arduino-core.jar:?]
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:112) ~[arduino-core.jar:?]
at processing.app.helpers.BoardCloudResolver.getBoardBy(BoardCloudResolver.java:61) [arduino-core.jar:?]
at cc.arduino.packages.discoverers.serial.SerialDiscovery.forceRefresh(SerialDiscovery.java:183) [arduino-core.jar:?]
at cc.arduino.packages.discoverers.serial.SerialDiscovery$1.run(SerialDiscovery.java:96) [arduino-core.jar:?]
at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_191]
at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_191]
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) ~[?:1.8.0_191]
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) ~[?:1.8.0_191]
at sun.security.validator.Validator.validate(Validator.java:262) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:1.8.0_191]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) ~[?:1.8.0_191]
… 17 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~[?:1.8.0_191]
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~[?:1.8.0_191]
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) ~[?:1.8.0_191]
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) ~[?:1.8.0_191]
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) ~[?:1.8.0_191]
at sun.security.validator.Validator.validate(Validator.java:262) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) ~[?:1.8.0_191]
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) ~[?:1.8.0_191]
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) ~[?:1.8.0_191]
… 17 more
2021-04-29T21:00:03.835Z INFO c.a.c.p.ContributionInstaller:305 [ContributionManager Update Thread] Start download and signature check of=[https://arduino.esp8266.com/stable/package_esp8266com_index.json, https://downloads.arduino.cc/packages/package_index.json%5D
2021-04-29T21:00:03.838Z INFO c.a.u.n.FileDownloaderCache:92 [ContributionManager Update Thread] Cache folder C:\Users\mattmi\AppData\Local\Arduino15\cache
2021-04-29T21:00:03.858Z INFO c.a.u.n.FileDownloaderCache:149 [ContributionManager Update Thread] Get file cached is expire true, exist false, info FileCached{eTag=’null’, lastETag=’null’, remoteURL=’https://arduino.esp8266.com/stable/package_esp8266com_index.json’, localPath=’C:\Users\mattmi\AppData\Local\Arduino15\cache\arduino.esp8266.com\stable\package_esp8266com_index.json’, md5=’null’, createdAt=’2021-04-29T14:00:03.846′, cacheControl=null}
2021-04-29T21:00:03.859Z DEBUG c.a.u.n.HttpConnectionManager:125 [ContributionManager Update Thread] Using proxy DIRECT
2021-04-29T21:00:03.859Z INFO c.a.u.n.HttpConnectionManager:153 [ContributionManager Update Thread] Connect to https://arduino.esp8266.com/stable/package_esp8266com_index.json, method=HEAD, request id=D0A90FA9575F4F3E
2021-04-29T21:00:04.044Z ERROR c.a.u.n.FileDownloader:199 [ContributionManager Update Thread] The request stop
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
After searching for a while in different forums, it is not easy to find what might be causing the issue.
Some suggest updating Java. Can you install/update Java on your computer?
https://java.com/en/download/
Regards,
Sara

0 Vote Up Vote Down
Steve Mercer answered 4 years ago

Are you behind a proxy? Or maybe a VPN? Either of these can cause connection issues. Maybe you are on your work network and they disallow some URL’s?

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.