Skip or time out network requests during board list
#2769
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Describe the request
Add an option to skip network requests when using
arduino board list
or at least an option to set a timeout when estabilishing an HTTP connection (--http-connect-timeout
option similar to--discovery-timeout
?)Describe the current behavior
Running
arduino board list
on a system that has network access but no internet (without a proxy) results in the process being stuck during the Querying builder API for board identification... step for 260 seconds:To work around this I'm currently forcing
builder.arduino.cc
to127.0.0.1
in/etc/hosts
:Arduino CLI version
arduino-cli Version: nightly-20241128 Commit: 6cd084b Date: 2024-11-28T01:35:05Z
Operating system
Linux
Operating system version
Ubuntu 20.04.6 LTS
Additional context
I'm preparing a Linux installation image with preconfigured arduino-cli that will be used on PCs without access to the internet, so every time a new, unrecognized board is connected, the
board list
command takes a long time.Issue checklist
The text was updated successfully, but these errors were encountered: