Nuget proxy repository 404

Hello All!
I am using Nexus Repository Manager OSS 2.14.20-02. I created nuget proxy repository.
For remote storage I specified: ttps://www.nuget.org/api/v2/.
When running nuget against Nexus I am getting:

C:\nuget>nuget install jquery -source nuget-repo
Feeds used:
ttps://nexus:44300/nexus/content/repositories/nuget-repo/

Installing package ‘jquery’ to ‘C:\nuget’.
GET ttps://nexus:44300/nexus/content/repositories/nuget-repo/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0
NotFound ttps://nexus:44300/nexus/content/repositories/nuget-repo/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0 4ms
An error occurred while retrieving package metadata for ‘jquery’ from source ‘nuget-repo’.
Failed to fetch results from V2 feed at ‘ttps://nexus:44300/nexus/content/repositories/nuget-repo/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0’ with following message : Response status code does not indicate success: 404 (Not Found).
Response status code does not indicate success: 404 (Not Found).

And against original:

C:\nuget>nuget install jquery -source ttp://www.nuget.org/api/v2/
Feeds used:
ttp://www.nuget.org/api/v2/

Installing package ‘jquery’ to ‘C:\nuget’.
GET ttps://www.nuget.org/api/v2/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0
OK ttps://www.nuget.org/api/v2/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0 279ms

Attempting to gather dependency information for package ‘jquery.3.6.0’ with respect to project ‘C:\nuget’, targeting ‘Any,Version=v0.0’
Gathering dependency information took 31 ms
Attempting to resolve dependencies for package ‘jquery.3.6.0’ with DependencyBehavior ‘Lowest’
Resolving dependency information took 0 ms
Resolving actions to install package ‘jquery.3.6.0’
Resolved actions to install package ‘jquery.3.6.0’
Retrieving package ‘jQuery 3.6.0’ from ‘http://www.nuget.org/api/v2/’.
GET ttps://www.nuget.org/api/v2/package/jQuery/3.6.0
OK ttps://www.nuget.org/api/v2/package/jQuery/3.6.0 553ms
Installed jQuery 3.6.0 from http://www.nuget.org/api/v2/ with content hash sSzCTDWn15waSMjDrP21jjgG1j1pwISLaKiVCClwU4XGAmuZt+FScLkdyRvh9ppoIxAW/tJtJBYei+3CAwFQ7g==.
Adding package ‘jQuery.3.6.0’ to folder ‘C:\nuget’
Added package ‘jQuery.3.6.0’ to folder ‘C:\nuget’
Successfully installed ‘jQuery 3.6.0’ to C:\nuget
Executing nuget actions took 2.06 sec

I already tried to change nuget protocol:
protocolVersion=“2” in nuget config.

** I am new user and limited to 2 links in post, so I changed http to ttp.

Nothing help.
Any ideas?

Hi Arkady,

tl;dr; Use https://api.nuget.org/v3/index.json instead of https://www.nuget.org/api/v2/

Nuget V2 is deprecated and you should migrate to V3. You can find more information about this using these links:

I created new Nuget proxy repository pointing to
https://api.nuget.org/v3/index.json
when trying to use it:
C:\nuget>nuget install jquery -source ttps://nexus:44300/nexus/content/repositories/nuget-v3/
Feeds used:
ttps://nexus:44300/nexus/content/repositories/nuget-v3/

Installing package ‘jquery’ to ‘C:\nuget’.
GEThttps://nexus:44300/nexus/content/repositories/nuget-v3/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0
NotFound ttps://nexus:44300/nexus/content/repositories/nuget-v3/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0 9ms
An error occurred while retrieving package metadata for ‘jquery’ from source ‘ttps://nexus:44300/nexus/content/repositories/nuget-v3/’.
Failed to fetch results from V2 feed at ‘ttps://nexus:44300/nexus/content/repositories/nuget-v3/FindPackagesById()?id=‘jquery’&semVerLevel=2.0.0’ with following message : Response status code does not indicate success: 404 (Not Found).
Response status code does not indicate success: 404 (Not Found).

Just pay your attention that I am on Nexus Repository Manager OSS 2.14.20-02.

The source URL should be: https://nexus:44300/nexus/content/repositories/nuget-v3/index.json