Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..

cancel
Showing results for 
Search instead for 
Did you mean: 
No ratings
KB-Sync1
Archer Employee
Archer Employee

Article Number

000038002


Applies To


Product(s): Archer
Version(s): All Versions
Primary Deployment: On Premises

Description


Opening any record in an Application/Questionnaire that has Advanced Workflow enabled errors with an unexpected error.
The below errors are found in the Archer logs:
<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/Archer-1-132137376170201648</AppDomain>
                    <ContextData>
                        <BaseUrl><Archer url>/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>

Cause


This issue happens when the Archer Workflow Service becomes unavailable or unreachable.

Resolution


Restart the Archer Workflow Service and ensure that the Advanced Workflow URL (shown below) is reachable from all servers as well as outside the server.
If it is reachable, the message Endpoint not found. should be returned in the browser (as shown below).
[Advanced Workflow URL and Port from ACP]/wpservices/rest/auth
 
0EMVM000006zEFV.png0EMVM000006zEFV.png
 

Version history
Last update:
‎2024-09-21 07:07 AM
Updated by: