Nuget Packages are not found in repo


Hi All,

I am using nexus OSS 3.15.2-01 and its new instance.
Issue we are facing is with nuget proxy repos, if i try it manually curl nuget org on nexus server it reaches the URL.

I have created a seperate blob for nuget and new repo nuget_gallery, and provided the nuget org in proxy.

Now exepected is to fetch packages we want from nuget org, so what nexus is doing is it fetches the artifacts along with available versions but when i try to download it it says file not found.

From VS it says,

Severity Code Description Project File Line Suppression State
Error The feed ‘nexus prod [repo URL]’ lists package ‘Microsoft.AspNet.WebApi.Client.5.2.7’ but multiple attempts to download the nupkg have failed. The feed is either invalid or required packages were removed while the current operation was in progress. Verify the package exists on the feed and try again.
Unable to find package ‘Microsoft.AspNet.WebApi.Client.5.2.7’.

How ever the version is fetched in nexus if we browse the repo but even when we try to download it says file not found (0 bytes)


Please suggest the resolution.

Thanks in Advance.


Have you checked the nexus.log file to see if there are errors recorded there?


There are no errors or exceptions we found in log.
There is only one warning which is “elastic search exceed and low disk watermark”, however there is still 45GB’s of free space available.



Do you have any idea what is the possible cause issue?
Proxy url https:// also reachable from the nexus server.

Because in log we are only getting

INFO [elasticsearch[C2E9DA26-EA391506-CF1FDBE4-][management][T#2]] *SYSTEM org.elasticsearch.cluster.routing.allocation.decider - [C2E9DA26-EA391506-CF1FDBE4-] low disk watermark [85%] exceeded on [gC80Xyjg][C2E9DA26-EA391506-CF1FDBE4-][/opt/TestNexus/sonatype-work/nexus3/elasticsearch/nexus/nodes/0] free: 45.5gb[12.5%], replicas will not be assigned to this node


I’ve got the same issue with lots of NuGet Packages from proxied Repositories on Nexus 3.17.0. e.g. Swashbuckle.AspNetCore. It would be great if a fix could be done as fast as possible.


Anything in the request.log for the failed packages?
The screen shows locally cached “false” indicating the file is not in NXRM.
I suspect you pulled the metadata but never pulled the file thus it’s showing up.


Hi Joe
First try downloading from Nexus UI: [05/Jul/2019:14:48:12 +0200] “GET /repository/nuget-gallery/Swashbuckle.AspNetCore/4.0.1 HTTP/1.0” 404
Second try downloading with curl: [05/Jul/2019:14:51:08 +0200] “GET /repository/nuget-gallery/Swashbuckle.AspNetCore/4.0.1 HTTP/1.0” 404
With 3.15.2 it can download the artifacts…


Can you confirm “nuget-gallery” is proxy to or relay what it’s a proxy to?
I have no issues downloading in 3.17.

Here’s the curl I tried: curl -o Swashbuckle.AspNetCore.4.0.1.nupkg http://localhost:8081/repository/

Also, if it works for you in 3.15.2, I suspect it’s a different issue than originally reported, as the original poster said they were having the issue in 3.15.2.


From my experience, nexus was not able to create the logs, for nuget or another repo.

When I restarted VM and brought up the nexus it started updating nexus about the activities done on related to nuget as expected.

Restarting vm resolved issue for me. I am not sure what went wrong.

Thanks for the support