Beginner here, on macOS Monterey, I have Arduino installed and it recognize my board, I get a message to update to 1.8.4 , I have 1.8.3 installed, when I select either update or install I get an error "unable to download" http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-apple-darwin14.tar.bz2
Please help.
Is there a reason why you would not update to the latest version rather than 1.8.4 ?
Thanks for responding,
Because I thought 1.8.4 is the latest available for a beginner running Mac Os with an Arduino Uno board, that is the latest that the pulldown menu on the update shows me. I there a later version?
See the link that I posted
Where exactly are you seeing the pulldown menu that you mentioned ?
Sorry I don’t see the link you refer to, please post it. What is the latest version that I should be using?
The pull down menu I refer to is in the update window that pops up while I am in the App.
Hi @UKHeliBob. This is about the Boards Manager update for the "Arduino AVR Boards" platform. The latest release version of that boards platform is 1.8.4:
Hi @bloodshots. I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
- Close all Arduino IDE windows.
- Start the Arduino IDE.
(this restart was done to start from a blank console pane) - Select Tools > Board > Boards Manager from the Arduino IDE menus.
- Wait for the index updates to finish.
- Attempt the update again, just as you did before.
- After the process fails, click the Close button.
- Click on the black console pane at the bottom of the Arduino IDE window.
- Press ⌘+A to select all the text.
- Press ⌘+C to copy the selected text to the clipboard.
- Open a forum reply here by clicking the Reply button.
- Click the
</>
icon on the post composer toolbar. This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press ⌘+V.
This will paste the copied text into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the Reply button to post the output.
Thanks for the clarification
type or p Error downloading http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-apple-darwin12.tar.bz2
java.lang.RuntimeException: java.lang.Exception: Error downloading http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-apple-darwin12.tar.bz2
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:179)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading http://downloads.arduino.cc/tools/avrdude-6.3.0-arduino17-x86_64-apple-darwin12.tar.bz2
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:145)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:79)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:108)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:138)
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:96)
at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:217)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)
... 5 moreaste code here
BTW, I was independently able to download the file avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-apple-darwin14 but I dont know how to do the install manually. I did this to see whether the problem was with Apple security, but apparently not.
It seems to be a permissions problem, when I log into my computer as root I am able to update it, but the update is only applied to the root user, when I login as myself I have the older version and I get the same error when trying to update.
Nice work troubleshooting! That is the next thing I was going recommend if the output didn't offer up a clear answer.
It is possible to do it fully manually, but there are several tools that must be installed under specific locations, so it is a little bit complicated. For this reason, it might be better to use a hybrid approach where you download the archive files manually, then use the Arduino IDE Boards Manager to install them from the staging location. This is possible because Boards Manager skips the files downloads if they are already present in the staging folder (it will still verify them against the checksum to make sure they are correct).
I'll provide instructions for that:
- Download http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-apple-darwin14.tar.bz2
- Move the downloaded file (
avr-gcc-7.3.0-atmel3.6.1-arduino7-x86_64-apple-darwin14.tar.bz2
) to this location on your computer:
(AKA/Users/<user name>/Library/Arduino15/staging/packages
~/Library/Arduino15/staging/packages
) - Try updating the "Arduino AVR Boards" platform once again using the Arduino IDE Boards Manager, just as you did before.
It must download multiple files, so it is possible you will run into the same type of error, but for a different URL this time. If so, you can repeat the instructions above for that new problematic URL.
Unfortunately, I don't have a good idea of what could be the solution to that. It would be good to try to figure it out so you aren't forced to use the tedious workaround I described above every time you need to install something via the Arduino IDE.
I really don't know much about macOS, but I do seem to recall people having odd problems like this related to running the Arduino IDE from the "quarantine" area or whatever it is called when you haven't formally installed the IDE yet.
I'm running into this issue as well
2021 Macbook Pro (M1 Pro)
MacOS Monterey 12.2.1
Arduino 1.8.19
This seems to be a permission problem of some form.
I have granted "Full Disk Access" to Arduino, but issue persists.
Any suggestions?
Error downloading http://downloads.arduino.cc/cores/core-ArduinoCore-megaavr-1.8.7.tar.bz2
java.lang.RuntimeException: java.lang.Exception: Error downloading http://downloads.arduino.cc/cores/core-ArduinoCore-megaavr-1.8.7.tar.bz2
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:179)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading http://downloads.arduino.cc/cores/core-ArduinoCore-megaavr-1.8.7.tar.bz2
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:145)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:79)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:56)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:100)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:172)
... 1 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:607)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
at sun.net.www.http.HttpClient.New(HttpClient.java:339)
at sun.net.www.http.HttpClient.New(HttpClient.java:357)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1226)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1205)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:138)
at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:96)
at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:217)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:176)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:125)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:143)
... 5 more
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.