"choco source" command line proxy parameters ignored
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
Chocolatey v0.10.15
The other currently existing proxy related issues do not completely match my experienced "symptoms".
### What You Are Seeing?
Choco completely ignores the proxy settings of a source
### What is Expected?
Choco should user the configured proxy
### How Did You Get This To Happen? (Steps to Reproduce)
1. I ran this command `choco source list`

1. I ran this command `choco config list`

1. I then ran this command `choco list`

1. I can see under the flowlog of my VM the call of the Nuget Server directly and not through the proxy

### System Details

### Output Log
Full Log Output
~~~sh
choc.summary.log
2022-10-11 10:08:37,366 872 [INFO ] - ============================================================
2022-10-11 10:08:37,688 872 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:08:37,986 872 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:08:38,038 872 [INFO ] - VWISProd - http://X.X.X.X/NugetRepo/nuget | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2022-10-11 10:09:02,066 1560 [INFO ] - ============================================================
2022-10-11 10:09:02,331 1560 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:09:02,666 1560 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:09:02,749 1560 [INFO ] - Settings
2022-10-11 10:09:02,762 1560 [INFO ] - cacheLocation = | Cache location if not TEMP folder. Replaces `$env:TEMP` value for choco.exe process. It is highly recommended this be set to make Chocolatey more deterministic in cleanup.
2022-10-11 10:09:02,766 1560 [INFO ] - containsLegacyPackageInstalls = true | Install has packages installed prior to 0.9.9 series.
2022-10-11 10:09:02,769 1560 [INFO ] - commandExecutionTimeoutSeconds = 2700 | Default timeout for command execution. '0' for infinite (starting in 0.10.4).
2022-10-11 10:09:02,787 1560 [INFO ] - proxy = http://X.X.X.X:3128 | Explicit proxy location. Available in 0.9.9.9+.
2022-10-11 10:09:02,790 1560 [INFO ] - proxyUser = | Optional proxy user. Available in 0.9.9.9+.
2022-10-11 10:09:02,803 1560 [INFO ] - proxyPassword = | Optional proxy password. Encrypted. Available in 0.9.9.9+.
2022-10-11 10:09:02,810 1560 [INFO ] - webRequestTimeoutSeconds = 30 | Default timeout for web requests. Available in 0.9.10+.
2022-10-11 10:09:02,814 1560 [INFO ] - proxyBypassList = 127.0.0.1 | Optional proxy bypass list. Comma separated. Available in 0.10.4+.
2022-10-11 10:09:02,818 1560 [INFO ] - proxyBypassOnLocal = true | Bypass proxy for local connections. Available in 0.10.4+.
2022-10-11 10:09:02,821 1560 [INFO ] - upgradeAllExceptions = | A comma-separated list of package names that should not be upgraded when running `choco upgrade all'. Defaults to empty. Available in 0.10.14+.
2022-10-11 10:09:02,826 1560 [INFO ] -
2022-10-11 10:09:02,829 1560 [INFO ] - Sources
2022-10-11 10:09:02,844 1560 [INFO ] - VWISProd - http://X.X.X.X/NugetRepo/nuget | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2022-10-11 10:09:02,851 1560 [INFO ] -
2022-10-11 10:09:02,856 1560 [INFO ] - NOTE: Use choco source to interact with sources.
2022-10-11 10:09:02,859 1560 [INFO ] -
2022-10-11 10:09:02,865 1560 [INFO ] - Features
2022-10-11 10:09:02,869 1560 [INFO ] - [x] checksumFiles - Checksum files when pulled in from internet (based on package).
2022-10-11 10:09:02,874 1560 [INFO ] - [x] autoUninstaller - Uninstall from programs and features without requiring an explicit uninstall script.
2022-10-11 10:09:02,877 1560 [INFO ] - [ ] allowGlobalConfirmation - Prompt for confirmation in scripts or bypass.
2022-10-11 10:09:02,879 1560 [INFO ] - [ ] failOnAutoUninstaller - Fail if automatic uninstaller fails.
2022-10-11 10:09:02,882 1560 [INFO ] - [ ] failOnStandardError - Fail if install provider writes to stderr. Not recommended for use. Available in 0.9.10+.
2022-10-11 10:09:02,884 1560 [INFO ] - [ ] allowEmptyChecksums - Allow packages to have empty/missing checksums for downloaded resources from non-secure locations (HTTP, FTP). Enabling is not recommended if using sources that download resources from the internet. Available in 0.10.0+.
2022-10-11 10:09:02,887 1560 [INFO ] - [x] allowEmptyChecksumsSecure - Allow packages to have empty/missing checksums for downloaded resources from secure locations (HTTPS). Available in 0.10.0+.
2022-10-11 10:09:02,890 1560 [INFO ] - [x] powershellHost - Use Chocolatey's built-in PowerShell host. Available in 0.9.10+.
2022-10-11 10:09:02,892 1560 [INFO ] - [ ] logEnvironmentValues - Log Environment Values - will log values of environment before and after install (could disclose sensitive data). Available in 0.9.10+.
2022-10-11 10:09:02,896 1560 [INFO ] - [ ] virusCheck - Virus Check - perform virus checking on downloaded files. Available in 0.9.10+. Licensed versions only.
2022-10-11 10:09:02,901 1560 [INFO ] - [ ] failOnInvalidOrMissingLicense - Fail On Invalid Or Missing License - allows knowing when a license is expired or not applied to a machine. Available in 0.9.10+.
2022-10-11 10:09:02,903 1560 [INFO ] - [x] ignoreInvalidOptionsSwitches - Ignore Invalid Options/Switches - If a switch or option is passed that is not recognized, should choco fail? Available in 0.9.10+.
2022-10-11 10:09:02,905 1560 [INFO ] - [x] usePackageExitCodes - Use Package Exit Codes - Package scripts can provide exit codes. With this on, package exit codes will be what choco uses for exit when non-zero (this value can come from a dependency package). Chocolatey defines valid exit codes as 0, 1605, 1614, 1641, 3010. With this feature off, choco will exit with 0, 1, or -1 (matching previous behavior). Available in 0.9.10+.
2022-10-11 10:09:02,909 1560 [INFO ] - [ ] useEnhancedExitCodes - Use Enhanced Exit Codes - Chocolatey is able to provide enhanced exit codes surrounding list, search, info, outdated and other commands that don't deal directly with package operations. To see enhanced exit codes and their meanings, please run `choco [cmdname] -?`. With this feature off, choco will exit with 0, 1, or -1 (matching previous behavior). Available in 0.10.12+.
2022-10-11 10:09:02,913 1560 [INFO ] - [ ] exitOnRebootDetected - Exit On Reboot Detected - Stop running install, upgrade, or uninstall when a reboot request is detected. Requires 'usePackageExitCodes' feature to be turned on. Will exit with either 350 or 1604. When it exits with 350, it means pending reboot discovered prior to running operation. When it exits with 1604, it means some work completed prior to reboot request being detected. Available in 0.10.12+.
2022-10-11 10:09:02,917 1560 [INFO ] - [ ] useFipsCompliantChecksums - Use FIPS Compliant Checksums - Ensure checksumming done by choco uses FIPS compliant algorithms. Not recommended unless required by FIPS Mode. Enabling on an existing installation could have unintended consequences related to upgrades/uninstalls. Available in 0.9.10+.
2022-10-11 10:09:02,922 1560 [INFO ] - [x] showNonElevatedWarnings - Show Non-Elevated Warnings - Display non-elevated warnings. Available in 0.10.4+.
2022-10-11 10:09:02,925 1560 [INFO ] - [x] showDownloadProgress - Show Download Progress - Show download progress percentages in the CLI. Available in 0.10.4+.
2022-10-11 10:09:02,928 1560 [INFO ] - [ ] stopOnFirstPackageFailure - Stop On First Package Failure - Stop running install, upgrade or uninstall on first package failure instead of continuing with others. As this will affect upgrade all, it is normally recommended to leave this off. Available in 0.10.4+.
2022-10-11 10:09:02,933 1560 [INFO ] - [ ] useRememberedArgumentsForUpgrades - Use Remembered Arguments For Upgrades - When running upgrades, use arguments for upgrade that were used for installation ('remembered'). This is helpful when running upgrade for all packages. Available in 0.10.4+. This is considered in preview for 0.10.4 and will be flipped to on by default in a future release.
2022-10-11 10:09:02,938 1560 [INFO ] - [ ] ignoreUnfoundPackagesOnUpgradeOutdated - Ignore Unfound Packages On Upgrade Outdated - When checking outdated or upgrades, if a package is not found against sources specified, don't report the package at all. Available in 0.10.9+.
2022-10-11 10:09:02,941 1560 [INFO ] - [ ] skipPackageUpgradesWhenNotInstalled - Skip Packages Not Installed During Upgrade - if a package is not installed, do not install it during the upgrade process. Available in 0.10.12+.
2022-10-11 10:09:02,944 1560 [INFO ] - [ ] removePackageInformationOnUninstall - Remove Stored Package Information On Uninstall - When a package is uninstalled, should the stored package information also be removed? Available in 0.10.9+.
2022-10-11 10:09:02,948 1560 [INFO ] - [ ] logWithoutColor - Log without color - Do not show colorization in logging output. Available in 0.10.9+.
2022-10-11 10:09:02,951 1560 [INFO ] - [x] logValidationResultsOnWarnings - Log validation results on warnings - Should the validation results be logged if there are warnings? Available in 0.10.12+.
2022-10-11 10:09:02,955 1560 [INFO ] - [x] usePackageRepositoryOptimizations - Use Package Repository Optimizations - Turn on optimizations for reducing bandwidth with repository queries during package install/upgrade/outdated operations. Should generally be left enabled, unless a repository needs to support older methods of query. When disabled, this makes queries similar to the way they were done in Chocolatey v0.10.11 and before. Available in 0.10.14+.
2022-10-11 10:09:02,959 1560 [INFO ] - [ ] scriptsCheckLastExitCode - Scripts Check $LastExitCode (external commands) - Leave this off unless you absolutely need it while you fix your package scripts to use `throw 'error message'` or `Set-PowerShellExitCode #` instead of `exit #`. This behavior started in 0.9.10 and produced hard to find bugs. If the last external process exits successfully but with an exit code of not zero, this could cause hard to detect package failures. Available in 0.10.3+. Will be removed in 0.11.0.
2022-10-11 10:09:02,967 1560 [INFO ] -
2022-10-11 10:09:02,971 1560 [INFO ] - NOTE: Use choco feature to interact with features.
2022-10-11 10:09:02,974 1560 [INFO ] -
2022-10-11 10:09:02,977 1560 [INFO ] - API Keys
2022-10-11 10:09:02,981 1560 [INFO ] - NOTE: Api Keys are not shown through this command.
Use choco apikey to interact with API keys.
2022-10-11 10:09:11,199 3160 [INFO ] - ============================================================
2022-10-11 10:09:11,457 3160 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:09:11,768 3160 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:09:33,039 3160 [WARN ] - [NuGet] Not able to contact source 'http://X.X.X.X/NugetRepo/nuget'. Error was Unable to connect to the remote server
2022-10-11 10:09:54,057 3160 [WARN ] - [NuGet] Not able to contact source 'http://X.X.X.X/NugetRepo/nuget'. Error was Unable to connect to the remote server
2022-10-11 10:09:54,119 3160 [WARN ] - 0 packages found.
2022-10-11 10:09:54,124 3160 [WARN ] -
Did you know Pro / Business automatically syncs with Programs and
Features? Learn more about Package Synchronizer at
https://chocolatey.org/compare
chocolatey.log
2022-10-11 10:08:37,243 872 [DEBUG] - XmlConfiguration is now operational
2022-10-11 10:08:37,366 872 [INFO ] - ============================================================
2022-10-11 10:08:37,688 872 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:08:37,707 872 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2022-10-11 10:08:37,716 872 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-10-11 10:08:37,721 872 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-10-11 10:08:37,738 872 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" source list --debug --verbose
2022-10-11 10:08:37,747 872 [DEBUG] - Received arguments: source list --debug --verbose
2022-10-11 10:08:37,825 872 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-10-11 10:08:37,840 872 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-10-11 10:08:37,853 872 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-10-11 10:08:37,930 872 [DEBUG] - Performing validation checks.
2022-10-11 10:08:37,940 872 [DEBUG] - Global Configuration Validation Checks:
2022-10-11 10:08:37,943 872 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-10-11 10:08:37,946 872 [DEBUG] - System State Validation Checks:
2022-10-11 10:08:37,951 872 [DEBUG] - Reboot Requirement Checks:
2022-10-11 10:08:37,956 872 [DEBUG] - - Pending Computer Rename = Checked
2022-10-11 10:08:37,965 872 [DEBUG] - - Pending Component Based Servicing = Checked
2022-10-11 10:08:37,968 872 [DEBUG] - - Pending Windows Auto Update = Checked
2022-10-11 10:08:37,972 872 [DEBUG] - - Pending File Rename Operations = Ignored
2022-10-11 10:08:37,975 872 [DEBUG] - - Pending Windows Package Installer = Checked
2022-10-11 10:08:37,978 872 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-10-11 10:08:37,986 872 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:08:37,989 872 [DEBUG] - The source '' evaluated to a 'normal' source type
2022-10-11 10:08:37,994 872 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2022-10-11 10:08:38,007 872 [DEBUG] - Configuration: CommandName='source'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\1\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='list'|AllVersions='False'|
SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Administrator'|
Information.UserDomainName='DPRSVA0120'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\Administrator'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='list'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
Proxy.Location='http://X.X.X.X:3128'|
Proxy.BypassList='127.0.0.1'|Proxy.BypassOnLocal='True'|
2022-10-11 10:08:38,024 872 [DEBUG] - _ Chocolatey:ChocolateySourceCommand - Normal Run Mode _
2022-10-11 10:08:38,038 872 [INFO ] - VWISProd - http://X.X.X.X/NugetRepo/nuget | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2022-10-11 10:08:38,042 872 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-10-11 10:08:38,052 872 [DEBUG] - Exiting with 0
2022-10-11 10:09:01,995 1560 [DEBUG] - XmlConfiguration is now operational
2022-10-11 10:09:02,066 1560 [INFO ] - ============================================================
2022-10-11 10:09:02,331 1560 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:09:02,373 1560 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2022-10-11 10:09:02,383 1560 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-10-11 10:09:02,400 1560 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-10-11 10:09:02,414 1560 [DEBUG] - Command line not shown - sensitive arguments may have been passed.
2022-10-11 10:09:02,485 1560 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-10-11 10:09:02,500 1560 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-10-11 10:09:02,513 1560 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-10-11 10:09:02,595 1560 [DEBUG] - Performing validation checks.
2022-10-11 10:09:02,607 1560 [DEBUG] - Global Configuration Validation Checks:
2022-10-11 10:09:02,612 1560 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-10-11 10:09:02,616 1560 [DEBUG] - System State Validation Checks:
2022-10-11 10:09:02,621 1560 [DEBUG] - Reboot Requirement Checks:
2022-10-11 10:09:02,628 1560 [DEBUG] - - Pending Computer Rename = Checked
2022-10-11 10:09:02,632 1560 [DEBUG] - - Pending Component Based Servicing = Checked
2022-10-11 10:09:02,639 1560 [DEBUG] - - Pending Windows Auto Update = Checked
2022-10-11 10:09:02,644 1560 [DEBUG] - - Pending File Rename Operations = Ignored
2022-10-11 10:09:02,651 1560 [DEBUG] - - Pending Windows Package Installer = Checked
2022-10-11 10:09:02,658 1560 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-10-11 10:09:02,666 1560 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:09:02,668 1560 [DEBUG] - The source '' evaluated to a 'normal' source type
2022-10-11 10:09:02,673 1560 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2022-10-11 10:09:02,691 1560 [DEBUG] - Configuration: CommandName='config'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\1\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='list'|AllVersions='False'|
SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Administrator'|
Information.UserDomainName='DPRSVA0120'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\Administrator'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='list'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
Proxy.Location='http://X.X.X.X:3128'|
Proxy.BypassList='127.0.0.1'|Proxy.BypassOnLocal='True'|
2022-10-11 10:09:02,738 1560 [DEBUG] - _ Chocolatey:ChocolateyConfigCommand - Normal Run Mode _
2022-10-11 10:09:02,749 1560 [INFO ] - Settings
2022-10-11 10:09:02,762 1560 [INFO ] - cacheLocation = | Cache location if not TEMP folder. Replaces `$env:TEMP` value for choco.exe process. It is highly recommended this be set to make Chocolatey more deterministic in cleanup.
2022-10-11 10:09:02,766 1560 [INFO ] - containsLegacyPackageInstalls = true | Install has packages installed prior to 0.9.9 series.
2022-10-11 10:09:02,769 1560 [INFO ] - commandExecutionTimeoutSeconds = 2700 | Default timeout for command execution. '0' for infinite (starting in 0.10.4).
2022-10-11 10:09:02,787 1560 [INFO ] - proxy = http://X.X.X.X:3128 | Explicit proxy location. Available in 0.9.9.9+.
2022-10-11 10:09:02,790 1560 [INFO ] - proxyUser = | Optional proxy user. Available in 0.9.9.9+.
2022-10-11 10:09:02,803 1560 [INFO ] - proxyPassword = | Optional proxy password. Encrypted. Available in 0.9.9.9+.
2022-10-11 10:09:02,810 1560 [INFO ] - webRequestTimeoutSeconds = 30 | Default timeout for web requests. Available in 0.9.10+.
2022-10-11 10:09:02,814 1560 [INFO ] - proxyBypassList = 127.0.0.1 | Optional proxy bypass list. Comma separated. Available in 0.10.4+.
2022-10-11 10:09:02,818 1560 [INFO ] - proxyBypassOnLocal = true | Bypass proxy for local connections. Available in 0.10.4+.
2022-10-11 10:09:02,821 1560 [INFO ] - upgradeAllExceptions = | A comma-separated list of package names that should not be upgraded when running `choco upgrade all'. Defaults to empty. Available in 0.10.14+.
2022-10-11 10:09:02,826 1560 [INFO ] -
2022-10-11 10:09:02,829 1560 [INFO ] - Sources
2022-10-11 10:09:02,844 1560 [INFO ] - VWISProd - http://X.X.X.X/NugetRepo/nuget | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2022-10-11 10:09:02,851 1560 [INFO ] -
2022-10-11 10:09:02,856 1560 [INFO ] - NOTE: Use choco source to interact with sources.
2022-10-11 10:09:02,859 1560 [INFO ] -
2022-10-11 10:09:02,865 1560 [INFO ] - Features
2022-10-11 10:09:02,869 1560 [INFO ] - [x] checksumFiles - Checksum files when pulled in from internet (based on package).
2022-10-11 10:09:02,874 1560 [INFO ] - [x] autoUninstaller - Uninstall from programs and features without requiring an explicit uninstall script.
2022-10-11 10:09:02,877 1560 [INFO ] - [ ] allowGlobalConfirmation - Prompt for confirmation in scripts or bypass.
2022-10-11 10:09:02,879 1560 [INFO ] - [ ] failOnAutoUninstaller - Fail if automatic uninstaller fails.
2022-10-11 10:09:02,882 1560 [INFO ] - [ ] failOnStandardError - Fail if install provider writes to stderr. Not recommended for use. Available in 0.9.10+.
2022-10-11 10:09:02,884 1560 [INFO ] - [ ] allowEmptyChecksums - Allow packages to have empty/missing checksums for downloaded resources from non-secure locations (HTTP, FTP). Enabling is not recommended if using sources that download resources from the internet. Available in 0.10.0+.
2022-10-11 10:09:02,887 1560 [INFO ] - [x] allowEmptyChecksumsSecure - Allow packages to have empty/missing checksums for downloaded resources from secure locations (HTTPS). Available in 0.10.0+.
2022-10-11 10:09:02,890 1560 [INFO ] - [x] powershellHost - Use Chocolatey's built-in PowerShell host. Available in 0.9.10+.
2022-10-11 10:09:02,892 1560 [INFO ] - [ ] logEnvironmentValues - Log Environment Values - will log values of environment before and after install (could disclose sensitive data). Available in 0.9.10+.
2022-10-11 10:09:02,896 1560 [INFO ] - [ ] virusCheck - Virus Check - perform virus checking on downloaded files. Available in 0.9.10+. Licensed versions only.
2022-10-11 10:09:02,901 1560 [INFO ] - [ ] failOnInvalidOrMissingLicense - Fail On Invalid Or Missing License - allows knowing when a license is expired or not applied to a machine. Available in 0.9.10+.
2022-10-11 10:09:02,903 1560 [INFO ] - [x] ignoreInvalidOptionsSwitches - Ignore Invalid Options/Switches - If a switch or option is passed that is not recognized, should choco fail? Available in 0.9.10+.
2022-10-11 10:09:02,905 1560 [INFO ] - [x] usePackageExitCodes - Use Package Exit Codes - Package scripts can provide exit codes. With this on, package exit codes will be what choco uses for exit when non-zero (this value can come from a dependency package). Chocolatey defines valid exit codes as 0, 1605, 1614, 1641, 3010. With this feature off, choco will exit with 0, 1, or -1 (matching previous behavior). Available in 0.9.10+.
2022-10-11 10:09:02,909 1560 [INFO ] - [ ] useEnhancedExitCodes - Use Enhanced Exit Codes - Chocolatey is able to provide enhanced exit codes surrounding list, search, info, outdated and other commands that don't deal directly with package operations. To see enhanced exit codes and their meanings, please run `choco [cmdname] -?`. With this feature off, choco will exit with 0, 1, or -1 (matching previous behavior). Available in 0.10.12+.
2022-10-11 10:09:02,913 1560 [INFO ] - [ ] exitOnRebootDetected - Exit On Reboot Detected - Stop running install, upgrade, or uninstall when a reboot request is detected. Requires 'usePackageExitCodes' feature to be turned on. Will exit with either 350 or 1604. When it exits with 350, it means pending reboot discovered prior to running operation. When it exits with 1604, it means some work completed prior to reboot request being detected. Available in 0.10.12+.
2022-10-11 10:09:02,917 1560 [INFO ] - [ ] useFipsCompliantChecksums - Use FIPS Compliant Checksums - Ensure checksumming done by choco uses FIPS compliant algorithms. Not recommended unless required by FIPS Mode. Enabling on an existing installation could have unintended consequences related to upgrades/uninstalls. Available in 0.9.10+.
2022-10-11 10:09:02,922 1560 [INFO ] - [x] showNonElevatedWarnings - Show Non-Elevated Warnings - Display non-elevated warnings. Available in 0.10.4+.
2022-10-11 10:09:02,925 1560 [INFO ] - [x] showDownloadProgress - Show Download Progress - Show download progress percentages in the CLI. Available in 0.10.4+.
2022-10-11 10:09:02,928 1560 [INFO ] - [ ] stopOnFirstPackageFailure - Stop On First Package Failure - Stop running install, upgrade or uninstall on first package failure instead of continuing with others. As this will affect upgrade all, it is normally recommended to leave this off. Available in 0.10.4+.
2022-10-11 10:09:02,933 1560 [INFO ] - [ ] useRememberedArgumentsForUpgrades - Use Remembered Arguments For Upgrades - When running upgrades, use arguments for upgrade that were used for installation ('remembered'). This is helpful when running upgrade for all packages. Available in 0.10.4+. This is considered in preview for 0.10.4 and will be flipped to on by default in a future release.
2022-10-11 10:09:02,938 1560 [INFO ] - [ ] ignoreUnfoundPackagesOnUpgradeOutdated - Ignore Unfound Packages On Upgrade Outdated - When checking outdated or upgrades, if a package is not found against sources specified, don't report the package at all. Available in 0.10.9+.
2022-10-11 10:09:02,941 1560 [INFO ] - [ ] skipPackageUpgradesWhenNotInstalled - Skip Packages Not Installed During Upgrade - if a package is not installed, do not install it during the upgrade process. Available in 0.10.12+.
2022-10-11 10:09:02,944 1560 [INFO ] - [ ] removePackageInformationOnUninstall - Remove Stored Package Information On Uninstall - When a package is uninstalled, should the stored package information also be removed? Available in 0.10.9+.
2022-10-11 10:09:02,948 1560 [INFO ] - [ ] logWithoutColor - Log without color - Do not show colorization in logging output. Available in 0.10.9+.
2022-10-11 10:09:02,951 1560 [INFO ] - [x] logValidationResultsOnWarnings - Log validation results on warnings - Should the validation results be logged if there are warnings? Available in 0.10.12+.
2022-10-11 10:09:02,955 1560 [INFO ] - [x] usePackageRepositoryOptimizations - Use Package Repository Optimizations - Turn on optimizations for reducing bandwidth with repository queries during package install/upgrade/outdated operations. Should generally be left enabled, unless a repository needs to support older methods of query. When disabled, this makes queries similar to the way they were done in Chocolatey v0.10.11 and before. Available in 0.10.14+.
2022-10-11 10:09:02,959 1560 [INFO ] - [ ] scriptsCheckLastExitCode - Scripts Check $LastExitCode (external commands) - Leave this off unless you absolutely need it while you fix your package scripts to use `throw 'error message'` or `Set-PowerShellExitCode #` instead of `exit #`. This behavior started in 0.9.10 and produced hard to find bugs. If the last external process exits successfully but with an exit code of not zero, this could cause hard to detect package failures. Available in 0.10.3+. Will be removed in 0.11.0.
2022-10-11 10:09:02,967 1560 [INFO ] -
2022-10-11 10:09:02,971 1560 [INFO ] - NOTE: Use choco feature to interact with features.
2022-10-11 10:09:02,974 1560 [INFO ] -
2022-10-11 10:09:02,977 1560 [INFO ] - API Keys
2022-10-11 10:09:02,981 1560 [INFO ] - NOTE: Api Keys are not shown through this command.
Use choco apikey to interact with API keys.
2022-10-11 10:09:02,984 1560 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-10-11 10:09:02,993 1560 [DEBUG] - Exiting with 0
2022-10-11 10:09:11,136 3160 [DEBUG] - XmlConfiguration is now operational
2022-10-11 10:09:11,199 3160 [INFO ] - ============================================================
2022-10-11 10:09:11,457 3160 [INFO ] - Chocolatey v0.10.15
2022-10-11 10:09:11,471 3160 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
2022-10-11 10:09:11,477 3160 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2022-10-11 10:09:11,480 3160 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2022-10-11 10:09:11,496 3160 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list --debug --verbose
2022-10-11 10:09:11,503 3160 [DEBUG] - Received arguments: list --debug --verbose
2022-10-11 10:09:11,584 3160 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2022-10-11 10:09:11,598 3160 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2022-10-11 10:09:11,612 3160 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2022-10-11 10:09:11,683 3160 [DEBUG] - Performing validation checks.
2022-10-11 10:09:11,699 3160 [DEBUG] - Global Configuration Validation Checks:
2022-10-11 10:09:11,707 3160 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
2022-10-11 10:09:11,713 3160 [DEBUG] - System State Validation Checks:
2022-10-11 10:09:11,720 3160 [DEBUG] - Reboot Requirement Checks:
2022-10-11 10:09:11,727 3160 [DEBUG] - - Pending Computer Rename = Checked
2022-10-11 10:09:11,733 3160 [DEBUG] - - Pending Component Based Servicing = Checked
2022-10-11 10:09:11,737 3160 [DEBUG] - - Pending Windows Auto Update = Checked
2022-10-11 10:09:11,745 3160 [DEBUG] - - Pending File Rename Operations = Ignored
2022-10-11 10:09:11,751 3160 [DEBUG] - - Pending Windows Package Installer = Checked
2022-10-11 10:09:11,760 3160 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
2022-10-11 10:09:11,768 3160 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2022-10-11 10:09:11,771 3160 [DEBUG] - The source 'http://X.X.X.X/NugetRepo/nuget' evaluated to a 'normal' source type
2022-10-11 10:09:11,778 3160 [DEBUG] -
NOTE: Hiding sensitive configuration data! Please double and triple
check to be sure no sensitive data is shown, especially if copying
output to a gist for review.
2022-10-11 10:09:11,795 3160 [DEBUG] - Configuration: CommandName='list'|
CacheLocation='C:\Users\Administrator\AppData\Local\Temp\1\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='http://X.X.X.X/NugetRepo/nuget'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|AllVersions='False'|
SkipPackageInstallProvider='False'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.17763.0'|
Information.PlatformName='Windows Server 2016'|
Information.ChocolateyVersion='0.10.15.0'|
Information.ChocolateyProductVersion='0.10.15'|
Information.FullName='choco, Version=0.10.15.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='Administrator'|
Information.UserDomainName='DPRSVA0120'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\Users\Administrator'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
Features.ScriptsCheckLastExitCode='False'|
ListCommand.LocalOnly='False'|
ListCommand.IdOnly='False'|ListCommand.IncludeRegistryPrograms='False'|
ListCommand.PageSize='25'|ListCommand.Exact='False'|
ListCommand.ByIdOnly='False'|ListCommand.ByTagOnly='False'|
ListCommand.IdStartsWith='False'|ListCommand.OrderByPopularity='False'|
ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
Proxy.Location='http://X.X.X.X:3128'|
Proxy.BypassList='127.0.0.1'|Proxy.BypassOnLocal='True'|
2022-10-11 10:09:11,819 3160 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _
2022-10-11 10:09:11,828 3160 [DEBUG] - Searching for package information
2022-10-11 10:09:11,839 3160 [DEBUG] - Running list with the following filter = ''
2022-10-11 10:09:11,844 3160 [DEBUG] - --- Start of List ---
2022-10-11 10:09:11,890 3160 [DEBUG] - Using proxy server 'http://X.X.X.X:3128'.
2022-10-11 10:09:11,894 3160 [DEBUG] - Proxy has a bypass list of '127.0.0.1'.
2022-10-11 10:09:33,039 3160 [WARN ] - [NuGet] Not able to contact source 'http://X.X.X.X/NugetRepo/nuget'. Error was Unable to connect to the remote server
2022-10-11 10:09:54,057 3160 [WARN ] - [NuGet] Not able to contact source 'http://X.X.X.X/NugetRepo/nuget'. Error was Unable to connect to the remote server
2022-10-11 10:09:54,113 3160 [DEBUG] - --- End of List ---
2022-10-11 10:09:54,119 3160 [WARN ] - 0 packages found.
2022-10-11 10:09:54,124 3160 [WARN ] -
Did you know Pro / Business automatically syncs with Programs and
Features? Learn more about Package Synchronizer at
https://chocolatey.org/compare
2022-10-11 10:09:54,131 3160 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2022-10-11 10:09:54,142 3160 [DEBUG] - Exiting with 0
~~~
Contributor guide
Research direction
Start by reproducing the behavior with the `choco source list`, `choco config list`, and `choco list` commands using a configured proxy, then inspect the command entry points and the logged request path. Compare the configured source proxy with the direct NuGet connection shown in the flow log; done means source requests use the configured proxy and regression coverage verifies that behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100