Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

How to increase timeout to download NuGet package of more than 30MB



  • Hi,
    I am having ProGet-3.4.6 installed in 'Windows 2008 R2 Standard - Service Pack-1'.

    Some times(like when connected to VPN) I am unable to download NuGet package of more than 30MB. Is there a way to increase timeout either in NuGet server or anyother place?

    The error message while downloading from chrome is 'Failed - Network error'.

    Thanks

    Product: ProGet
    Version: 3.4.6



  • This limitation is not on the ProGet/IIS side, but on your client side. I don't believe there is a way to increase the timeout in nuget.exe.

    You may also want to consider synchronizing two different ProGet servers together using the feed-sync feature.



  • I'm having the same issue. It seems to me that all downloads - be it from the NuGet package manager inside Visual Studio or from the ProGet website itself - are just suspended if they take longer than ~ 2 minutes. In my case this often imposes a threshold which is unbearable.

    I wonder where this limitation is coming from?



  • I'm having the same issue. It seems that this timeout is the default timeout of the web server. You can increase the value in Web.config file.
    Therefore open the Web.config (C:\Program Files\ProGet\WebApp\Web.config) in a text editor. Add the attribute "executionTimeout" in element <httpRuntime>. Set the value of executionTimeout attribute to a suitable value in seconds, e.g. executionTimeout="600".

    The default value is 110 seconds (these are the approximately 2 minutes you have seen).
    A description of this attribute can be found here:

    Microsoft: httpRuntime Element

    You must be aware that you might need to repeat this during an upgrade. Therefore and since this timeout is often reached when downloading larger packages or normal packages in a bad performing network, like a VPN, i would like to see that this timeout is configurabele via Web UI.



  • Thanks for the investigation- we'll see if we can get this configurable in the next release, and possibly look into seeing if we can avoid clobbering web.config on upgrades.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation