Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
External Nuget feed added doesn't show packages
-
Hi,
We are testing the Proget in our team. I am very new to this.
We have our own in house nuget server, I have added the connector and configured the nuget server url, where the connectors shows healthy but its not showing the number of packages.
"citrixnuget Healthy (as of 2/12/2016 3:14 AM) unknown allow all packages"
Also, when i click on the feed which is configured with this connector, i am getting the following error.
"There was an error with a connector:The remote server returned an error: (404) Not Found."
Please let us know what could be the issue.
Regards,
HarshaProduct: ProGet
Version: 4.0.5
-
It sounds like the URL for this external feed is incorrect. If you visit it, it should look something like http://www.nuget.org/api/v2/
-
http://SERVERNAME/api/v2/ is the url added in the connector and still showing the same error.
Please advice how to proceed.
-
When you visit
http://SERVERNAME/api/v2/
in your browser, does it look like a NuGet/RSS endpoint? If you visit http://www.nuget.org/api/v2/ in your browser, you can see what a NuGet/RSS endpoint looks like.
-
When i access http://SERVER/api/v2/
Server Error
404 - File or directory not found.
The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.When i access the following path, i see the xml structure
http://SERVER/nuget/Packages<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xml:base="http://SERVER/nuget/" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns="http://www.w3.org/2005/Atom">
<title type="text">Packages</title>
<id>http://SERVER/nuget/Packages</id>
<updated>2016-02-15T16:16:41Z</updated>
<link rel="self" title="Packages" href="Packages" />
<entry>
<id>http://SERVER/nuget/Packages(Id='angularjs',Version='1.4.4')</id>
<title type="text">angularjs</title>
<summary type="text"></summary>
<updated>2015-09-03T13:54:37Z</updated>
<author>
<name>Fitzchak Yitzchaki,Dov Landau</name>
</author>
<link rel="edit-media" title="Package" href="Packages(Id='angularjs',Version='1.4.4')/$value" />
<link rel="edit" title="Package" href="Packages(Id='angularjs',Version='1.4.4')" />
<category term="NuGet.Server.DataServices.Package" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" />
<content type="application/zip" src="http://SERVER/api/v2/package/angularjs/1.4.4" />
<m:properties xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<d:Version>1.4.4</d:Version>
<Truncated.....>Is something wrong in my nuget configuration?
-
I'm not sure what
http://SERVER/
is? Is it a NuGet.Server instance?In that case, then
http://SERVER/
would be the NuGet API endpoint. That's what you need to enter on ProGet./api/v2
is the default endpoint on NuGet.org.