Execution timeout error when use the OpenAPI
search cancel

Execution timeout error when use the OpenAPI

book

Article ID: 133778

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Using the OpenAPI module to extract information we can see this message:

 

<?xml
version='1.0' encoding='UTF-8'?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code/><message
xml:lang="en">The request execution time exceeded the limit set by
the execution timeout.</message></error>

 

 

Environment

All supported releases of Performance Management

Cause

The default odata api timeouts may be too low.

Resolution

Change the OpenAPI Parameter timeout:

defaultQueryTimeoutSecs

maxQueryTimeoutSecs

  1. Log on to the Data Aggregator host.
  2. Locate and edit the following file:

/opt/IMDataAggregator/apache-karaf-<vers>/etc/com.ca.im.odata.beans.ODataLimiters.cfg

Modify the file to set the limits and defaults.

The following example shows the default values for this file.

defaultQueryTimeoutSecs

Defines the standard timeout for all queries. Default: 30

maxQueryTimeoutSecs

Defines the maximum timeout, which can be specified in the URL with the timeout parameter. Default: 120

  1. Try increasing the values by 30 seconds at a time, but consider the load on the DA.
  2. Save the changes.

The new values apply when you load or reload QueryBuilder in the browser.

 

Additional Information