core install
command ignores network.proxy
configuration
#2888
Labels
topic: code
Related to content of the project itself
topic: package-management
Related to the packaging and managing of the platform/libraries
type: imperfection
Perceived defect in any part of project
Milestone
Describe the problem
Arduino CLI must access the Internet for various operations. It can be configured to use a proxy server via the
network.proxy
configuration key.🐛 The
network.proxy
configuration key is ignored by thecore install
command.To reproduce
Setup
Demonstration of correct operation pre-regression
🙂 The operation failed due to the non-functional proxy configuration, proving that the
core install
command does use the configured proxy for its downloads.Demonstration of incorrect operation post-regression
🐛 The installation was successful even though Arduino CLI was configured to use a non-functional proxy. This proves that the
core install
command does not use the configured proxy for its downloads.Demonstration of correct operation of
lib install
command🙂 The operation failed due to the non-functional proxy configuration, proving that the
lib install
command does use the configured proxy for its downloads.Expected behavior
All operations that access the Internet respect the
network.proxy
configuration.Arduino CLI version
23ed1b1
Operating system
Windows
Operating system version
Additional context
I bisected the regression to 1fddba7 / #2565 (does not occur when using the build at the previous commit 6320f6e).
Issue checklist
The text was updated successfully, but these errors were encountered: