Добавление платы ESP8266 в менеджер плат
- Войдите на сайт для отправки комментариев
Пт, 10/08/2018 - 20:37
Здравствуйте, господа форумчане. Вот на днях решил поиграться с ESP-12F, но уже застрял на этапе добавления этой платы в менеджер.
В настройках ввел этот адрес: http://arduino.esp8266.com/stable/package_esp8266com_index.json
Захожу в менеджер плат, нахожу esp, выбираю самую последнюю версию, нажимаю установить, но постоянно выдает данную ошибку:
Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... java.lang.RuntimeException: java.lang.Exception: Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$1(ContributionManagerUI.java:176) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.Exception: Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:131) at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:69) at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:102) at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$1(ContributionManagerUI.java:173) ... 1 more Caused by: 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) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:170) at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128) at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:129) ... 4 more 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) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496) ... 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) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) ... 23 more Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... java.lang.RuntimeException: java.lang.Exception: Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$1(ContributionManagerUI.java:176) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.Exception: Возникла ошибка при загрузке https://github.com/esp8266/Arduino/releases/download/2.4.2/esp8266-2.4.2... at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:131) at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:69) at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:102) at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$1(ContributionManagerUI.java:173) ... 1 more Caused by: 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) at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302) at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514) at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216) at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026) at sun.security.ssl.Handshaker.process_record(Handshaker.java:961) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185) at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153) at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:170) at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128) at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:129) ... 4 more 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) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) at sun.security.validator.Validator.validate(Validator.java:260) at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1496) ... 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) at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) ... 23 more
Я пробовал выбирать разные версии, пробовал писать другую ссылку, но всегда эта ошибка. Помогите пожалуйста.
Версия IDE 1.8.5
может фаервол какой блокирует или еще чего. у меня нормально все добавилось.
Чем заменить sscanf для ESP? Кто-нибудь со строками работал на этих модулях?
Я работал со строками. Что не так с sscanf?
если под IDE, то выдает ошибку, приходится извращаться иными способами, чтобы из строки извлечь что-то
Arduino IDE 1.8.6, библиотека esp8266 Arduino 2.4.1 - нет ошибок при компиляции кода с функцией sscanf. Может, вы её готовить не умеете? ;)
хз, в ардуино компилится, в nodeMCU нет, надо смотреть будет )) Но не у меня одного такая проблема, и англоязычные мучаются в т.ч. и наши.
Спасибо, ваш совет очень помог. Только я скачал все пакеты, без полного комплекта не устанавливалось.
Доброе время суток. Помогите с решением даной проблемы:
http://arduino.esp8266.com/stable/package_esp8266com_index.json ошибка проверки сигнатуры файла. Файл проигнорирован.
Это сообщения в ком.строке, не могу подкючить платы esp8266, пользуюсь arduino-1.8.8