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!

    Occasional error when downloading a package

    Scheduled Pinned Locked Moved Support
    progeterrorsperformance
    10 Posts 1 Posters 76 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

      We have ProGet deployed and are occasionally getting errors when packages are being downloaded, especially if multiple members of my team are restoring packages for a solution at the same time. We've hosted ProGet in IIS, so I have enabled Failed Request Tracing and noticed that a NullReferenceException occurs. Any clues on how we might fix this? We haven't been able to detect any particular pattern in when we get these errors, although it seems to occur more often when more members of my team are downloading packages at the same time.

      I've uploaded the Failed Request Trace here: https://dl.dropboxusercontent.com/u/23379493/FailedRequestTrace.zip

      Product: ProGet
      Version: 3.7.6

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

        That's strange... Is anything getting written to ProGet's error log (accessible by clicking on the Admin->view all messages link)? Unhandled exceptions in the web application like that should be written there with a complete stack trace. That might help us figure out the root cause.

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

          I had a look at the errors being reported in the admin section. Here's what I found:

          Logged:

          8/20/2015 9:34:08 AM

          Level:

          Warning Warning

          Category:

          NuGet API

          Message:

          An error occurred processing a GET request to http://zeusapp002.zeus.corp:9090/nuget/Developers/package/DeVries.NServiceBus/1.0.0: Object reference not set to an instance of an object.

          Details:

          at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.ProcessGetRequest(HttpContext context, RequestData urlData)
          at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.ProcessRequest(HttpContext context)

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

            It looks like some information is missing from the stack trace; a full stack trace should be logged. Can you find that?

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

              Any clues as to where I might find that log? I've looked into the installation directory but couldn't find any log files.

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

                It'd be in the admin section errors; there should be a full stack trace.

                All that came through is this...

                at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.ProcessGetRequest(HttpContext context, RequestData urlData) at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.ProcessRequest(HttpContext context)

                .. was there anything else?

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

                  Nope, that's all I got. I did notice a new error I haven't seen before just now:

                  Logged:

                  8/21/2015 2:45:36 PM

                  Level:

                  Warning Warning

                  Category:

                  NuGet API

                  Message:

                  An error occurred processing a GET request to http://zeusapp002.zeus.corp:9090/nuget/Developers/package/DeVries.WMS.Database.Implementation/1.0.0: An error occurred while communicating with the remote host. The error code is 0x800703E3.

                  Details:

                  at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async)
                  at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal)
                  at System.Web.HttpResponse.Flush(Boolean finalFlush, Boolean async)
                  at System.Web.HttpWriter.WriteFromStream(Byte[] data, Int32 offset, Int32 size)
                  at Inedo.Web.Handlers.HttpResponseExtensions.TransmitStream(HttpResponse response, Stream stream, String fileName, String contentType)
                  at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.TransmitPackage(HttpContext context, ProGetFeedPackage package, NuGetFeeds_Extended feed, String packageFileName, Boolean includeSymbols, NuGetFeed2 feed2)
                  at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.ProcessGetRequest(HttpContext context, RequestData urlData)
                  at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.ProcessRequest(HttpContext context)

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

                    Any updates on this issue? I'm still seeing these messages being logged with 3.8.0.

                    Logged:

                    9/10/2015 1:35:02 PM

                    Level:

                    Warning Warning

                    Category:

                    NuGet API

                    Message:

                    An error occurred processing a GET request to http://zeusapp002.zeus.corp:9090/nuget/Developers/package/DeVries.WMS.ICSecurity.Headers/1.0.0: Object reference not set to an instance of an object.

                    Details:

                    at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.GetHandler.ProcessGetRequest(HttpContext context, RequestData urlData)
                    at Inedo.ProGet.WebApplication.SimpleHandlers.NuGet.NuGetApi.ProcessRequest(HttpContext context)

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

                      I suspect the issue is related to network connectivity, based on stack traces messages (" An error occurred while communicating with the remote host"), and especially b/c it's intermittent and works after a retry.

                      ProGet is fairly well tested for high-volume usage. Can you come up with a way to consistently reproduce this? A script that does a lot of simultaneous downloads might help point in the right direction.

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

                        We've finally tracked down what was causing this issue. We had two feeds configured that both had two connectors that connected back to the same ProGet server on different feeds. Turns out that this causes a very high request queue on the ProGet server, which in turn caused timeouts and eventually errors during package restore.

                        I've now created a separate web application in IIS hosting the same ProGet folder but running on a different port and configured those two feeds to connect to the other port. This seems to alleviate the problem for now.

                        Would be nice though if this was supported by ProGet itself. I've seen many artifact repositories that support such a feature where sort of virtualized feeds can be created by combining other feeds.

                        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