nuget-server

The underlying connection was closed: An unexpected error occurred on a send.— NuGet

杀马特。学长 韩版系。学妹 提交于 2019-12-05 18:02:35
问题 Whilst trying to restore nuget packages I am getting the following:- Error 1 The underlying connection was closed: An unexpected error occurred on a send. Error 2 The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Error 3 The command ""D:\root\.nuget\NuGet.exe" install "D:\root\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "D:\root\"" exited with code 1. Error 4 Metadata file 'D:\root\project.Website.dll'

NuGet private feed not updating DownloadCount

浪尽此生 提交于 2019-12-05 05:44:15
I have set up a small test Nuget private repository on my machine following this guide . Everything is working perfectly and I can publish packages, update versions, download them etc. The only problem is that the DownloadCount of my packages is always 0 regardless of how many times I download it. I downloaded NuGet source but could not find a place where this value is updated. Moreover, nuget does not seem to use any DB technology so probably the feed is just generated on demand from the contents of the Packages folder. Does anyone have any idea if this is a known issue or if it's a problem

Pushing to private nuget feed Prompts for Credentials

若如初见. 提交于 2019-12-04 22:49:19
I have set up a private nuget feed using a empty web application and the nuget server package. It is all working, I can retrieve from the feed, and I can publish to the private feed using the Nuget Package Explorer. But I cant publish via the command line - it prompts for credentials. I have set the ApiKey in the web application in the Appsettings, to a simple password, and I have tried adding the ApiKey to the push command. This Prompts me for a username and then a password. I have also tried the SetApiKey command but I get the same behavior. On the build server I am trying the same thing

NuGet.Server returns 404 error

蓝咒 提交于 2019-12-04 17:07:33
问题 I have followed the instructions to setup and host my own NuGet feed. I am running the web application on a Windows 2012 (IIS 8.5) box. I build and run the solution and get the default.aspx page... Which says "You are running NuGet.Server v2.8.60318.667" and "Click here to view your packages". When I click on the "here" link I get a "404 - File or directory not found." error. I can successfully run a nuget.exe push command to put packages on the Nuget server; however I get a 404 error when

405 Method Not Allowed in NuGet Push

独自空忆成欢 提交于 2019-12-04 16:15:33
问题 My NuGet server is throwing a 405 Not Allowed when I try to make a push. At least, thats what NuGet console says: Failed to process request. 'Method Not Allowed'. The remote server returned an error: (405) Method Not Allowed.. But when I look at the actual HTTP response with Fiddler the problem seems to be totally different: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code></code> <message xml:lang="en

Configuring NuGet server to use Authentication

蹲街弑〆低调 提交于 2019-12-04 07:35:37
问题 The release notes for NuGet 1.5 state NuGet now supports connecting to private repositories that require basic or NTLM authentication. However, the link contained in there simply leads to the hosting your own nuget feeds page, without any further mention of how to set up authentication. I would like to set up a NuGet server that is accessible via https from the internet, but only allows people who can successfully authenticate to view or download the packages on the server. I did create an

The underlying connection was closed: An unexpected error occurred on a send.— NuGet

落花浮王杯 提交于 2019-12-04 01:59:22
Whilst trying to restore nuget packages I am getting the following:- Error 1 The underlying connection was closed: An unexpected error occurred on a send. Error 2 The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Error 3 The command ""D:\root\.nuget\NuGet.exe" install "D:\root\packages.config" -source "" -NonInteractive -RequireConsent -solutionDir "D:\root\"" exited with code 1. Error 4 Metadata file 'D:\root\project.Website.dll' could not be found D:\root\project.UnitTests\CSC I tried the solutions provided on: Visual Studio 2010

500.19 Error when running nuget gallery from iis

[亡魂溺海] 提交于 2019-12-03 16:31:55
问题 I'm trying to run a local install of Nuget Gallery but get a 500 error related to a bad config file. However, this only happens when running from IIS. If I run from IIS Express it works fine. Can anyone give me any pointers? Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code

405 Method Not Allowed in NuGet Push

你说的曾经没有我的故事 提交于 2019-12-03 10:26:36
My NuGet server is throwing a 405 Not Allowed when I try to make a push. At least, thats what NuGet console says: Failed to process request. 'Method Not Allowed'. The remote server returned an error: (405) Method Not Allowed.. But when I look at the actual HTTP response with Fiddler the problem seems to be totally different: <?xml version="1.0" encoding="utf-8" standalone="yes"?> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code></code> <message xml:lang="en-US">The URL representing the root of the service only supports GET requests.</message> </error> Any

Where can I find documentation for the NuGet v3 API?

杀马特。学长 韩版系。学妹 提交于 2019-12-03 09:11:25
问题 I'm interested in writing a client library around the NuGet v3 API in a non-.NET language. Where can I find documentation/resources on it that would tell me e.g. what URLs to make requests to and what responses it would return? I tried doing a quick Google search, but the only thing that turns up is this, which was last updated 3 years ago. Does a spec exist? 回答1: Here is the official NuGet V3 API documentation. The API is composed of multiple protocols, including: The Service Index - used by