Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Visual studio nuget is not using the HTTPS configured feed and use HTTP instead

$
0
0

I have created a nuget teamcity feed on a https url :

https://teamcity:xyz/httpAuth/app/nuget/v1/FeedService.svc/

When I push to this url or list package in visual studio it works but when I install the package from the package management console or the visual nuget package management tool in visual studio I see that it try to download from http feed but this does not work and give a timeout because the teamcity is only open and allow on https port.

Retrieving package 'Test 1.0.0' from 'SAI'.  GET     http://teamcity:xyz/httpAuth/app/nuget/v1/FeedService.svc/download/Package/4646:i    d/Test.1.0.0.0.nupkgI receive a timeout :Retrieving package 'Test 1.0.0' from 'TEST'. GET       http://teamcity:xyz/httpAuth/app/nuget/v1/FeedService.svc/download/Test/4646:id/T    est.1.0.0.0.nupkg.... ...has timed out after 100000ms.

So, why Visual studio is using http? When i look in the nuget config file I can see that the feed url is configured with HTTPS?

<packageSources><add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" /><add key="nuget.org" value="https://www.nuget.org/api/v2/" /><add key="TEST" value="https://teamcity:xyz/httpAuth/app/nuget/v1/FeedService.svc/" /></packageSources>

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>