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!

    (500) Server Error: Execution Timeout Expired. SqlConnection.OnError ... while clicking on "release" tab

    Scheduled Pinned Locked Moved Support
    7 Posts 3 Posters 15 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.
    • M Offline
      marc.ledent_9164
      last edited by

      Hi,

      For about two months, we have from time to time (500) Server Error. In the log we have the following:

       URL: http://sara.services.gcloud.belgium.be/releases
      Referrer: http://sara.services.gcloud.belgium.be/all-applications
      User: smals-marled@gcloud.dom
      User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
      Stack trace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
      ...
      --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar)
      at Inedo.Web.Handlers.AsyncHandlerWrapper.EndProcessRequest(IAsyncResult result)
      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
      

      It looks like a DB connection timeout, but the connection to DB is OK.
      What could this be?

      Marc

      1 Reply Last reply Reply Quote 0
      • rhessingerR Offline
        rhessinger inedo-engineer
        last edited by

        Hi @marc-ledent_9164,

        Can you please tell me what version of BuildMaster you are running?

        Thanks,
        Rich

        Products Engineer, Inedo

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          marc.ledent_9164 @rhessinger
          last edited by

          @rhessinger v 7.0.14

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            Hi @marc-ledent_9164,

            Thanks for confirming that for me. How often do you see this issue? Is it always for the same application or does it happen on any application?

            Thanks,
            Rich

            Products Engineer, Inedo

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              marc.ledent_9164 @rhessinger
              last edited by

              @rhessinger Hi Rich,

              As this problem becomes blocking, I created a ticket.

              KR,
              Marc

              1 Reply Last reply Reply Quote 0
              • M Offline
                marc.ledent_9164
                last edited by

                Just to inform people here:

                This was due to an over-fragmented indexes in the DB.

                By reorganizing such indexes the problem was solved, even if the request itself still takes 10s.

                For more info: https://inedo.com/support/kb/1167/sql-server-recommendations

                Thanks to the Inedo team,
                Marc

                1 Reply Last reply Reply Quote 0
                • Dan_WoolfD Offline
                  Dan_Woolf inedo-engineer
                  last edited by

                  Hi @marc-ledent_9164,

                  Thanks for following up and letting everyone know that this fixed your issue!

                  Thanks,
                  Dan

                  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