-
Notifications
You must be signed in to change notification settings - Fork 526
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
Nexus 3: Fails get packages from feed with credentials #1941
Comments
I tried to pass the credentials direct in the source definition of
|
do you have a public container running somewhere for me to test? I thought we already made that work couple of versions ago |
@forki I can create a new user for you to be able to connect to our repo (accessable from net). How can I send you the credentials? Github has no PM any more. |
Sforkmann at gmail. Thx |
I found the reason. Nexus3 have different behaviour, if you call the root nuget URL with or without ending "/" in the URL. http://<your-nexus-domain>/repository/nuget-group/
Result Code: 200 http://<your-nexus-domain>/repository/nuget-group
Result Code: 404
I issued this behaviour by sonatype. |
If they can't fix it then we can just workaround by checking that url as 2016-10-07 9:08 GMT+02:00 Eugen Richter [email protected]:
|
Description
We use Sonatype Nexus 3 repository (Docker container
sonatype/docker-nexus3
) as our private repository. This is accessable from internet. Because of this, the access is limited to only registered users. The anonymous access is switched off (Administration panel -> Security -> Anonymous ->Allow anonymous users to access the server
unchecked).The resolution with
.paket\paket update
fails. Credentials are stored in configuration. Access from Visual Studio and Xamarin Studio (macOS) nuget manager works without problems with the same credentials.Resolution with activated anonymous access works also without problems with paket.
Repro steps
nx-search-read
nx-repository-view-*-*-read
nx-repository-view-*-*-browse
.paket\paket config add-creadentials http://<your-nexus-repo>/repository/nuget-group/
/
for the source (this is truncated with the config command). Without this fix, the login fails..paket\paket update
forpaket.dependencies
that has Nexus 3 repo as source (like above)Expected behavior
Paket resolve the needed nuget package over nexus repository.
Actual behavior
Resolution stops with the following error:
With verbose output (
.paket\paket update -v
):Known workarounds
No known workarounds.
The text was updated successfully, but these errors were encountered: