-
Notifications
You must be signed in to change notification settings - Fork 684
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 list command is not working #778
Comments
HTTP shouldn't be a critical issue yet, nuget will only deactivate it in november. |
Can you go to that URL using your browser? |
I can see this in my browser. One more thing that I tried in my local machine is one of my projects uses port:5000, to modify this I cloned the source code and update the end the point to some random available port number, I used nuget pack Baget.Nuspec that generated the bunch of compiled dll's, I replaced the updated Baget.dll in my current Baget Folder, but no luck it didn't work, any suggestions on this ? Please let me know, Is there any way around to use command like dotnet ./Baget.dll --port:54321 |
If you get the json, it should be working for the nuget client too. What exactly isn't working, what reaction do you get from nuget? |
|
Seems like it does interact with BaGet, but doesn't find any packages. Are there packages pushed to your local BaGet instance? What if you push a new one, is it found by nuget immediately after pushing? |
I'm having the same problem. I was using a nuget.exe client of 5.4.x. I thought maybe it was the client version (since the error message said so, but that's bogus apparently) and so I updated to v6.70.x. Still no dice, and I'm getting the exact same message as the OP. FWIW, we're switching to Artifactory because we have several Baget instances at this point and need to consolidate. To make the transition much easier, I was hoping to basically "proxy" Baget using an Artifactory Remote repository. But without the |
So, I just built from the latest sources and deployed the application. Issuing the command: nuget list -source http://my-baget-server/v3/index.json resulted in the same error as the OP. Issuing the following command instead: nuget list http://my-baget-server/ resulted in the following output:
So, listing packages, either using the v2 or v3 nuget apis does not work. Issuing a |
And now I've confirmed Baget's behavior vs. nuget.org when using the nuget.exe client via MITM Proxy (Man-in-the-middle). When nuget.exe is used to perform a It appears that Baget does not support any of the V2 API, and so |
I'm trying to use the below command for the list of the packages in my local feed, but it's not working maybe due to this HTTP endpoint,
nuget list -Source http://localhost:5000/v3/index.json
How can I add or use the HTTPS endpoint for this?
The text was updated successfully, but these errors were encountered: