SAP Knowledge Base Article - Preview

3220463 - HTTP Codes "502 invalid response" or "504 : Gateway Time-out"


After calling a webservice which is transferred more than 1 minute, it failed with error below in SRT_UTIL
SRT: Unsupported xstream found: ("HTTP Code 504  : Gateway Time-out")

The "504 Gateway Time-out" message can also be returned while accessing SAP through the browser (e.g., Fiori, WebGUI, ...).

Another possible message is:

"502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server."



  • ABAP Web Services
  • SAP NetWeaver
  • SAP NetWeaver Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP


ABAP platform all versions ; SAP NetWeaver all versions


504 Gateway Timeout, 60s, proxy , KBA , BC-CST-IC , Internet Communication Manager , BC-ESI-WS-ABA , Web Service and SOAP - ABAP , Problem

About this page

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

Search for additional results

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