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

Dependency Resolution Broken On Authenticated Sources #2057

Open
rgrwatson85 opened this issue May 28, 2020 · 6 comments
Open

Dependency Resolution Broken On Authenticated Sources #2057

rgrwatson85 opened this issue May 28, 2020 · 6 comments

Comments

@rgrwatson85
Copy link

rgrwatson85 commented May 28, 2020

What You Are Seeing?

When installing packages that have any dependencies, we are getting 401 response codes back when starting the dependency walking process. For example installing nodejs will fail once nodejs.install begins to be resolved. If we install the dependency packages first, and then install the target package it works.

WORKS:
choco install nodejs -i

WORKS:
(choco install nodejs.install -y) -and (choco install nodejs -y)

WORKS:
choco install nodejs.install nodejs

FAILS:
choco install nodejs

ALSO WORKS:
nuget install nodejs -OutputDirectory $env:ChocolateyInstall\lib
choco install nodejs --force

nuget and choco are using the same source url and credentials

What this means to me, is that our credentials are good and that either Choco, or the Nuget.Core package being used by Choco, is failing once the challenge/response authentication cycle starts. The first 401 response it gets back due to not having sent an Authorization header causes a failure instead of initiating a second request with the proper headers.

What is Expected?

We do expect to see 401 responses from the repository since we are using an authenticated repository. We also would expect that if we can install packages without dependencies with no authentication issues then we would be able to install packages with dependencies as well.

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

  1. Disable chocolatey source
  2. Enable Nuget repository requiring authentication (Artifactory in our case)
  3. choco install <literally any package with a dependency that isn't already installed>

We have virtual repositories setup, but for now are linking directly to the remote repository as we have seen that there are open issues using chocolatey on virtual Artifactory repositories.

Output Log

Full Log Output

2020-05-28 16:51:27,923 11660 [DEBUG] - XmlConfiguration is now operational
2020-05-28 16:51:27,992 11660 [INFO ] - ============================================================
2020-05-28 16:51:28,415 11660 [INFO ] - Chocolatey v0.10.15
2020-05-28 16:51:28,431 11660 [DEBUG] - Chocolatey is running on Windows v 10.0.18362.0
2020-05-28 16:51:28,435 11660 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2020-05-28 16:51:28,436 11660 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2020-05-28 16:51:28,459 11660 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install nodejs -f -dv
2020-05-28 16:51:28,468 11660 [DEBUG] - Received arguments: install nodejs -f -dv
2020-05-28 16:51:28,545 11660 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2020-05-28 16:51:28,561 11660 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2020-05-28 16:51:28,573 11660 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2020-05-28 16:51:28,656 11660 [DEBUG] - Performing validation checks.
2020-05-28 16:51:28,667 11660 [DEBUG] - Global Configuration Validation Checks:
2020-05-28 16:51:28,670 11660 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2020-05-28 16:51:28,674 11660 [DEBUG] - System State Validation Checks:
2020-05-28 16:51:28,681 11660 [DEBUG] -  Reboot Requirement Checks:
2020-05-28 16:51:28,691 11660 [DEBUG] -  - Pending Computer Rename = Checked
2020-05-28 16:51:28,694 11660 [DEBUG] -  - Pending Component Based Servicing = Checked
2020-05-28 16:51:28,697 11660 [DEBUG] -  - Pending Windows Auto Update = Checked
2020-05-28 16:51:28,702 11660 [DEBUG] -  - Pending File Rename Operations = Ignored
2020-05-28 16:51:28,714 11660 [DEBUG] -  - Pending Windows Package Installer = Checked
2020-05-28 16:51:28,724 11660 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2020-05-28 16:51:28,736 11660 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2020-05-28 16:51:28,743 11660 [DEBUG] - The source 'https://artifactory.<SANITIZED>.com/api/nuget/chocolatey-remote' evaluated to a 'normal' source type
2020-05-28 16:51:28,758 11660 [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.
2020-05-28 16:51:28,793 11660 [DEBUG] - Configuration: CommandName='install'|
CacheLocation='C:\Users\<SANITIZED>\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://artifactory.<SANITIZED>.com/api/nuget/chocolatey-remote'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='nodejs'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='nodejs'|
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.18362.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='<SANITIZED>'|Information.UserDomainName='<SANITIZED>'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\'|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.BypassOnLocal='True'|
2020-05-28 16:51:28,800 11660 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2020-05-28 16:51:28,816 11660 [INFO ] - Installing the following packages:
2020-05-28 16:51:28,822 11660 [INFO ] - nodejs
2020-05-28 16:51:28,828 11660 [INFO ] - By installing you accept licenses for the packages.
2020-05-28 16:51:29,280 11660 [DEBUG] - Using 'https://artifactory.<SANITIZED>.com/api/nuget/chocolatey-remote'.
2020-05-28 16:51:29,615 11660 [DEBUG] - Attempting to gather credentials for 'https://artifactory.<SANITIZED>.com/api/nuget/chocolatey-remote'
2020-05-28 16:51:29,620 11660 [DEBUG] - Using saved credentials
2020-05-28 16:51:30,197 11660 [DEBUG] - - Supports prereleases? 'True'.
2020-05-28 16:51:30,201 11660 [DEBUG] - - Is ServiceBased? 'True'.
2020-05-28 16:51:30,628 11660 [DEBUG] - Package 'nodejs' found on source 'https://artifactory.<SANITIZED>.com/api/nuget/chocolatey-remote'
2020-05-28 16:51:30,706 11660 [INFO ] - [NuGet] Attempting to resolve dependency 'nodejs.install (= 14.3.0)'.
2020-05-28 16:51:31,288 11660 [ERROR] - Chocolatey had an error formatting string:
 Input string was not in a correct format.
2020-05-28 16:51:31,293 11660 [WARN ] - [NuGet] {
  "errors" : [ {
    "status" : 401,
    "message" : "Authentication is required"
  } ]
}
2020-05-28 16:51:31,298 11660 [ERROR] - nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.
2020-05-28 16:51:31,313 11660 [INFO ] - nodejs package files install completed. Performing other installation steps.
2020-05-28 16:51:31,321 11660 [DEBUG] - No package information as package is null.
2020-05-28 16:51:31,347 11660 [DEBUG] - No package information to save as package is null.
2020-05-28 16:51:31,352 11660 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2020-05-28 16:51:31,356 11660 [ERROR] - The install of nodejs was NOT successful.
2020-05-28 16:51:31,364 11660 [ERROR] - nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.
2020-05-28 16:51:31,382 11660 [WARN ] - 
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2020-05-28 16:51:31,385 11660 [INFO ] - 
2020-05-28 16:51:31,388 11660 [ERROR] - Failures
2020-05-28 16:51:31,393 11660 [ERROR] -  - nodejs (exited 1) - nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.
2020-05-28 16:51:31,405 11660 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2020-05-28 16:51:31,416 11660 [DEBUG] - Exiting with 1

Full Trace Log Output

Chocolatey v0.10.15
Chocolatey is running on Windows v 10.0.18362.0
Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
Command line: "C:\ProgramData\chocolatey\choco.exe" install nodejs -f -dv --trace
Received arguments: install nodejs -f -dv --trace
RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
Sending message 'PreRunMessage' out if there are subscribers...
[Pending] Removing all pending packages that should not be considered installed...
Performing validation checks.
Global Configuration Validation Checks:
 - Package Exit Code / Exit On Reboot = Checked
System State Validation Checks:
 Reboot Requirement Checks:
 - Pending Computer Rename = Checked
 Operating System Version Number: 10.0.18362.0
 - Pending Component Based Servicing = Checked
 - Pending Windows Auto Update = Checked
 - Pending File Rename Operations = Ignored
 - Pending Windows Package Installer = Checked
 - Pending Windows Package Installer SysWow64 = Checked
The source 'https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>' evaluated to a 'normal' source type

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.
Configuration: CommandName='install'|
CacheLocation='C:\Users\<SANITIZED>\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>'|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='True'|
Force='True'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='nodejs'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='nodejs'|
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.18362.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='<SANITIZED>'|Information.UserDomainName='<SANITIZED>'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\'|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.BypassOnLocal='True'|
_ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
Installing the following packages:
nodejs
By installing you accept licenses for the packages.
Using 'https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>'.
System.Net Error: 0 : [2660] Can't retrieve proxy settings for Uri 'https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>'. Error code: 12180.
System.Net Information: 0 : [2660] Associating HttpWebRequest#57616766 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#36446461 with HttpWebRequest#57616766
System.Net.Sockets Information: 0 : [2660] Socket#59582700 - Created connection from 192.168.86.26:51459 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#36446461 - Created connection from 192.168.86.26:51459 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#61469371::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#57616766 with ConnectStream#16353430
System.Net Information: 0 : [2660] HttpWebRequest#57616766 - Request: GET /api/nuget/<SANITIZED> HTTP/1.0

System.Net Information: 0 : [2660] ConnectStream#16353430 - Sending headers
{
User-Agent: NuGet/0.10.15.0 (Microsoft Windows NT 10.0.18362.0)
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] SecureChannel#12963143::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] Enumerating security packages:
System.Net Information: 0 : [2660]     Negotiate
System.Net Information: 0 : [2660]     NegoExtender
System.Net Information: 0 : [2660]     Kerberos
System.Net Information: 0 : [2660]     NTLM
System.Net Information: 0 : [2660]     TSSSP
System.Net Information: 0 : [2660]     pku2u
System.Net Information: 0 : [2660]     CloudAP
System.Net Information: 0 : [2660]     WDigest
System.Net Information: 0 : [2660]     Schannel
System.Net Information: 0 : [2660]     Microsoft Unified Security Protocol Provider
System.Net Information: 0 : [2660]     Default TLS SSP
System.Net Information: 0 : [2660]     CREDSSP
System.Net Information: 0 : [2660] SecureChannel#12963143 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] SecureChannel#12963143::.AcquireClientCredentials, new SecureCredential() (flags=(ValidateManual, NoDefaultCred, SendAuxRecord), m_ProtocolFlags=(Ssl3Client, Tls10Client, Tls11Client, Tls12Client), m_EncryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] AcquireCredentialsHandle(package = Microsoft Unified Security Protocol Provider, intent  = Outbound, scc     = System.Net.SecureCredential)
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=179, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#12963143 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#36446461 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [2660] Connection#36446461 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
Connection: close
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:20 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [2660] ConnectStream#49559423::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#57616766 with ConnectStream#49559423
System.Net Information: 0 : [2660] Associating HttpWebRequest#57616766 with HttpWebResponse#43381623
System.Net Information: 0 : [2660] Enumerating security packages:
System.Net Information: 0 : [2660]     Negotiate
System.Net Information: 0 : [2660]     NegoExtender
System.Net Information: 0 : [2660]     Kerberos
System.Net Information: 0 : [2660]     NTLM
System.Net Information: 0 : [2660]     TSSSP
System.Net Information: 0 : [2660]     pku2u
System.Net Information: 0 : [2660]     CloudAP
System.Net Information: 0 : [2660]     WDigest
System.Net Information: 0 : [2660]     Schannel
System.Net Information: 0 : [2660]     Microsoft Unified Security Protocol Provider
System.Net Information: 0 : [2660]     Default TLS SSP
System.Net Information: 0 : [2660]     CREDSSP
System.Net Error: 0 : [2660] Exception in HttpWebRequest#57616766::GetResponse - The remote server returned an error: (401) Unauthorized..
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ServicePoint#48788849
Attempting to gather credentials for 'https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>'
Using saved credentials
System.Net Information: 0 : [2660] Associating Connection#16928338 with HttpWebRequest#54890288
System.Net.Sockets Information: 0 : [2660] Socket#18137316 - Created connection from 192.168.86.26:51460 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#16928338 - Created connection from 192.168.86.26:51460 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#59836530::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ConnectStream#1657863
System.Net Information: 0 : [2660] HttpWebRequest#54890288 - Request: GET /api/nuget/<SANITIZED> HTTP/1.0

System.Net Information: 0 : [2660] ConnectStream#1657863 - Sending headers
{
User-Agent: NuGet/0.10.15.0 (Microsoft Windows NT 10.0.18362.0)
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] SecureChannel#14920772::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] SecureChannel#14920772 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] Using the cached credential handle.
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=211, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#14920772 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#16928338 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [2660] Connection#16928338 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
Connection: close
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:20 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [2660] ConnectStream#69227::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ConnectStream#69227
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with HttpWebResponse#623043
System.Net Warning: 0 : [2660] HttpWebRequest#54890288::() - Resubmitting request.
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#5607390 with HttpWebRequest#54890288
System.Net.Sockets Information: 0 : [2660] Socket#50466518 - Created connection from 192.168.86.26:51461 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#5607390 - Created connection from 192.168.86.26:51461 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#61256166::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ConnectStream#14434584
System.Net Information: 0 : [2660] HttpWebRequest#54890288 - Request: GET /api/nuget/<SANITIZED> HTTP/1.0

System.Net Information: 0 : [2660] ConnectStream#14434584 - Sending headers
{
User-Agent: NuGet/0.10.15.0 (Microsoft Windows NT 10.0.18362.0)
Authorization: Basic <SANITIZED>
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] SecureChannel#62802394::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] SecureChannel#62802394 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] Using the cached credential handle.
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=211, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#62802394 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#5607390 - Received status line: Version=1.1, StatusCode=200, StatusDescription=OK.
System.Net Information: 0 : [2660] Connection#5607390 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
DataServiceVersion: 1.0
Connection: close
Content-Length: 564
Content-Type: application/xml;charset=utf-8
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
}.
System.Net Information: 0 : [2660] ConnectStream#28350637::ConnectStream(Buffered 564 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with ConnectStream#28350637
System.Net Information: 0 : [2660] Associating HttpWebRequest#54890288 with HttpWebResponse#53829147
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#65193616 with HttpWebRequest#14700275
System.Net.Sockets Information: 0 : [2660] Socket#49871633 - Created connection from 192.168.86.26:51462 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#65193616 - Created connection from 192.168.86.26:51462 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#13070512::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ConnectStream#50525752
System.Net Information: 0 : [2660] HttpWebRequest#14700275 - Request: GET /api/nuget/<SANITIZED>/$metadata HTTP/1.0

System.Net Information: 0 : [2660] ConnectStream#50525752 - Sending headers
{
User-Agent: NuGet/0.10.15.0 (Microsoft Windows NT 10.0.18362.0)
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] SecureChannel#52078584::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] SecureChannel#52078584 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] Using the cached credential handle.
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=211, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#52078584 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#65193616 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [2660] Connection#65193616 - Received headers
{
X-Artifactory-Id: 0263e044d6693022499f72bdf9802449f3c8a762
X-Artifactory-Node-Id: <SANITIZED>
Connection: close
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [2660] ConnectStream#66054074::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ConnectStream#66054074
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with HttpWebResponse#57615760
System.Net Warning: 0 : [2660] HttpWebRequest#14700275::() - Resubmitting request.
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#48779793 with HttpWebRequest#14700275
System.Net.Sockets Information: 0 : [2660] Socket#36364960 - Created connection from 192.168.86.26:51463 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#48779793 - Created connection from 192.168.86.26:51463 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#59880657::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ConnectStream#2055005
System.Net Information: 0 : [2660] HttpWebRequest#14700275 - Request: GET /api/nuget/<SANITIZED>/$metadata HTTP/1.0

System.Net Information: 0 : [2660] ConnectStream#2055005 - Sending headers
{
User-Agent: NuGet/0.10.15.0 (Microsoft Windows NT 10.0.18362.0)
Authorization: Basic <SANITIZED>
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] SecureChannel#18495050::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] SecureChannel#18495050 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] Using the cached credential handle.
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=211, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4813d0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4813d0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4813d0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#18495050 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#48779793 - Received status line: Version=1.1, StatusCode=200, StatusDescription=OK.
System.Net Information: 0 : [2660] Connection#48779793 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
DataServiceVersion: 1.0
Connection: close
Content-Length: 4611
Content-Type: application/xml;charset=utf-8
Date: Thu, 28 May 2020 21:57:20 GMT
Server: Artifactory/6.18.1
}.
System.Net Information: 0 : [2660] ConnectStream#32237730::ConnectStream(Buffered 4611 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with ConnectStream#32237730
System.Net Information: 0 : [2660] Associating HttpWebRequest#14700275 with HttpWebResponse#21704116
System.Net Information: 0 : [2660] ContentLength=4611
- Supports prereleases? 'True'.
- Is ServiceBased? 'True'.
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#36474591 with HttpWebRequest#18965813
System.Net.Sockets Information: 0 : [2660] Socket#59835867 - Created connection from 192.168.86.26:51464 to <SANITIZED>:443.
System.Net Information: 0 : [2660] Connection#36474591 - Created connection from 192.168.86.26:51464 to <SANITIZED>:443.
System.Net Information: 0 : [2660] TlsStream#14867095::.ctor(host=artifactory.<SANITIZED>.com, #certs=0, checkCertificateRevocationList=False, sslProtocols=Default, Tls11, Tls12)
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ConnectStream#66694991
System.Net Information: 0 : [2660] HttpWebRequest#18965813 - Request: GET /api/nuget/<SANITIZED>/Packages()?$filter=(tolower(Id)%20eq%20'nodejs')%20and%20IsLatestVersion HTTP/1.1

