Cant download Esp-32 board manager

I cant seem to download the esp-32 board manager when ever I try it says this "Failed to install platform: 'esp32:3.3.2'. 2 UNKNOWN: Get "https://github.com/espressif/arduino-esp32/releases/download/3.3.2/esp32-3.3.2-libs.zip": dial tcp 68.105.28.18:443: connectex: No connection could be made because the target machine actively refused it." I have tried connecting to a hotspot but its too slow.

I don't think that I can really help but is there anything special about your networking setup? E.g. corporate network or corporate computer?

Are you installing after adding the additional URL? That is no longer needed as the esp32 boards are built-in just like the AVR boards.
I see you are running Linux, have you set the permissions?
No idea why a hotspot would change anything.
Here is my 'additional URLs'

https://arduino.esp8266.com/stable/package_esp8266com_index.json
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
https://siliconlabs.github.io/arduino/package_arduinosilabs_index.json

and here is screenshot of the Boards Manager

Sorry but I'm not in linux, Im acutualy on windows. Are there permissions that need to be set? Also should it already be installed because mines does not say removed. Also I have not put anything into the additional Url. I also tried yout additional Urls, they also said the same message when I went to boards manager and tried installing the esp32 by exprressif systems

I don't see the URL filled in yet.
https://espressif.github.io/arduino-esp32/package_esp32_index.json
Nothing will download without a link to where to download from...

You don't need that after Arduino decided to add it to their list. The board package shows in the left pane.

Put it otherwise: you also don't see an additional URL for the AVR board package in your system :wink:

I had a similar problem due to speed. Github will disconnect if you take too long.
Use the chinese mirror instead

It works but does take a long time.

Just click the install buttons you are showing in your screen grab. NO additional URL's are needed unless you plan on working with esp8266 or any RP2040 etc board or one of the newer SI labs based boards.

That message that mentions 'dial' is usually seen on Linux boxes.
The error 'dial tcp 68.105.28.18:443: connectex:' may also be associated with a virtual machine.

I have no idea why you would use a hotspot.

Something in your environmnet is different but until you tell us everything about it it will be hard to help.
Good luck.

From reports, and from my own experiments, this has been resolved:

https://github.com/orgs/community/discussions/169381#discussioncomment-14582859

However, the Chinese mirror is certainly worth a try anyway. Even if no longer needed as a workaround for the GitHub release asset token expiration problem, it might well serve as a workaround for whatever mysterious problem is causing @cookielove287's "No connection could be made because the target machine actively refused it." problem.

Thank you
Just tried it and I also confirm it does now work.

Im asuming what you mean by the chinese mirror link is this one: "HTTPs://jihulab.com/esp-mirror/espressif/arduino-esp32/-/raw/gh-pages/package_esp32_index_cn.json" I pasted this into the prefernces other links and tried downloading esp-32 by expressif in boards manager again. Still does not work same error message. Im not sure if this is how its suppose to work but in tools>boards it says "esp32 Arduino (in sketchbook)". Does this mean its already installed? Also I am not using my hotspot any more Im using my home wifi. Also is there any way for manual installation?


For more information, I am on Windows 11.

Yes, but not via Boards Manager. The "(in Sketchbook)" suffix on the menu item means you manually installed the platform under the hardware subfolder of your sketchbook folder.

Yes, you can follow the instructions here to perform a manual installation:

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html#windows-manual-installation

However, you have already done some manner of manual installation. I don't understand how you could possibly fail to remember having performed such a significant operation.

So I can already code with esp32? or do I still need to install the esp32 by expressif because that still does not work. When I try to access "GitHub - espressif/arduino-esp32: Arduino core for the ESP32" for the manual installtion, it always says the same thing, fatal error, failed to connect. This might also be the problem when I try to install through board manager.

Why not just give it a try?

That will depend on whether or not you correctly performed the manual installation. Since you don't even remember having done it, I'm a bit doubtful that you did accomplish the fairly complex procedure. However, it is possible.

I dont think it will work, because the manual installtion wants to put it into OneDrive\Documents\Arduino\hardware\espressif\esp32 library stuff but when I try to acess https://github.com, it does not allow me too but on the browser it does. I think this is the main problem when trying to manual install and could also be the problem why I cant install from arduino

Why are you still trying to install when it looks like it is already installed.

because its not, there is nothing in the file so I Have not installed it, Im not sure why its in arduino ide

What file?

I guess directory :wink:

Then how do you get this below ?

Please give us a screenshot of the full open view of the left plane , with ESP32 typed into the search bar.
Show this hidden part.