Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade fails with HTTP 407 Proxy Authentication Required #2229

Closed
mu88 opened this issue Apr 13, 2021 · 6 comments
Closed

Upgrade fails with HTTP 407 Proxy Authentication Required #2229

mu88 opened this issue Apr 13, 2021 · 6 comments

Comments

@mu88
Copy link

mu88 commented Apr 13, 2021

What You Are Seeing?

When trying to upgrade some of my already installed packages (e. g. Screenpresso), it fails with HTTP 407 Proxy Authentication Required. I'm behind a corporate proxy and configured Chocolatey (hopefully 🤞🏻) correctly. Since installation and upgrade of other packages works, I don't think it is a general proxy issue.

image

What is Expected?

Upgrading or installing packages works.

How Did You Get This To Happen? (Steps to Reproduce)

  1. Installed package (e. g. Screenpresso) some time ago, but already using the corporate proxy.
  2. Run choco outdated
  3. Run choco upgrade screenpresso which fails.

Output Log

Full Log Output

2021-04-13 10:27:54,537 8524 [DEBUG] - XmlConfiguration is now operational
2021-04-13 10:27:54,571 8524 [INFO ] - ============================================================
2021-04-13 10:27:54,770 8524 [INFO ] - Chocolatey v0.10.15
2021-04-13 10:27:54,771 8524 [DEBUG] - Chocolatey is running on Windows v 10.0.18363.0
2021-04-13 10:27:54,771 8524 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2021-04-13 10:27:54,771 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2021-04-13 10:27:54,788 8524 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" upgrade screenpresso --debug --verbose
2021-04-13 10:27:54,790 8524 [DEBUG] - Received arguments: upgrade screenpresso --debug --verbose
2021-04-13 10:27:54,838 8524 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2021-04-13 10:27:54,854 8524 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2021-04-13 10:27:54,854 8524 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2021-04-13 10:27:54,904 8524 [DEBUG] - Performing validation checks.
2021-04-13 10:27:54,904 8524 [DEBUG] - Global Configuration Validation Checks:
2021-04-13 10:27:54,904 8524 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2021-04-13 10:27:54,904 8524 [DEBUG] - System State Validation Checks:
2021-04-13 10:27:54,904 8524 [DEBUG] -  Reboot Requirement Checks:
2021-04-13 10:27:54,904 8524 [DEBUG] -  - Pending Computer Rename = Checked
2021-04-13 10:27:54,904 8524 [DEBUG] -  - Pending Component Based Servicing = Checked
2021-04-13 10:27:54,904 8524 [DEBUG] -  - Pending Windows Auto Update = Checked
2021-04-13 10:27:54,904 8524 [DEBUG] -  - Pending File Rename Operations = Ignored
2021-04-13 10:27:54,920 8524 [DEBUG] -  - Pending Windows Package Installer = Checked
2021-04-13 10:27:54,921 8524 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2021-04-13 10:27:54,921 8524 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2021-04-13 10:27:54,921 8524 [DEBUG] - The source 'https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2021-04-13 10:27:54,921 8524 [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.
2021-04-13 10:27:54,921 8524 [DEBUG] - Configuration: CommandName='upgrade'|
CacheLocation='C:\Users\myUser\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://chocolatey.org/api/v2/'|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='screenpresso'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='screenpresso'|
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.18363.0'|
Information.PlatformName='Windows 10'|
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='myUser'|Information.UserDomainName='OURDOMAIN'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\WINDOWS\system32'|
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://our.corporate.proxy:3128'|
Proxy.BypassList='.company.com,.companynet.com,localhost,127.0.0.1,::1'|
Proxy.BypassOnLocal='True'|
2021-04-13 10:27:54,937 8524 [DEBUG] - _ Chocolatey:ChocolateyUpgradeCommand - Normal Run Mode _
2021-04-13 10:27:54,937 8524 [INFO ] - Upgrading the following packages:
2021-04-13 10:27:54,937 8524 [INFO ] - screenpresso
2021-04-13 10:27:54,937 8524 [INFO ] - By upgrading you accept licenses for the packages.
2021-04-13 10:27:55,021 8524 [DEBUG] - Using proxy server 'http://our.corporate.proxy:3128'.
2021-04-13 10:27:55,021 8524 [DEBUG] - Proxy has a bypass list of '.company.com,.companynet.com,localhost,127.0.0.1,::1'.
2021-04-13 10:27:55,171 8524 [DEBUG] - Using 'https://chocolatey.org/api/v2/'.
2021-04-13 10:27:55,754 8524 [DEBUG] - - Supports prereleases? 'True'.
2021-04-13 10:27:55,754 8524 [DEBUG] - - Is ServiceBased? 'True'.
2021-04-13 10:27:55,904 8524 [DEBUG] - Package 'screenpresso' found on source 'https://chocolatey.org/api/v2/'
2021-04-13 10:27:55,904 8524 [WARN ] - 
You have screenpresso v1.9.4 installed. Version 1.9.5 is available based on your source(s).
2021-04-13 10:27:55,955 8524 [DEBUG] - Backing up existing screenpresso prior to operation.
2021-04-13 10:27:55,955 8524 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\screenpresso'
 to 'C:\ProgramData\chocolatey\lib-bkp\screenpresso'
