SAP Knowledge Base Article - Preview

2680207 - Increase the HTML5 socket read timeout value - Timeout error


You have an HTML5 application or an Application Router deployed on SAP BTP that consumes an external service, such as a REST API, and you need to increase the timeout value for this call.

When the limit is too small, you get gateway timeout error:

HTTP Status 504 - An internal application error occurred.

In the logs of the application/subscription, you might find exceptions similar to:

An exception occured when processing the request: org.apache.http.conn.ConnectTimeoutException. Reason: Connect to <host> failed: connect timed out ...



SAP Business Technology Platform


SAP Connectivity service 2.0


timeout time out SCP HCP debug webIDE User session closed by system ABAP Odata ui5 FIORI socket destination , KBA , sap cloud platform , scp , BC-NEO-RT-HTML5 , Runtime HTML5 Applications , BC-CP-CF-HTML5 , HTML5 Application Repository Service , BC-XS-APR , HANA XSA / Cloud Foundry Application Router , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.