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!

An error occurred while retrieving rows.



  • Version 2023.31 (Build 5)

    When viewing the "Packages" tab, we receive the error "An error occurred while retrieving rows."
    dde4d268-f7f9-43ca-b744-0dcaa5bee4bf-image.png

    This happens with every feed we have.
    e5ddad45-9f7c-47a9-87df-a1f6e0d68c5a-image.png

    When we navigate to the "Feeds" tab we can view feeds and individual packages without issue.

    The error we are seeing in the "Diagnostic Center" of the "Administration Overview" is "Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

    "Microsoft.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    ---> System.ComponentModel.Win32Exception (258): The wait operation timed out.
    at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at Microsoft.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at Microsoft.Data.SqlClient.SqlDataReader.get_MetaData() at Microsoft.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean isAsync, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) at Microsoft.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String method)
    at Microsoft.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at Microsoft.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
    at Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
    at Inedo.Data.SqlServerDatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters)
    at Inedo.Data.StrongDataReader.Read[TRow](Func1 getReader, Boolean disposeReader)+MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
    at Inedo.ProGet.WebApplication.Pages.Packages.ListLocalPackagesPage.<>c__DisplayClass18_1.<<CreateChildControls>g__enumerat|6>d.MoveNext()
    at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at Inedo.Web.Controls.AhTable.Inedo.Web.Controls.ISimpleCallbackHandler.ProcessRequestAsync(AhHttpContext context, String eventName, String eventArgument)
    ClientConnectionId:202edfba-d4ba-4731-aca4-767aa469545b
    Error Number:-2,State:0,Class:11"

    The database is up and we validated the credentials were valid by manually connecting to the database using them. Lost on what else we need to be looking at to troubleshoot this issue. Any guidance or suggestions would be appreciated.

    Thanks!
    Andrew



  • In further searching on the forum I found this similar post: https://forums.inedo.com/topic/4150/proget-packages-error-getting-records

    We don't appear to be having the same issue though as their issue was resolved in the version we are running (2023.31) and the error they are seeing in the diagnostic center is different. The behavior though from a user perspective appears to be almost the same.


  • inedo-engineer

    Hi @akillen_5633 ,

    Sorry on the slow response, but we're kinda stuck on this one; for some reason, the query to list packages is timing out. That's really unexpected, especially in 2023.31.

    If it was related to heavy load, I would expect a lot more symptoms - like API calls, etc timing out. That doesn't seem to be the case.

    The only thing that we can think of is that something is wrong with SQL Server, in so much as it needs some maintenance.:

    We've also seen some old/unpatched versions of SQL Server cause strange performance problems due to some obscure bugs in SQL Server. So that's another thing to consider.

    If that doesn't do the trick, you may need to dig in a bit deeper to figure out what's going on, and see what SQL Server is doing behind-the-scenes. Ultimately this is just executing the Packages_GetPackages stored procedure, which is basically just doing a straight-forward select on FeedPackageVersions_ExtendedWithMaven view.

    Best,
    Alana



  • @atripp appreciate the detailed reply. Going to work through some of this with the team and we will get back to you. Thanks!



  • @atripp

    The sp_updatestats stored procedure resolved the issue for us. Really appreciate the assistance.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation