开发者

Nuget Server returning 403's and 404's

I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues.

  1. I've foll开发者_C百科owed the instructions here ( Hosting your own NuGet Feeds )
  2. I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines.
    1. I'm not running TFS
    2. It "could" be a proxy issue, but I'm not entirely sure how to check.

My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are throwing errors.

Any help with this will be greatly appreciated.


You are probably running the NuGet.Server in a Web Site-project. Try to run it via an ASP.NET Web Application instead (in Visual Studio you can create one via File -> New -> Project -> ASP.NET Web Application)


Have you tried the latest version (1.5)?

The release notes include some changes related to proxy authentication:

Support for Proxies that require authentication

When using NuGet behind a proxy that requires authentication, NuGet will now prompt for proxy credentials. Entering credentials allows NuGet to connect to the remote repository.


I realize I'm a little late to the party but I've just spent a frustrating couple of hours with the same problem.

I found that switching the Application Pool from "Classic" to "Integrated" fixed the problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