Hi all, I have new PC running Windows 10 x64 and for some reason I can't download ESPAsyncTCP library. What do I miss?
The error I get is:
no protocol:
java.lang.RuntimeException: java.net.MalformedURLException: no protocol:
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:250)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(URL.java:593)
at java.net.URL.<init>(URL.java:490)
at java.net.URL.<init>(URL.java:439)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:60)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.libraries.LibraryInstaller.performInstall(LibraryInstaller.java:148)
at cc.arduino.contributions.libraries.LibraryInstaller.install(LibraryInstaller.java:118)
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:240)
... 1 more
I don't think the problem is on your system. I just tried to install "AsyncHTTPRequest_Generic" and got the same "no protocol" error.
no protocol:
java.lang.RuntimeException: java.net.MalformedURLException: no protocol:
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:250)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.MalformedURLException: no protocol:
at java.net.URL.<init>(URL.java:611)
at java.net.URL.<init>(URL.java:508)
at java.net.URL.<init>(URL.java:457)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:60)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.libraries.LibraryInstaller.performInstall(LibraryInstaller.java:148)
at cc.arduino.contributions.libraries.LibraryInstaller.install(LibraryInstaller.java:118)
at cc.arduino.contributions.libraries.ui.LibraryManagerUI.lambda$onInstallPressed$4(LibraryManagerUI.java:240)
... 1 more
I have installed "ESP_DoubleResetDetector" and "LittleFS_esp32" but didn't work for me in regards of "ESPAsyncTCP". By "installed" I mean that I have downloaded the files from github remove -master from the name and copy/paste it into libraries.
Can you please give me some more specific info of what steps did you take?
Using Tools -> Manage Libraries..., I started by putting 'ESPAsyncTCP' in the 'filter' field (top right of the dialog). The only match was "AsyncHTTPRequest_Generic" by Khol Hoang. I tried clicking on the "Install" button and got the same error as you after a dialog listing about six dependencies. After that failed I started installing the dependencies individually (putting the library name in the filter field and clicking on Install). After a couple of those it showed that AsyncHTTPRequest_Generic was installed. I'm not sure all the dependencies are installed but the compiler will point out any missing libraries if they are needed.
I had the same problem, and I saw that many people are also having this problem.
I couldn't install the ESPAsyncTCP library through the Arduino IDE, but I managed to get it to work manually. This library needs 06 other libraries to work, which are:
LittleFS_esp32
ESP_DoubleResetDetector
ESPAsync_WiFiManager
STM32duino LwIP
STM32duino STM32Ethernet
WebServer_WT32_ETH01
These were the steps I used:
1 - Install the LittleFS_esp32, ESP_DoubleResetDetector, STM32duino LwIP, STM32duino STM32Ethernet and WebServer_WT32_ETH01 libraries one by one, in this sequence. The ESPAsync_WiFiManager library is installed along with the first two;
I have submitted a fix for the invalid metadata in the "AsyncHTTPRequest_Generic" library that triggers this error in the Arduino IDE:
The Arduino IDE developers are tracking the need to improve communication about the problem when the library can't be installed due to invalid metadata here:
Also a discussion about preventing the addition of such libraries to the Arduino Library Manager here: