Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 followed 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.

like image 858
Chase Florell Avatar asked Nov 14 '22 17:11

Chase Florell


1 Answers

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)

like image 136
Martin Odhelius Avatar answered Jan 05 '23 18:01

Martin Odhelius