2021-04-13 10:27:57,971 8524 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\screenpresso".
2021-04-13 10:27:57,971 8524 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\screenpresso\screenpresso.nupkg"
 to "C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nupkg".
2021-04-13 10:27:57,971 8524 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\screenpresso\screenpresso.nuspec"
 to "C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nuspec".
2021-04-13 10:27:57,971 8524 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\screenpresso\tools".
2021-04-13 10:27:57,986 8524 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\screenpresso\tools\chocolateyinstall.ps1"
 to "C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1".
2021-04-13 10:27:59,521 8524 [DEBUG] - Deleting file C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1
2021-04-13 10:27:59,521 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1".
2021-04-13 10:27:59,521 8524 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\screenpresso'
2021-04-13 10:27:59,521 8524 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nupkg'
  with checksum 'DC4F199215A648CF3BB137D91D6808CD'
2021-04-13 10:27:59,521 8524 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nuspec'
  with checksum 'C4FC14E194A01CE82A988E87AC9FE55B'
2021-04-13 10:27:59,797 8524 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnetfx (= 4.8.0.20190930)'.
2021-04-13 10:27:59,804 8524 [INFO ] - [NuGet] Attempting to resolve dependency 'chocolatey-dotnetfx.extension (= 1.0.1)'.
2021-04-13 10:27:59,854 8524 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919355 (= 1.0.20160915)'.
2021-04-13 10:27:59,871 8524 [INFO ] - [NuGet] Attempting to resolve dependency 'KB2919442 (= 1.0.20160915)'.
2021-04-13 10:28:00,237 8524 [INFO ] - [NuGet] Uninstalling 'screenpresso 1.9.4'.
2021-04-13 10:28:00,254 8524 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\screenpresso\tools'.
2021-04-13 10:28:00,254 8524 [DEBUG] - [NuGet] Removed file 'screenpresso.nuspec' to folder 'C:\ProgramData\chocolatey\lib\screenpresso'.
2021-04-13 10:28:00,254 8524 [DEBUG] - [NuGet] Removed file 'screenpresso.nupkg' to folder 'C:\ProgramData\chocolatey\lib\screenpresso'.
2021-04-13 10:28:00,254 8524 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\screenpresso'.
2021-04-13 10:28:00,254 8524 [INFO ] - [NuGet] Successfully uninstalled 'screenpresso 1.9.4'.
2021-04-13 10:28:00,271 8524 [INFO ] - [NuGet] Installing 'screenpresso 1.9.5'.
2021-04-13 10:28:00,289 8524 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'screenpresso\tools'.
2021-04-13 10:28:00,291 8524 [DEBUG] - [NuGet] Added file 'screenpresso.nupkg' to folder 'screenpresso'.
2021-04-13 10:28:00,554 8524 [DEBUG] - [NuGet] Added file 'screenpresso.nuspec' to folder 'screenpresso'.
2021-04-13 10:28:00,571 8524 [INFO ] - [NuGet] Successfully installed 'screenpresso 1.9.5'.
2021-04-13 10:28:00,571 8524 [INFO ] - 
screenpresso v1.9.5 [Approved]
2021-04-13 10:28:00,571 8524 [INFO ] - screenpresso package files upgrade completed. Performing other installation steps.
2021-04-13 10:28:00,756 8524 [DEBUG] - Setting installer args for screenpresso
2021-04-13 10:28:00,756 8524 [DEBUG] - Setting package parameters for screenpresso
2021-04-13 10:28:00,756 8524 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1':
2021-04-13 10:28:00,771 8524 [DEBUG] - $ErrorActionPreference = 'Stop';

$packageArgs = @{
  packageName  = $env:ChocolateyPackageName

  url            = 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe'
  checksum       = 'b712c8e9f4da6e3c70a76e572131cdf9e585c82298df028619c0ae3293d3bc89'  
  checksumType   = 'sha256'

  silentArgs     = '-install pf -silent'
  validExitCodes = @(0, 4)
}

Install-ChocolateyPackage @packageArgs

2021-04-13 10:28:00,771 8524 [INFO ] - The package screenpresso wants to run 'chocolateyinstall.ps1'.
2021-04-13 10:28:00,771 8524 [INFO ] - Note: If you don't run this script, the installation will fail.
2021-04-13 10:28:00,771 8524 [INFO ] - Note: To confirm automatically next time, use '-y' or consider:
2021-04-13 10:28:00,771 8524 [INFO ] - choco feature enable -n allowGlobalConfirmation
2021-04-13 10:28:00,791 8524 [INFO ] - Do you want to run the script?
2021-04-13 10:28:00,791 8524 [INFO ] -  1) yes
2021-04-13 10:28:00,791 8524 [INFO ] -  2) all - yes to all
2021-04-13 10:28:00,791 8524 [INFO ] -  3) no
2021-04-13 10:28:00,791 8524 [INFO ] -  4) print
2021-04-13 10:28:03,671 8524 [INFO ] - Choice selected: 'all - yes to all'
2021-04-13 10:28:03,721 8524 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters ''']
2021-04-13 10:28:03,737 8524 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2021-04-13 10:28:04,191 8524 [DEBUG] - Host version is 5.1.18362.1, PowerShell Version is '5.1.18362.1171' and CLR Version is '4.0.30319.42000'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-04-13 10:28:04,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-04-13 10:28:04,713 8524 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-04-13 10:28:04,721 8524 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-04-13 10:28:04,736 8524 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-04-13 10:28:04,737 8524 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-04-13 10:28:04,737 8524 [DEBUG] - Loading community extensions
2021-04-13 10:28:04,754 8524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2021-04-13 10:28:04,771 8524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2021-04-13 10:28:04,920 8524 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-04-13 10:28:04,936 8524 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2021-04-13 10:28:04,938 8524 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2021-04-13 10:28:04,954 8524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'
2021-04-13 10:28:04,954 8524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-dotnetfx\chocolatey-dotnetfx.psm1'.
2021-04-13 10:28:05,037 8524 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2021-04-13 10:28:05,037 8524 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2021-04-13 10:28:05,037 8524 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2021-04-13 10:28:05,037 8524 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2021-04-13 10:28:05,037 8524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'
2021-04-13 10:28:05,037 8524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-font-helpers\FontHelp.psm1'.
2021-04-13 10:28:05,087 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2021-04-13 10:28:05,089 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2021-04-13 10:28:05,090 8524 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2021-04-13 10:28:05,091 8524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'
2021-04-13 10:28:05,091 8524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-visualstudio\chocolatey-visualstudio.extension.psm1'.
2021-04-13 10:28:05,593 8524 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2021-04-13 10:28:05,595 8524 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2021-04-13 10:28:05,596 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2021-04-13 10:28:05,597 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2021-04-13 10:28:05,604 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2021-04-13 10:28:05,614 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2021-04-13 10:28:05,614 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2021-04-13 10:28:05,614 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2021-04-13 10:28:05,614 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2021-04-13 10:28:05,614 8524 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
2021-04-13 10:28:05,621 8524 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2021-04-13 10:28:05,704 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
2021-04-13 10:28:05,714 8524 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2021-04-13 10:28:05,721 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2021-04-13 10:28:05,736 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Remove-Process'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Install-DotNetDevPack'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Install-DotNetFramework'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFont'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyFont'.
2021-04-13 10:28:05,737 8524 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioComponent'.
2021-04-13 10:28:05,753 8524 [INFO ] - VERBOSE: Exporting function 'Add-VisualStudioWorkload'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstaller'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstallerHealth'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioInstance'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Get-VisualStudioVsixInstaller'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudio'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioInstaller'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Install-VisualStudioVsixExtension'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioComponent'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioProduct'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Remove-VisualStudioWorkload'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudio'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Uninstall-VisualStudioVsixExtension'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2021-04-13 10:28:05,754 8524 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2021-04-13 10:28:05,770 8524 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'Add-Font'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Exporting alias 'Remove-Font'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioComponent'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Add-VisualStudioWorkload'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2021-04-13 10:28:05,771 8524 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2021-04-13 10:28:05,786 8524 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2021-04-13 10:28:05,788 8524 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2021-04-13 10:28:05,789 8524 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstaller'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstallerHealth'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioInstance'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-VisualStudioVsixInstaller'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2021-04-13 10:28:05,791 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFont'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-DotNetDevPack'.
2021-04-13 10:28:05,804 8524 [INFO ] - VERBOSE: Importing function 'Install-DotNetFramework'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudio'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioInstaller'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Install-VisualStudioVsixExtension'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
2021-04-13 10:28:05,814 8524 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Remove-Process'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioComponent'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioProduct'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Remove-VisualStudioWorkload'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyFont'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudio'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Uninstall-VisualStudioVsixExtension'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2021-04-13 10:28:05,821 8524 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2021-04-13 10:28:05,836 8524 [INFO ] - VERBOSE: Importing alias 'Add-Font'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Remove-Font'.
2021-04-13 10:28:05,837 8524 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2021-04-13 10:28:05,871 8524 [DEBUG] - ---------------------------Script Execution---------------------------
2021-04-13 10:28:05,871 8524 [DEBUG] - Running 'ChocolateyScriptRunner' for screenpresso v1.9.5 with packageScript 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\screenpresso', installArguments: '', packageParameters: '',
2021-04-13 10:28:05,871 8524 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1'
2021-04-13 10:28:05,921 8524 [DEBUG] - Running Install-ChocolateyPackage -silentArgs '-install pf -silent' -checksum 'b712c8e9f4da6e3c70a76e572131cdf9e585c82298df028619c0ae3293d3bc89' -checksumType 'sha256' -validExitCodes '0 4' -url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe' -packageName 'screenpresso' 
2021-04-13 10:28:05,954 8524 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'screenpresso' -fileFullPath 'C:\Users\myUser\AppData\Local\Temp\chocolatey\screenpresso\1.9.5\screenpressoInstall.exe' -url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe' -url64bit '' -checksum 'b712c8e9f4da6e3c70a76e572131cdf9e585c82298df028619c0ae3293d3bc89' -checksumType 'sha256' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' 
2021-04-13 10:28:05,954 8524 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2021-04-13 10:28:05,971 8524 [DEBUG] - CPU is 64 bit
2021-04-13 10:28:05,991 8524 [DEBUG] - Running Get-WebFileName -url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe' -defaultName 'screenpressoInstall.exe' 
2021-04-13 10:28:06,038 8524 [DEBUG] - Using explicit proxy server 'http://our.corporate.proxy:3128'.
2021-04-13 10:28:07,137 8524 [DEBUG] - Url request/response failed - file name will be 'screenpressoInstall.exe':  Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
2021-04-13 10:28:07,153 8524 [DEBUG] - Running Get-WebHeaders -url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe' -ErrorAction 'Stop' 
2021-04-13 10:28:07,154 8524 [INFO ] - Using explicit proxy server 'http://our.corporate.proxy:3128'.
2021-04-13 10:28:07,154 8524 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-04-13 10:28:07,154 8524 [DEBUG] - Request Headers:
2021-04-13 10:28:07,154 8524 [DEBUG] -   'Accept':'*/*'
2021-04-13 10:28:07,154 8524 [DEBUG] -   'User-Agent':'chocolatey command line'
2021-04-13 10:28:08,204 8524 [INFO ] - Attempt to get headers for https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
2021-04-13 10:28:08,204 8524 [INFO ] - Downloading screenpresso 
  from 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe'
2021-04-13 10:28:08,221 8524 [DEBUG] - Running Get-WebFile -url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe' -fileName 'C:\Users\myUser\AppData\Local\Temp\chocolatey\screenpresso\1.9.5\screenpressoInstall.exe' -options 'System.Collections.Hashtable' 
2021-04-13 10:28:08,221 8524 [INFO ] - Using explicit proxy server 'http://our.corporate.proxy:3128'.
2021-04-13 10:28:08,221 8524 [DEBUG] - Setting request timeout to  30000
2021-04-13 10:28:08,221 8524 [DEBUG] - Setting read/write timeout to  2700000
2021-04-13 10:28:08,221 8524 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2021-04-13 10:28:10,291 8524 [ERROR] - ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.screenpresso.com/binaries/releases/stable/dotnet47/Screenpresso.exe'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (407) Proxy Authentication Required." 
This package is likely not broken for licensed users - see https://chocolatey.org/docs/features-private-cdn.
 at Get-WebFile, C:\ProgramData\chocolatey\helpers\functions\Get-WebFile.ps1: line 329
at Get-ChocolateyWebFile, C:\ProgramData\chocolatey\helpers\functions\Get-ChocolateyWebFile.ps1: line 345
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 396
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1: line 14
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 49
at <ScriptBlock>, <No file>: line 1
2021-04-13 10:28:10,421 8524 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '''] exited with '404'.
2021-04-13 10:28:10,421 8524 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2021-04-13 10:28:10,469 8524 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2021-04-13 10:28:10,637 8524 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\screenpresso'
2021-04-13 10:28:10,637 8524 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nupkg'
  with checksum 'D7A4A3DBE021EE211D14E5EBD107D3EC'
2021-04-13 10:28:10,637 8524 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\screenpresso\screenpresso.nuspec'
  with checksum '8B52CB2AAFFAA43434F2645EEA9EF3F9'
2021-04-13 10:28:10,637 8524 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1'
  with checksum 'A8D0D2323E881F413C8CC2DCF0DDBDE9'
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\screenpresso.1.9.5\.arguments".
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\screenpresso.1.9.5\.extra".
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\screenpresso.1.9.5\.version".
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\screenpresso.1.9.5\.sxs".
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\screenpresso.1.9.5\.pin".
2021-04-13 10:28:10,654 8524 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\screenpresso".
2021-04-13 10:28:10,673 8524 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2021-04-13 10:28:10,673 8524 [ERROR] - The upgrade of screenpresso was NOT successful.
2021-04-13 10:28:10,673 8524 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1'.
 See log for details.
2021-04-13 10:28:10,673 8524 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\screenpresso'
 to 'C:\ProgramData\chocolatey\lib-bad\screenpresso'
2021-04-13 10:28:12,689 8524 [DEBUG] - Attempting rollback
2021-04-13 10:28:12,693 8524 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib-bkp\screenpresso'
 to 'C:\ProgramData\chocolatey\lib\screenpresso'
2021-04-13 10:28:14,721 8524 [DEBUG] - Attempting to delete file "C:\Users\myUser\AppData\Local\NuGet\Cache\screenpresso.1.9.5.nupkg".
2021-04-13 10:28:14,737 8524 [WARN ] - 
Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2021-04-13 10:28:14,756 8524 [INFO ] - 
2021-04-13 10:28:14,759 8524 [ERROR] - Failures
2021-04-13 10:28:14,760 8524 [ERROR] -  - screenpresso (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\screenpresso\tools\chocolateyinstall.ps1'.
 See log for details.
2021-04-13 10:28:14,763 8524 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2021-04-13 10:28:14,771 8524 [DEBUG] - Exiting with 404

@mu88
Copy link
Author

mu88 commented Apr 15, 2021

It seems that for some request the Proxy-Authorization header is missing. As a workaround, I did the following:

  • Install Fiddler and run a custom proxy (typically under 127.0.0.1:8888)
  • Within Fiddler, enable the option Rules → Automatically Authenticate
  • Run choco upgrade screenpresso --proxy=http://127.0.0.1:8888 which uses the custom proxy.

Now all Chocolatey requests will go through Fiddler. Some of them fail with HTTP 407, but then Fiddler repeats them by adding the Proxy-Authorization header and the requests succeed.

@ilpssun
Copy link

ilpssun commented Jun 25, 2021

Same observation here for package libreoffice-fresh when trying to upgrade form 7.1.3 to 7.1.4. Upgrading nodejs worked fine in the same choco upgrade all sequence. I have not yet tried Fiddler.

@mu88
Copy link
Author

mu88 commented Jun 28, 2021

For a few weeks now it does not work for me at all without Fiddler 😕

@ilpssun
Copy link

ilpssun commented Jul 1, 2021

Just today I was able to upgrade python3 to 3.9.6, but libreoffice-fresh still gives me a proxy error in the same choco upgrade all run. I can manually download the LibreOffice installer file in the browser (so it's not blocked or anything, as far as I can tell) but I don’t know where to place the file so that chocolatey uses it instead of trying to re-download.

@pauby
Copy link
Member

pauby commented Feb 23, 2023

@mu88 can you confirm the why this is no longer an issue?

@mu88
Copy link
Author

mu88 commented Feb 26, 2023

I cannot confirm the why, but I can confirm that it is not an issue anymore :) at least I haven't been suffering from it for months

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants