cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sap apim timeout issue

dmitry_govberg41
Discoverer
0 Likes
141

We are using SAP APIM and we get gateway timeout after a minute +/-

We are requesting toi increase it up to 5 minutes.

Many thanks

View Entire Topic
RashmiJ12
Associate
Associate
0 Likes

Basically it's not recommended to have timeout value of more than 55sec for a proxy. 55 secs has been set as the default IO timeout so that if there is no data to read or if the socket is not ready to write data within 55 secs, the transaction is treated as a timeout. Hence, it is highly recommended to have the default timeout for the proxies [with a timeout of 55 secs] for the complete support from SAP by considering the below options:

1. Optimize the response time of the Backend server so that I/O is happening within 55 seconds.

2. To make asynchronous calls to mitigate the slow responding backend server. Below is the procedure to make an asynchronous call.

• Make a request call and don't wait for a response. This should trigger the processing at your backend.

• Make another API call to check the status of the response from the backend.

• Once the response is ready, then make an API call to fetch the response. This shouldn't take more time as the response is already ready from the backend.

dmitry_govberg41
Discoverer
0 Likes
Thanks a lot Rashmi. We opened an OSS and they promissed to enlarge it to 5 minutes.BR