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

nuget.exe on v3 service only uses credentials for request to index.json #1229

Closed
jmyersmsft opened this issue Aug 20, 2015 · 1 comment
Closed
Assignees
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug

Comments

@jmyersmsft
Copy link

We're seeing some strange auth issues here. Using:

  • nuget.exe 3.1.0-beta downloaded from the link in the blog post, or NuGet.CommandLine.3.2-beta-10868 from nugetbuild feed on myget
  • an authenticated v3 source
  • credentials stored in nuget.config,

running:

nuget list -source MyAuthenticatedSource

gives the following behavior:

  1. GET (index.json) (without credentials) -> 401 with auth challenge
  2. GET (index.json) (with Basic credentials) -> 200
  3. GET (SearchQueryService URL) (without credentials) -> 401 with auth challenge
  4. NuGet.exe gives up with the message "Failed to retrieve metadata from source: '[query URL]'.". No further HTTP requests are issued,

index.json and the SearchQueryService are on the same host, if that's interesting

@feiling
Copy link

feiling commented Aug 26, 2015

This is fixed by the fix of #1216

@feiling feiling closed this as completed Aug 26, 2015
@RanjiniM RanjiniM assigned bhuvak and deepakaravindr and unassigned feiling and bhuvak Sep 1, 2015
@deepakaravindr deepakaravindr added Resolution:Duplicate This issue appears to be a Duplicate of another issue 3 - Done and removed 2 - Working labels Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue Type:Bug
Projects
None yet
Development

No branches or pull requests

6 participants