ODATA API calls fail with 500/exception errors timeout
search cancel

ODATA API calls fail with 500/exception errors timeout

book

Article ID: 193594

calendar_today

Updated On: 11-28-2022

Products

Network Flow Analysis

Issue/Introduction

While running queries you may run into a 10 second timeout that returns an error like:

{"error":{"code":null,"message":"org.springframework.ws.client.WebServiceIOException: I/O error: Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out"}}$
    

Environment

Release : 10.0+

Component : NQRPTA - REPORTERANALYZER

Resolution

1. Check the file:

\NFA\OData\conf\com.ca.nfa.odata.ODataLimiters.cfg

2. Change the "defaultQueryTimeout" value of 10 to 20 (or longer).

Note : make sure  " defaultQueryTimeout " is not equal and more than "maxQueryTimeout" in  limiters config.