System.Net Information: 0 : [2660] ConnectStream#66694991 - Sending headers
{
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 2.0;NetFx
User-Agent: Chocolatey Core
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Host: artifactory.<SANITIZED>.com
Accept-Encoding: gzip, deflate
}.
System.Net Information: 0 : [2660] SecureChannel#63384014::.ctor(hostname=artifactory.<SANITIZED>.com, #clientCertificates=0, encryptionPolicy=RequireEncryption)
System.Net Information: 0 : [2660] SecureChannel#63384014 - Left with 0 client certificates to choose from.
System.Net Information: 0 : [2660] Using the cached credential handle.
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = (null), targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffer length=0, Out-Buffer length=211, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=93, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=ContinueNeeded).
System.Net Information: 0 : [2660] InitializeSecurityContext(credential = System.Net.SafeFreeCredential_SECURITY, context = 1bd19c10:2120c4810a0, targetName = artifactory.<SANITIZED>.com, inFlags = ReplayDetect, SequenceDetect, Confidentiality, AllocateMemory, InitManualCredValidation)
System.Net Information: 0 : [2660] InitializeSecurityContext(In-Buffers count=2, Out-Buffer length=0, returned code=OK).
System.Net Information: 0 : [2660] Remote certificate: [Version]
  V3

[Subject]
  CN=artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com, O=<SANITIZED> CORPORATION, L=San Ramon, S=California, C=US
  Simple Name: artifactory-<SANITIZED>.<SANITIZED>.<SANITIZED>.com
  DNS Name: artifactory-external.<SANITIZED>.<SANITIZED>.com

[Issuer]
  CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US
  Simple Name: DigiCert SHA2 Secure Server CA
  DNS Name: DigiCert SHA2 Secure Server CA

[Serial Number]
  <SANITIZED>

[Not Before]
  4/25/2020 7:00:00 PM

[Not After]
  4/26/2021 7:00:00 AM

[Thumbprint]
  <SANITIZED>

[Signature Algorithm]
  sha256RSA(1.2.840.113549.1.1.11)

[Public Key]
  Algorithm: RSA
  Length: 2048
  Key Blob: 30 82 01 0a 02 82 01 01 00 c3 65 c9 63 d4 41 c2 d8 98 a4 32 99 24 db 4c d3 bb 98 2f dd 5f ff 86 53 09 d7 1b 6a a7 91 9d 8a 57 2a 74 fc f4 d1 c4 3e 9f f6 20 74 5d 64 68 80 fa d7 ad 8f 31 27 75 b2 f3 8d 3e 75 7c 74 5a 8d 6a 08 9f eb bb 3b 7e 1d 5d 61 0e 52 14 d8 32 cc f0 22 0d 51 97 4c bc 14 19 d1 8a bd 20 ad 9....
