SAPUI5 请求网关超时

SAPUI5 request timeout to the Gateway

我的 SAPUI5 应用程序中有一个调用网关的 odata 请求。 在网关上,我有一个到后端的可信 RFC 连接。

现在我有一个复杂的算法,持续时间大约为 2 分钟。

60 秒后,出现超时错误。

HTTP request failed500,Internal Server Error,500 Connection timed out

是否有机会增加超时时间?

我用参数 gw/reg_timeout gw/conn_pending 和 rfc 连接的 keepalive-timeout 试过了。

所有这些选项都没有解决我的问题。

我想您已经尝试了 SAP Help 中的所有方法。 也许这是一些 ICM/WebDispatcher timeout,检查 link 并尝试一些设置,即 PROCTIMEOUT。还要考虑那里的提示:

Recommendation

In systems where the standard timeout setting of 60 seconds for the keep-alive and processing timeouts is not sufficient due to long-running applications, SAP recommends that both the TIMEOUT and PROCTIMEOUT parameters are set for the services concerned so that they can be configured independently of each other. The TIMEOUT value should not be set unnecessarily high. We recommend you set this parameter as follows:

icm/server_port_0 = PROT=HTTP,PORT=1080,TIMEOUT=60,PROCTIMEOUT=600

in order to allow a maximum processing time of 10 minutes.