'Could not find an AllVersionsAPI endpoint' when using Artifactory repository
See original GitHub issueDescription
I’m experimenting with Paket for the first time. I have a small project that references a few packages on nuget.org and from a private NuGet v3 feed hosted by Artifactory 6.11.3.
Paket version: 5.216.0
Repro steps
- Create a small project using Paket, where the
paket.dependencies
is something like:
source https://privateartifactoryinstance.local/api/nuget/v3/privatefeed
source https://api.nuget.org/v3/index.json
nuget coverlet.collector 1.0.1
nuget Microsoft.NET.Test.Sdk 16.2.0
nuget MSTest.TestAdapter 1.4.0
nuget MSTest.TestFramework 1.4.0
nuget PrivatePackage 1.3.0
- Run
paket.exe install
Expected behavior
Paket installs the packages from both the private and public NuGet feed, as available.
Actual behavior
Paket fails with the following error:
Paket failed with
-> Unable to retrieve package versions for 'Microsoft.NET.Test.Sdk'
-- CLOSED --
-- OPEN ----
Microsoft.NET.Test.Sdk 16.2 (from C:\Users\Ross Gardiner\Documents\Projects\PaketInvestigation\paket.dependencies)
PrivatePackage 1.3.0 (from C:\Users\Ross Gardiner\Documents\Projects\PaketInvestigation\paket.dependencies)
MSTest.TestAdapter 1.4 (from C:\Users\Ross Gardiner\Documents\Projects\PaketInvestigation\paket.dependencies)
MSTest.TestFramework 1.4 (from C:\Users\Ross Gardiner\Documents\Projects\PaketInvestigation\paket.dependencies)
coverlet.collector 1.0.1 (from C:\Users\Ross Gardiner\Documents\Projects\PaketInvestigation\paket.dependencies)
-> could not find an AllVersionsAPI endpoint for https://privateartifactoryinstance.local/api/nuget/v3/privatefeed
Known workarounds
No known workaround.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15 (4 by maintainers)
Top Results From Across the Web
[RTFACT-20469] Support v3 endpoint to work with "paket ...
Problem statement: Unable to resolve the NuGet packages via Artifactory by using Nuget v3 endpoint to work with "paket" dependency manager.
Read more >[#RTFACT-13009] artifactory does not find scope packages ...
Recently we need some scoped package from registry.npmjs.org because are transitive dependencies and we run into the issue where virtual repository seems not...
Read more >[RTFACT-17174] Visual Studios Doesn't show all packages ...
If you have several packages with several versions in a nuget repo, Visual studios 2017 won't show all the packages unless "Include Prereleases"...
Read more >[#TFSAP-7] Accessing endpoints from releases doesn't work
We've been using the artifactory downloader task in vsts with no issues until recently and now when using that task within a release...
Read more >[#RTFACT-19421] Nuget remote can incorrectly cache V2 ...
Trying to define remote repo with Nuget V3 API against another Artifactory (documentation here), while using non-V3 Feed URL endpoint, will ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was evaluating Paket with great hopes when I stumbled on this problem following the “Converting from Nuget” guide… If it helps, I found this open issue in jfrog JIRA ticket. Maybe someday they will take a look: https://www.jfrog.com/jira/browse/RTFACT-20469
Is there any progress on this issue, I now tried to use this example:
on the latest version of paket, but it still fails:
-> could not find an AllVersionsAPI endpoint for https://myCompany.com/artifactory/api/nuget/v3/cached-nuget.org