System.Net Information: 0 : [2660] SecureChannel#63384014 - Remote certificate was verified as valid by the user.
System.Net Information: 0 : [2660] ProcessAuthentication(Protocol=Tls12, Cipher=Aes256 256 bit strength, Hash=Sha384 0 bit strength, Key Exchange=44550 255 bit strength).
System.Net Information: 0 : [2660] Connection#36474591 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [2660] Connection#36474591 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [2660] ConnectStream#33585220::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ConnectStream#33585220
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with HttpWebResponse#33831530
System.Net Warning: 0 : [2660] HttpWebRequest#18965813::() - Resubmitting request.
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ServicePoint#48788849
System.Net Information: 0 : [2660] Associating Connection#36474591 with HttpWebRequest#18965813
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ConnectStream#36048322
System.Net Information: 0 : [2660] HttpWebRequest#18965813 - Request: GET /api/nuget/<SANITIZED>/Packages()?$filter=(tolower(Id)%20eq%20'nodejs')%20and%20IsLatestVersion HTTP/1.1

System.Net Information: 0 : [2660] ConnectStream#36048322 - Sending headers
{
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 2.0;NetFx
User-Agent: Chocolatey Core
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Accept-Encoding: gzip, deflate
Authorization: Basic <SANITIZED>
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [2660] Connection#36474591 - Received status line: Version=1.1, StatusCode=200, StatusDescription=OK.
System.Net Information: 0 : [2660] Connection#36474591 - Received headers
{
Transfer-Encoding: chunked
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
DataServiceVersion: 2.0
Content-Type: application/atom+xml;charset=utf-8
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
}.
System.Net Information: 0 : [2660] ConnectStream#55999443::ConnectStream(Buffered -1 bytes.)
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with ConnectStream#55999443
System.Net Information: 0 : [2660] Associating HttpWebRequest#18965813 with HttpWebResponse#34232944
System.Net Information: 0 : [2660] ContentLength=-1
Package 'nodejs' found on source 'https://artifactory.<SANITIZED>.com/api/nuget/<SANITIZED>'
[NuGet] Attempting to resolve dependency 'nodejs.install (= 14.3.0)'.
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ServicePoint#48788849
System.Net Information: 0 : [22956] Associating Connection#36474591 with HttpWebRequest#33477678
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ConnectStream#32249625
System.Net Information: 0 : [22956] HttpWebRequest#33477678 - Request: GET /api/nuget/<SANITIZED>/FindPackagesById()?id='nodejs.install' HTTP/1.1

System.Net Information: 0 : [22956] ConnectStream#32249625 - Sending headers
{
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 2.0;NetFx
User-Agent: Chocolatey Core
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Host: artifactory.<SANITIZED>.com
Accept-Encoding: gzip, deflate
}.
System.Net Information: 0 : [22956] Connection#36474591 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [22956] Connection#36474591 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [22956] ConnectStream#11372715::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ConnectStream#11372715
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with HttpWebResponse#59118442
System.Net Warning: 0 : [22956] HttpWebRequest#33477678::() - Resubmitting request.
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ServicePoint#48788849
System.Net Information: 0 : [22956] Associating Connection#36474591 with HttpWebRequest#33477678
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ConnectStream#65489434
System.Net Information: 0 : [22956] HttpWebRequest#33477678 - Request: GET /api/nuget/<SANITIZED>/FindPackagesById()?id='nodejs.install' HTTP/1.1

System.Net Information: 0 : [22956] ConnectStream#65489434 - Sending headers
{
DataServiceVersion: 1.0;NetFx
MaxDataServiceVersion: 2.0;NetFx
User-Agent: Chocolatey Core
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Accept-Encoding: gzip, deflate
Authorization: Basic <SANITIZED>
Host: artifactory.<SANITIZED>.com
}.
System.Net Information: 0 : [22956] Connection#36474591 - Received status line: Version=1.1, StatusCode=200, StatusDescription=OK.
System.Net Information: 0 : [22956] Connection#36474591 - Received headers
{
Transfer-Encoding: chunked
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
DataServiceVersion: 2.0
Content-Type: application/atom+xml;charset=utf-8
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
}.
System.Net Information: 0 : [22956] ConnectStream#39578557::ConnectStream(Buffered -1 bytes.)
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with ConnectStream#39578557
System.Net Information: 0 : [22956] Associating HttpWebRequest#33477678 with HttpWebResponse#1746841
System.Net Information: 0 : [22956] ContentLength=-1
System.Net Information: 0 : [22956] Associating HttpWebRequest#45093839 with ServicePoint#48788849
System.Net Information: 0 : [22956] Associating Connection#36474591 with HttpWebRequest#45093839
System.Net Information: 0 : [22956] Associating HttpWebRequest#45093839 with ConnectStream#28397761
System.Net Information: 0 : [22956] HttpWebRequest#45093839 - Request: GET //api/nuget/<SANITIZED>/FindPackagesById?id='nodejs.install'&$skiptoken='nodejs.install','0.12.3' HTTP/1.1

System.Net Information: 0 : [22956] ConnectStream#28397761 - Sending headers
{
MaxDataServiceVersion: 2.0;NetFx
User-Agent: Chocolatey Core
Accept: application/atom+xml,application/xml
Accept-Charset: UTF-8
Host: artifactory.<SANITIZED>.com
Accept-Encoding: gzip, deflate
}.
System.Net Information: 0 : [22956] Connection#36474591 - Received status line: Version=1.1, StatusCode=401, StatusDescription=Unauthorized.
System.Net Information: 0 : [22956] Connection#36474591 - Received headers
{
X-Artifactory-Id: <SANITIZED>
X-Artifactory-Node-Id: <SANITIZED>
Content-Length: 91
Content-Type: application/json;charset=ISO-8859-1
Date: Thu, 28 May 2020 21:57:21 GMT
Server: Artifactory/6.18.1
WWW-Authenticate: Basic realm="Artifactory Realm"
}.
System.Net Information: 0 : [22956] ConnectStream#12999895::ConnectStream(Buffered 91 bytes.)
System.Net Information: 0 : [22956] Associating HttpWebRequest#45093839 with ConnectStream#12999895
System.Net Information: 0 : [22956] Associating HttpWebRequest#45093839 with HttpWebResponse#19671638
System.Net Error: 0 : [22956] Exception in HttpWebRequest#45093839::GetResponse - The remote server returned an error: (401) Unauthorized..
System.Net Information: 0 : [22956] ContentLength=91
Chocolatey had an error formatting string:
 Input string was not in a correct format.
[NuGet] {
  "errors" : [ {
    "status" : 401,
    "message" : "Authentication is required"
  } ]
}
nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.
nodejs package files install completed. Performing other installation steps.
No package information as package is null.
No package information to save as package is null.
Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
The install of nodejs was NOT successful.
nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.

Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - nodejs (exited 1) - nodejs not installed. An error occurred during installation:
 Unable to resolve dependency 'nodejs.install (= 14.3.0)'.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 1

@ferventcoder
Copy link
Member

Hi @rgrwatson85, thanks for logging this and I'm sorry this is occurring for you. Thanks for including the logs - no chance that you have a load balancer in front of this?

@rgrwatson85
Copy link
Author

@ferventcoder We do have a private load balancer in front of artifactory, and an application gateway in front of the load balancer.

I have tried targeting the repo from all angles by pointing the source at the public gateway, the private load balancer, and the individual virtual machines hosting artifactory. Seems to not make a difference.

I also tried using your branch for the PR for updating NuGet.Core package to the latest, and that also failed.

@ferventcoder
Copy link
Member

Just so I'm clear, as part of your testing, you targeted artifactory directly in there without any load balancer or anything in the way?

@rgrwatson85
Copy link
Author

@ferventcoder That is correct. The logs that i sent you were from when I was targeting the public endpoint. But I updated the config file to point at one of the servers directly and got the same results.

@ferventcoder
Copy link
Member

Thanks. That will be helpful.

@rgrwatson85
Copy link
Author

@ferventcoder Please let me know if there is anything I can do to help.

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

2 participants