I am trying to download esp32 on my company's computer, but it just cannot process it. I have the correct URLs in preferences, and I even cleared the app data, but nothing seems to work. It keeps showing
Failed to install platform: 'esp32:esp32:3.0.1'.
Error: 2 UNKNOWN: stream error: stream ID 1; NO_ERROR; received from peer
I have the same issue:
Failed to install platform: 'esp32:esp32:3.0.3'.
Error: 2 UNKNOWN: stream error: stream ID 1; NO_ERROR; received from peer
The package download fails on my Windows 11 laptop, but works on my Windows 10 Laptop, same location, same network, no proxy. Also, my Windows 11 laptop can download the Arduino AVR Boards package with no issue. It appears that some of the ESP32 packages are loaded properly:
Downloading packages
esp32:esp32-arduino-libs@idf-release_v5.1-dc859c1e67
esp32:esp-x32@2302
esp32:esp-xs2@2302
esp32:esp-xs3@2302
esp32:xtensa-esp-elf-gdb@12.1_20231023
esp32:esp-rv32@2302
esp32:riscv32-esp-elf-gdb@12.1_20231023
esp32:openocd-esp32@v0.12.0-esp32-20240318
esp32:esptool_py@4.6
esp32:mkspiffs@0.2.3
Failed to install platform: 'esp32:esp32:3.0.3'.
Error: 2 UNKNOWN: stream error: stream ID 1; NO_ERROR; received from peer
This is very frustrating...
I'm not sure, but it looks like the issue is not in downloading the files, It appears in the installation of the core module. I have allowed the Arduino IDE executable in Windows Defender to communicate across all network types (Domain, Private and Public). How does it communicate when it starts the installation process?