I have installed teamcity on a VM, which uses proxy to connect to the outside world. I have applied the settings as mentioned in the below post, but still face the problem,
The error this time is as below,
Failed to fetch latest NuGet from default feed.
Failed to connect to http://packages.nuget.org/api/v1/FeedService.svc. Bad Request
Can someone please help me out here? been struggling with this from last 3 days, unable to fetch Nuget command line exe.
I need this to build our solution as it uses several Nuget packages.
By the way, our proxy url set up in the IE LAN settings is something like below,
I have setup parameters for teamcity server as below in teamcity-server.bat,
SET TEAMCITY_SERVER_OPTS=%TEAMCITY_SERVER_OPTS% -Dproxyset=true -Dhttp.proxyHost=proxyuk.mycompany.xx.com -Dhttp.proxyPort=7070 -Dhttp.nonProxyHosts="mycompany.xx.com" -Dhttps.proxyHost=proxyuk.mycompany.xx.com -Dhttps.proxyPort=7070 -Dhttps.nonProxyHosts="mycompany.xx.com"
Whenever I tried to modify this .bat file, the service restart hangs and untill I restart the whole machine, it will not come back to the stable state.