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!

    Proget Service/Site Crashes with 500 Error

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 20 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.
    • J Offline
      jfullmer_7346
      last edited by

      ===What version does this affect?===
      ProGet 2023.13 (Inedo Hub)

      ===How can we help? (in brief)===
      [Major] Service keeps crashing taking site down every few days

      ===Please add any details that might help us help you.===
      On a fairly regular basis our proget site is crashing and giving a 500 error. It's often happening in the wee hours of the morning.
      Sometimes it's fixed by a restart of just the proget service
      Sometimes it's a restart of the service and the site
      Sometimes it's a restart of the whole iis server service

      We're also able to bring it back up but it shouldn't be randomly crashing.

      When checking in the event log we see a few things and I am attaching saved versions of those logs so you can see them in more detail.
      Around the same time as things crash there are winrm and certificate related errors (we're not doing anything special that we know of with certificates and winrm) and we see an error saying the proget service couldn't connect to the sql server

      J stevedennisS 2 Replies Last reply Reply Quote 0
      • J Offline
        jfullmer_7346 @jfullmer_7346
        last edited by

        I can't attach a zip of the events so here are some screenshots

        IIS AspNetCoreModuleV2 Error Code 1018

        4628915d-4c4a-49bb-ae31-ba2874428916-image.png

        IIS AspNetCoreModuleV2 Error Code 1007

        898fc884-a9b3-4d51-9b11-4a12e7208032-image.png

        CertificateServicesClient-CertEnroll Error 86

        145f657a-1d9c-4f81-b237-eb1b2023e6a3-image.png

        .NET Runtime Error 1026

        ea7e5e82-a33a-44cd-9952-688682cd4d3d-image.png

        Service Control Manager Error 7031

        5d9714bc-1b1a-4f33-b5c6-88e9b2c7998d-image.png

        1 Reply Last reply Reply Quote 0
        • stevedennisS Offline
          stevedennis inedo-engineer @jfullmer_7346
          last edited by

          Hi @jfullmer_7346 ,

          The ProGet Service (and WebApp if using IIS) will crash when the database is no longer accessible. Based on the error messages, that exactly the case. The "good news" isn't that isn't ProGet related, so that at least gives you one less place to look.

          It looks like you're using the SQL Server on the same machine ("shared memory provider"), but I'm not totally sure. If that's the case, then my guess is that the SQL Server is crashing; you'd have to check SQL Server's event/error logs for that. It's very rare for SQL Server to crash, and I'd be worried that it's a sign of hardware failure.

          Beyond that, I don't have any specific trips/ticks on research SQL Server connectivity problems, but but if you search ...

          • "shared memory provider error 40" (it was in the error message I saw)
          • "SQL Server v??? crashing" (assuming this is the case, whatever your version is)
          • specific error messages from SQL server's event/error logs about the time it crashed

          ... you'll find lots of advice all over the place, since this could impact pretty much any software that uses SQL Server.

          Good luck and let us know what you find!

          Thanks,
          Steve

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jfullmer_7346 @stevedennis
            last edited by

            @stevedennis said in Proget Service/Site Crashes with 500 Error:

            shared memory provider error 40

            Thank you for the insights, I was also thinking the sql server was the most significant thing. It is on the same server but it's also a virtual server, I don't think it's a hardware failure there.

            There is another sql server running on the server for chocolatey central management, there may have been a conflict with a mismatched version dependency on that app for the dotnet-aspnetmodule-v2 where I need the 16.x version for CCM but I accidentally upgraded to the 17.x version.

            At the moment the issues hasn't recurred since the day I reported it and I'm hoping having fixed that dependency has fixed the issue. I found some other things that mention local sql aliases needing to exist, I do use many dns aliases in the server's config so I might try making those as sql named pipe aliases to see if that makes any difference, though it seems a long shot.

            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