-
-
Notifications
You must be signed in to change notification settings - Fork 7k
File signature verification failed on package_index.json #7103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @webstone13 ,
and restart the library manager. |
Hi @facchinm, Thanks for the help. |
You need to remove all .sig , .json and .tmp in that folder to make sure that everything gets redownloaded. To make sure that nothing happens in the background, keep the IDE closed while doing it. |
@facchinm |
Sorry if I was not clear enough, the problem seems related with Arduino-provided json (the default one called |
Dear @facchinm |
Does your Arduino15 folder only contained that files? No other .json or .sig? I'm starting to think that it could be a problem related with a very strict antivirus running in the background and deleting random files it thinks could harm the system. Try adding the Arduino15 folder to its whitelist and/or check if the needed files (namely |
Dear @facchinm What you are suggesting maybe true. It may be possible as I am trying this on my office PC which is quite secured. Thanks anyway. |
I'm closing the issue in the meantime, changing the title so it may be easier to find if someone else encounters it. Thanks for your time. |
Please open the issue again. I get this message on two different computers one on version 1.8.4 and one on 1.8.5: "http://downloads.arduino.cc/packages/package_index.json file signature verification failed. File ignored." I deleted the 1.8.5 version's Arduino15 directory and reinstalled the IDE a few times without success. |
+1 |
@jhedup @ankitdaf I just retested it from a clean installation and the signatures are ok. So the problems could be related with:
|
Still facing the same issue, cannot download SAM boards core because of this. I think most users are facing this. I'm trying to setup my IDE to program an STM32 board but it is dependent on the SAM core, I had to use arduino 1.6.5 as it ignores the file signature verification. Updating it to the latest version doesn't work as it uninstalls the previous version and it starts throwing errors on the console. Even this youtuber I follow has this error shown in one of the videos he made :p https://youtu.be/EaZuKRSvwdo?t=2m31s here's the link to it. Anyway I did find a work around, by installing the portable version of arduino 1.6.5 then copying the tools from that to arduino15 in appdata/local. It still throws errors but I am able to program my STM32 this way. Hope to find a fix soon thx. |
Ok I think something was wrong with my JAVA installation and my router. I restarted my router without PPPOE and setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true pasted this in CMD. Now it's working fine, but i'm really not sure of what was actually causing it. I doubt my Pi-Hole had anything to do with this but it could be a reason for it. |
@facchinm Apologies for the slow response, I am just a weekend warrior. I uninstalled Arduino IDE, deleted Arduino15 folder and manually deleted most reference to Arduino in the Windows 10 registry. I still found the same problem after installing 1.8.5. I will now test over a different network and let you know. |
Connected via my mobile ISP on both my note books, one on 1.8.4 left as is as control and the one on 1.8.5 with the fresh install. No success on both. Next up is to check the java settings and turn off anti virus. |
Why don't you use 1.6.5r5 temporarily till a permanent fix is found? I'm trying my best to figure it out but my main suspicion is my internet or PPPOE. Was hoping that the issue would come back so that I can find out the exact cause and it did :p after a reboot it started throwing the same errors again, downloading the latest version of java didn't help. |
Okay it is definitely a network issue. When I switched over to my mobile network, it immediately started working, but on wifi it keeps throwing the same error. Probably related to PPPOE as disabling that helped me download on my home internet. Will get back with more info soon. |
@sheltoncyril Thanks for the update. I tried your Java setting, also did not help. In my case changing the network had not solved the problem. I will use the 1.6.5r5 as you suggested in the mean time. |
@facchinm Thank you for fixing! During the week the Boards Managers complained about a file error but now both my fresh 1.6.5.r.5 and my untouched 1.8.4 left as control works. After upgrading 1.6.5.r5 back to 1.8.5 I am happy to say that the reported error now longer occurs. |
Sorry I couldn't get back, was kinda busy with my exams :D hope I helped you. @facchinm the issue seems to be fixed now, would like to know why this was occuring. |
I was also facing same issue like signature error. I just connected My PC with my sim card data network and try to download and it works for me. that was network issue that's why it was not working. Thanks for your support. |
Same here with 1.8.9. Can it be IPv6 related issue? |
@red-scorp there's a newer issue report for this error which might be more relevant to your situation: #8988 You can provide the information requested on that thread to assist with the investigation. |
@red-scorp You were right! After hours of unsuccessful attempts, changing the run.options to run.options=-Djava.net.preferIPv4Stack in preferences.txt fixed the issue for me. |
@chrisly42 unfortunately it does not help in my case |
Allowing access for arduino.exe in Windows 10 sec. did the job. |
hello together, H |
Hi to all. |
Solved!. I did nothing. I believe that the error was caused by the restrictions, filtering and blocking of the Internet service that we have in my country :( |
Experiencing the same issue under Ubuntu 20.04, Arduino 1.8.15 installed from the tar file. Ran the install script for local install, then straight to the library manager. The IDE itself displays the error:
I run no AV, am not behind NAT (machine directly on a public IPv4 address), and have no firewall rules that could impact operation. From the output in the console, it appears that MD5 validation is failing. I have attached all the output in a zip file. The file: {
"files" : [ {
"remoteURL" : "https://downloads.arduino.cc/libraries/library_index.json.sig",
"localPath" : "/home/playaspec/.arduino15/cache/downloads.arduino.cc/libraries/library_index.json.sig",
"eTag" : "cb2d350a22052a61dafc54fbd47c7796",
"md5" : "MD5:cb2d350a22052a61dafc54fbd47c7796",
"createdAt" : "2021-07-29T12:35:50.983",
"cacheControl" : {
"maxAge" : 14400,
"mustRevalidate" : false,
"noCache" : false,
"noStore" : false
},
"expires" : "2021-07-29T16:35:50.983"
}, {
"remoteURL" : "https://downloads.arduino.cc/libraries/library_index.json",
"localPath" : "/home/playaspec/.arduino15/cache/downloads.arduino.cc/libraries/library_index.json",
"eTag" : null,
"md5" : null,
"createdAt" : "2021-07-29T12:35:51.152",
"cacheControl" : {
"maxAge" : 14400,
"mustRevalidate" : false,
"noCache" : false,
"noStore" : false
},
"expires" : "2021-07-29T16:35:51.152"
}, {
"remoteURL" : "https://downloads.arduino.cc/libraries/library_index.json.gz",
"localPath" : "/home/playaspec/.arduino15/cache/downloads.arduino.cc/libraries/library_index.json.gz",
"eTag" : "f9c1b4cc8618c2562a012ae1abe66ba4",
"md5" : "MD5:f9c1b4cc8618c2562a012ae1abe66ba4",
"createdAt" : "2021-07-29T12:36:41.202",
"cacheControl" : {
"maxAge" : 14400,
"mustRevalidate" : false,
"noCache" : false,
"noStore" : false
},
"expires" : "2021-07-29T16:36:41.202"
} ]
} The entry for Is it possible that the Could someone please do their due diligence and verify that content on the Arduino's CDN is trustworthy, and explain the root cause of this ongoing problem once it is resolved? About to hit Hope this all helps. |
Has anyone programmed XMC microcontroller by Infineon Technologies using Arduino IDE?
I tried as per the steps given in the GitHub repo of Infineon. Below is the link of the same:
https://github.com/Infineon/XMC-for-Arduino/wiki/Implementation-in-Arduino-IDE
After I copied the .json url in the preferences, I am getting following error:
http://downloads.arduino.cc/packages/package_index.json file signature verification failed. File ignored.
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
Index error: could not find referenced tool name=arm-none-eabi-gcc version=4.8.3-2014q1 packager=arduino
What can be a possible solution for it? I am running Arduino IDE 1.8.5 on Windows 10. Is this has anything to do with it?
EDIT by @per1234 2018-01-09:
Also posted at http://forum.arduino.cc/index.php?topic=521746
The text was updated successfully, but these errors were encountered: