Skip to content

Increase default value for network.connection_timeout #3013

@MarkWendler

Description

@MarkWendler

Describe the request

Increase the default value of the network.connection_timeout configuration key to 5? minutes.

Reasons:

  • CI/CD systems work by default configs and
  • out of the box usability for beginners

Describe the current behavior

Installing a platform that requires the download of large files fails:

SiliconLabs:silabs@3.0.0 context deadline exceeded
Error during install: context deadline exceeded

The failure no longer occurs after I increase the value of the network.connection_timeout configuration key from its default of 60s:

arduino-cli config set network.connection_timeout 240s

To reproduce

Install the SiliconLabs:silabs platform on a machine with a slower Internet connection:

arduino-cli core install SiliconLabs:silabs

or:

arduino-cli core install esp32:esp32 --additional-urls https://espressif.github.io/arduino-esp32/package_esp32_index.json

Arduino CLI version

1.3.1

Operating system

Linux

Operating system version

Ubuntu WSL

Additional context

Additional reports

Related

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the nightly build
  • My request contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions