henrymilk
Hi Thiago!

BR here with slow connection 😐
I'm on linux and trying to compile a code for ESP32 and it seems the libraries download timeout is set to 60s and canceling the process.

Cheers!  
esp32:esp-rv32@2511 339.98 MiB / 570.93 MiB 59.55% 00m39s
[12-04-26 20:56:17] [INFO]: esp32:esp-rv32@2511 context deadline exceeded (Client.Timeout or context cancellation while reading body)
[12-04-26 20:56:17] [INFO]:
[12-04-26 20:56:17] [ERROR]: Arduino CLI process exited with code 1
[12-04-26 20:56:17] [ERROR]: Error during install: context deadline exceeded (Client.Timeout or context cancellation while reading body)
[12-04-26 20:56:17] [ERROR]: Stopping compilation process.
 
Reply 0 0
henrymilk
I'm trying a workaround and I fond the file URL.
"https://github.com/espressif/crosstool-NG/releases/download/esp-14.2.0_20251107/riscv32-esp-elf-14.2.0_20251107-x86_64-linux-gnu.tar.gz"

But I'm not sure where to extract.

btw I'm running from .AppImage file.
Reply 0 0
thiagoralves
That’s an arduino-cli bug. The version that comes bundled with OpenPLC editor v4.1.4 has a timeout bug. We are going to release a next version soon and it is going to come with the latest arduino-cli that fixes this bug
Reply 1 0
thiagoralves
The workaround is to install Arduino IDE and then install the ESP32 from it
Reply 1 0
henrymilk
The workaround is to install Arduino IDE and then install the ESP32 from it
Thanks Thiago!
From the Arduino IDE the download worked like a charm!

Cheers! ✊
Reply 0 0
dan55
The workaround is to install Arduino IDE and then install the ESP32 from it
i am not folowing.....how to
Reply 0 0
dan55
i am not folowing.....how to
got it fig out
Reply 0 0
TiGer815
And how did you figure it out?
Reply 0 0
Write a reply...
Reply