chocolatey / chocolatey/choco

Operation timeout installing python with all timeout overrides specified

Open
#2,009 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

The below timed out within 45 seconds. All timeouts I could think of were overwritten.

```
C:\Users\travis\build\pybuilder\pybuilder>choco config set --name="'webRequestTimeoutSeconds'" --value="'3600'"
Chocolatey v0.10.15
Updated webRequestTimeoutSeconds = 3600
C:\Users\travis\build\pybuilder\pybuilder>choco config set --name="'commandExecutionTimeoutSeconds'" --value="'14400'"
Chocolatey v0.10.15
Updated commandExecutionTimeoutSeconds = 14400
C:\Users\travis\build\pybuilder\pybuilder>choco install -y python3 --version=3.8.2 --timeout=14400
Chocolatey v0.10.15
Installing the following packages:
python3
By installing you accept licenses for the packages.
Progress: Downloading python3 3.8.2... 100%
python3 not installed. An error occurred during installation:
The operation has timed out
python3 package files install completed. Performing other installation steps.
The install of python3 was NOT successful.
python3 not installed. An error occurred during installation:
The operation has timed out
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- python3 (exited 1) - python3 not installed. An error occurred during installation:
The operation has timed out
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the shown Chocolatey commands and inspect C:\ProgramData\chocolatey\logs\chocolatey.log. Compare the configured webRequestTimeoutSeconds, commandExecutionTimeoutSeconds, and --timeout values with the observed 45-second failure; done means the specified timeout is honored during the python3 3.8.2 installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.