We have a private NuGet repository that requires NTLM authentication. We found out that some computers can't authorized automatically because of unknown issue. We used debug on the NuGet source code to check the problem. We found that the first request uses KeepAlive false setting and it gets an unauthorized exception. If we set the KeepAlive to true, then everything works fine. We attached a patch for the problem, it stores the previous response and request as well in the RequestHelper class and we handled the issue.
if (previousResponse == null || IsKeepAliveShoudBeUsedInPreviousRequest(previousRequest, previousResponse))
Comments: Verified a private repo using NTLM authentication. (Installed NuGet.Server and host it in IIS, enable only windows authentication.) Also tried enable proxy authentication via Fiddler. Both works.
if (previousResponse == null || IsKeepAliveShoudBeUsedInPreviousRequest(previousRequest, previousResponse))
Comments: Verified a private repo using NTLM authentication. (Installed NuGet.Server and host it in IIS, enable only windows authentication.) Also tried enable proxy authentication via Fiddler. Both works.