Internal Error An error occurred in task 'Collects all runtime configurations

Is there any one manage to resolved the issue?


Internal Error

An error occurred in task 'Collects all runtime configurations and dumps them to a .configurations file.':

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

Details : System.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 (0x80004005): The wait operation timed out

   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

   at System.Data.SqlClient.SqlDataReader.get_MetaData()

   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

   at OutSystems.HubEdition.DatabaseProvider.SqlServer.ExecutionService.ExecutionService.ExecuteReader(IDbCommand cmd)

   at OutSystems.Internal.Db.ManagedCommand.ExecuteReader(String description, Boolean isApplication, Boolean transformParameters, Boolean skipLog)

   at OutSystems.Server.Services.ApplicationPortfolio.Infrastructure.Repositories.Dependencies.ModuleDependencyRepository.SearchEspaceDependencies(ObjectKey consumerKeyEquals, ObjectKey producerKeyEquals, Int32 consumerVersionIdEquals)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.NativeHash.InMemoryMetamodelIntrospector.Create(IApplicationRepository applicationRepository, IModuleDependencyRepository dependenciesRepository)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.Dependencies.ModuleDependencyReadOnlyService.GetEspaceDirectAndIndirectProducers(ObjectKey espaceKey, Boolean includeExtensions)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetUnfilteredModuleRuntimeConfiguration(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetModuleConfigurations(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.HubEdition.DeploymentController.Tasks.Deployment.PrepareForDeployment.GenerateConfigurationsTask.InnerExecute(RuntimeSettings& appConfigurations)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

ClientConnectionId:907c74d3-566b-40c6-a55e-3a27338f507a

Error Number:-2,State:0,Class:11

Exception Details:

[1] Internal Error: An error occurred in task 'Collects all runtime configurations and dumps them to a .configurations file.':

Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

Details : System.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 (0x80004005): The wait operation timed out

   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

   at System.Data.SqlClient.SqlDataReader.get_MetaData()

   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

   at OutSystems.HubEdition.DatabaseProvider.SqlServer.ExecutionService.ExecutionService.ExecuteReader(IDbCommand cmd)

   at OutSystems.Internal.Db.ManagedCommand.ExecuteReader(String description, Boolean isApplication, Boolean transformParameters, Boolean skipLog)

   at OutSystems.Server.Services.ApplicationPortfolio.Infrastructure.Repositories.Dependencies.ModuleDependencyRepository.SearchEspaceDependencies(ObjectKey consumerKeyEquals, ObjectKey producerKeyEquals, Int32 consumerVersionIdEquals)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.NativeHash.InMemoryMetamodelIntrospector.Create(IApplicationRepository applicationRepository, IModuleDependencyRepository dependenciesRepository)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.Dependencies.ModuleDependencyReadOnlyService.GetEspaceDirectAndIndirectProducers(ObjectKey espaceKey, Boolean includeExtensions)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetUnfilteredModuleRuntimeConfiguration(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetModuleConfigurations(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.HubEdition.DeploymentController.Tasks.Deployment.PrepareForDeployment.GenerateConfigurationsTask.InnerExecute(RuntimeSettings& appConfigurations)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

ClientConnectionId:907c74d3-566b-40c6-a55e-3a27338f507a

Error Number:-2,State:0,Class:11

at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.Run(InputType context, IMessageBroker messageBroker, OutputType& result)

   at cs#jyfmpvtp.InnerExecute(String& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

   at cs#jyfmpvts.InnerExecute(cs#jyfmpvtr& result)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.Run(InputType context, IMessageBroker messageBroker, OutputType& result)

   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()

   at System.Threading.Tasks.Task.Execute()

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)

   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)

   at System.Threading.ThreadPoolWorkQueue.Dispatch()

[2] System.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 (0x80004005): The wait operation timed out

   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)

   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)

   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)

   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()

   at System.Data.SqlClient.SqlDataReader.get_MetaData()

   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)

   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)

   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)

   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)

   at OutSystems.HubEdition.DatabaseProvider.SqlServer.ExecutionService.ExecutionService.ExecuteReader(IDbCommand cmd)

   at OutSystems.Internal.Db.ManagedCommand.ExecuteReader(String description, Boolean isApplication, Boolean transformParameters, Boolean skipLog)

   at OutSystems.Server.Services.ApplicationPortfolio.Infrastructure.Repositories.Dependencies.ModuleDependencyRepository.SearchEspaceDependencies(ObjectKey consumerKeyEquals, ObjectKey producerKeyEquals, Int32 consumerVersionIdEquals)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.NativeHash.InMemoryMetamodelIntrospector.Create(IApplicationRepository applicationRepository, IModuleDependencyRepository dependenciesRepository)

   at OutSystems.Server.Services.ApplicationPortfolio.Application.Dependencies.ModuleDependencyReadOnlyService.GetEspaceDirectAndIndirectProducers(ObjectKey espaceKey, Boolean includeExtensions)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetUnfilteredModuleRuntimeConfiguration(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.Server.Services.Configuration.Application.Runtime.RuntimeConfigurationsProvider.GetModuleConfigurations(ObjectKey moduleKey, Int32 eSpaceVersionId)

   at OutSystems.HubEdition.DeploymentController.Tasks.Deployment.PrepareForDeployment.GenerateConfigurationsTask.InnerExecute(RuntimeSettings& appConfigurations)

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask`3.InnerExecute()

   at OutSystems.HubEdition.ServerCommon.Tasks.AbstractTask.Execute()

ClientConnectionId:907c74d3-566b-40c6-a55e-3a27338f507a

Error Number:-2,State:0,Class:11[3] System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out

Hi Jayson,

What Platform Server version are you running? 

According to this thread, OutSystems is aware of this issue and it should be fixed in the latest Platform Server version.

Regards,

Nordin

Current version is Version 11.7.3 (Build 7036) 

Ok so I see another post here of someone with the same issue who runs on the same Platform Server version as you. Apparently the issue still persists in this version. 

You should contact OutSystems Support and make them aware of this. Maybe the issue is already fixed in the latest 11.9.0 release. Otherwise they can analyze your logs and provide a fix for you.

Regards,

Nordin

Nordin Ahdi wrote:

Ok so I see another post here of someone with the same issue who runs on the same Platform Server version as you. Apparently the issue still persists in this version. 

You should contact OutSystems Support and make them aware of this. Maybe the issue is already fixed in the latest 11.9.0 release. Otherwise they can analyze your logs and provide a fix for you.

Regards,

Nordin

 Thank you so much for the information. Great help! 

 

You're most welcome Jayson!

Nordin Ahdi wrote:

You're most welcome Jayson!

 Btw, you might any insights on this. Have seen this message in our server event viewer

 

Hi Jayson,

Yes, I have.

Try restarting the windows service OutSystems Deployment Controller Service. 

That usually does the trick.

Regards,

Nordin