000028999 - How to increase the HTTP timeout value using RSA Archer Data Feed Tokens

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 26, 2017
Version 6Show Document
  • View in full screen mode

Article Content

Article Number000028999
Applies ToRSA Product Set: Archer
RSA Version/Condition: All
IssueThe Archer Data Feed is timing out.
The following exception is from the JobFramework logs file:
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>ArcherTech.DataFeed</TraceIdentifier>
          <Description>Unexpected error occurred while executing data feed.</Description>
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
          <ContextData>
            <LogReferenceId>091014-162957-4845</LogReferenceId>
            <DataFeedId>7660</DataFeedId>
            <DataFeedName>_data_feed_report_name_</DataFeedName>
            <DataFeedHistoryId>13478</DataFeedHistoryId>
          </ContextData>
          <Exception>
            <ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.</Message>
            <Source>mscorlib</Source>
            <StackTrace>
              Server stack trace:
              at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
              at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
              at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
              at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
              Exception rethrown at [0]:
              at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
              at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
              at ArcherTech.DataFeed.ArcherAPIWebService.searchSoap.SearchRecordsByReport(SearchRecordsByReportRequest request)
              at ArcherTech.DataFeed.ArcherAPIWebService.searchSoapClient.SearchRecordsByReport(String sessionToken, String reportIdOrGuid, Int32 pageNumber)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.WritePageFiles(String reportName, Func`2 getAction, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteReportQuery(searchSoapClient client, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal(String url, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal()
              at ArcherTech.DataFeed.ComponentModel.DataFeedActivity.Execute()
            </StackTrace>
            <InnerException>
              <ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
              <Message>The HTTP request to 'https://server.domain.com/ws/search.asmx' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message>
              <Source>System.ServiceModel</Source>
              <StackTrace>
                at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
                at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
                at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
              </StackTrace>
              <InnerException>
                <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                <Message>The operation has timed out</Message>
                <Source>System</Source>
                <StackTrace>
                  at System.Net.HttpWebRequest.GetResponse()
                  at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
                </StackTrace>
              </InnerException>
            </InnerException>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent>
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>ArcherTech.DataFeed</TraceIdentifier>
          <Description>Unexpected error occurred while executing data feed.</Description>
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
          <ContextData>
            <LogReferenceId>091014-165753-9736</LogReferenceId>
            <DataFeedId>7660</DataFeedId>
            <DataFeedName>_data_feed_report_name_</DataFeedName>
            <DataFeedHistoryId>13479</DataFeedHistoryId>
          </ContextData>
          <Exception>
            <ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>The request channel timed out while waiting for a reply after 00:00:59.9843991. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.</Message>
            <Source>mscorlib</Source>
            <StackTrace>
              Server stack trace:
              at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
              at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
              at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
              at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
              Exception rethrown at [0]:
              at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
              at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
              at ArcherTech.DataFeed.ArcherAPIWebService.searchSoap.SearchRecordsByReport(SearchRecordsByReportRequest request)
              at ArcherTech.DataFeed.ArcherAPIWebService.searchSoapClient.SearchRecordsByReport(String sessionToken, String reportIdOrGuid, Int32 pageNumber)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.WritePageFiles(String reportName, Func`2 getAction, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteReportQuery(searchSoapClient client, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal(String url, String sessionToken, Boolean writeToFile, Boolean oneRequestOnly)
              at ArcherTech.DataFeed.Transporters.ArcherWebServiceTransporter.ExecuteInternal()
              at ArcherTech.DataFeed.ComponentModel.DataFeedActivity.Execute()
            </StackTrace>
            <InnerException>
              <ExceptionType>System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
              <Message>The HTTP request to 'https://server.domain.com/ws/search.asmx' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.</Message>
              <Source>System.ServiceModel</Source>
              <StackTrace>
                at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
                at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
                at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
              </StackTrace>
              <InnerException>
                <ExceptionType>System.Net.WebException, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                <Message>The operation has timed out</Message>
                <Source>System</Source>
                <StackTrace>
                  at System.Net.HttpWebRequest.GetResponse()
                  at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
                </StackTrace>
              </InnerException>
            </InnerException>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent>

 
ResolutionThe Data Feed is timing out while waiting for the report/data. 
You can increase the time out value using tokens in the Data Feed.
For Archer to Archer Data Feed or HTTP Data Feed; you can use the HTTPTimeout token to increase the timeout value.
 
TokenValueDescription
HTTPTimeoutIntegerThe number of milliseconds to wait for a response before the request times out. The default value is 100,000 milliseconds (100 seconds).
HTTPReadWriteTimeoutIntegerThe number of milliseconds before the reading or  writing times out. The default value is 300,000 milliseconds (5 minutes).

For more details on Data Feed Tokens, check out:

Attachments

Outcomes