Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    progetnuget
    5 Posts 1 Posters 232 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              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.

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation