構成とエンドポイントのタイムアウトを設定しましたが、応答がありません。
エンドポイントのタイムアウトを増やしたい場合、何に注意すればよいですか?
<html>
<body>
<h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body>
</html>
タイムアウトを設定するには 3 つの手順がありますが、問題があるように見えます....
1) synapse.properties (EI_HOME\conf\synapse.properties) で定義されたグローバル タイムアウト
synapse.global_timeout_interval=17000000
2) passthru-http.properties (EI_HOME\conf\passthru-http.properties ) で定義されたソケット タイムアウト
http.socket.timeout=18000000
3) API にもタイムアウトを設定します。
<?xml version="1.0" encoding="UTF-8"?>
<endpoint name="ep_dsData" xmlns="http://ws.apache.org/ns/synapse">
<http method="post" uri-template="{uri.var.origin.ds}/api/v1/GetData">
<timeout>
<duration>17000000</duration>
<responseAction>fault</responseAction>
</timeout>
</http>
</endpoint>