000038002 - Unexpected error while opening records on applications which has advanced workflow enabled in RSA Archer

Document created by RSA Customer Support Employee on Oct 11, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000038002
Applies ToRSA Product Set: Archer
RSA Product/Service Type: RSA Archer Advanced workflow application
RSA Version/Condition: 6.X
 
IssueOpening any records on an application that has advanced workflow-enabled errors with an unexpected error. 

Log says: 
 

<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.Web</TraceIdentifier>
                    <LogReferenceId>092419-134725-1542</LogReferenceId>
                    <Description>One or more errors occurred.</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-1-132137376170201648</AppDomain>
                    <ContextData>
                        <BaseUrl><Archer url>/RSAarcher/GenericContent/Record.aspx</BaseUrl>
                        <id>4311764</id>
                        <Module>ModuleId: 167, ModuleName: Findings, ModuleStatus: ActiveInProduction, ModuleType: Application</Module>
                        <levelSelection>62</levelSelection>
                        <RecordSet>True</RecordSet>
                        <frameWidthHeight>1680,867</frameWidthHeight>
                    </ContextData>
                    <Exception>
                        <ExceptionType>System.AggregateException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>One or more errors occurred.</Message>
                        <Source>mscorlib</Source>
                        <StackTrace>   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at ArcherTech.Web.Modules.GenericContent.GenericContentDataManager.GetRecordData(LevelRecordDataRequest levelRecordDataRequest, Boolean workflowAuditDataRequired)
   at ArcherTech.Web.Modules.GenericContent.Views.RecordPresenter.LoadRecordData()
   at ArcherTech.Web.Modules.GenericContent.Views.RecordPresenter.OnViewLoaded()
   at ArcherTech.Web.ArcherTechPage`2.OnLoad(EventArgs e)
   at Security2000.GenericContent.Record.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</StackTrace>
                        <InnerException>
                            <ExceptionType>System.AggregateException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>One or more errors occurred.</Message>
                            <Source>mscorlib</Source>
                            <StackTrace>   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at ArcherTech.Kernel.Brokers.ContentWorkflowBroker.GetWorkflowJobData(Int32 contentId, Boolean checkModulePermission, Boolean checkContentPermission)
   at ArcherTech.Kernel.Brokers.ContentViewEditBroker.GetWorkflowJobData(Nullable`1 contentId)
   at ArcherTech.Kernel.Brokers.ContentViewEditBroker.GetMetaData(Module module, Int32 levelId, RequestType requestType, Boolean useDefaultLayout, Nullable`1 contentId, Boolean forNotifications)
   at ArcherTech.Kernel.Brokers.ContentViewEditBroker.GetMetaDataForEdit(Module module, Int32 levelId, Boolean useDefaultLayout, Nullable`1 contentId)
   at ArcherTech.Kernel.Managers.ContentViewEditManager.GetMetaDataForEdit(SessionContext sessionContext, Module module, Int32 levelId, Boolean useDefaultLayout, Nullable`1 contentId)
   at ArcherTech.Web.Modules.GenericContent.GenericContentDataManager.GetModuleAndLevelData(Int32 levelId, ContentDisplayModeType recordMode, Boolean useDefaultLayout, Nullable`1 contentId)
   at ArcherTech.Web.Modules.GenericContent.GenericContentDataManager.&lt;&gt;c__DisplayClass20_0.&lt;GetRecordData&gt;b__1()
   at ArcherTech.Provider.Threading.ThreadingFactory.&lt;&gt;c__DisplayClass16_0.&lt;WrapAction&gt;b__0()
   at System.Threading.Tasks.Task.Execute()</StackTrace>
                            <InnerException>
                                <ExceptionType>System.Net.Http.HttpRequestException, System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</ExceptionType>
                                <Message>An error occurred while sending the request.</Message>
                                <Source>mscorlib</Source>
                                <StackTrace>   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ArcherTech.Kernel.Services.Workflow.WorkpointService.&lt;WrapHttpRequest&gt;d__105.MoveNext()
--- 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 ArcherTech.Kernel.Services.Workflow.WorkpointService.&lt;WrapHttpCall&gt;d__104`1.MoveNext()
--- 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 ArcherTech.Kernel.Services.Workflow.WorkpointService.&lt;GetJob&gt;d__96.MoveNext()
--- 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 ArcherTech.Kernel.Services.Workflow.WorkpointService.&lt;DoGetJobStatus&gt;d__71.MoveNext()
--- 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 ArcherTech.Kernel.Services.Workflow.WorkpointService.&lt;GetJobData&gt;d__53.MoveNext()</StackTrace>
                                <InnerException>
                                    <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                                    <Message>The underlying connection was closed: An unexpected error occurred on a receive.</Message>
                                    <Source>System</Source>
                                    <StackTrace>   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)</StackTrace>
                                    <InnerException>
                                        <ExceptionType>System.IO.IOException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                                        <Message>Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.</Message>
                                        <Source>System</Source>
                                        <StackTrace>   at System.Net.Security._SslStream.EndRead(IAsyncResult asyncResult)
   at System.Net.TlsStream.EndRead(IAsyncResult asyncResult)
   at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)</StackTrace>
                                        <InnerException>
                                            <ExceptionType>System.Net.Sockets.SocketException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                                            <Message>An existing connection was forcibly closed by the remote host</Message>
                                            <Source>System</Source>
                                            <StackTrace>   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)</StackTrace>
                                        </InnerException>
                                    </InnerException>
                                </InnerException>
                            </InnerException>
                        </InnerException>


 
CauseThis issue happens when the advanced workflow service becomes unavailable and /or unreachable. 
ResolutionRestart advanced workflow service and make sure advanced workflow URL is reachable from all the servers as well as outside the server. 

Test url: 

Pre 6.6: http(s)://<advancedworkflow url>: advworkflow port/workpoint/rest/auth.svc

post 6.6: http(s)://<advancedworkflow url>: advworkflow port/wpservices/rest/auth

Attachments

    Outcomes