Apigee X target timeout 504

Hello,

I've deployed a proxy on Apigee Pay as you go. But for some endpoint the target takes more than 60s to answer. Apigee reponds with a 504 error after 30s. I've modified the Target Endpoint by adding these parameters, each at a time, but none has improuved the situation: 

<Property name="connect.timeout.millis">120000</Property>
<Property name="io.timeout.millis">120000</Property>
<Property name="response.streaming.enabled">true</Property>

I think, i need it's the MP that timeout after 30s, but i don't know how to set its value.

Regards,

1 1 121
1 REPLY 1

I'm assuming you also have a Google Cloud HTTPS Load Balancer. Check the timeout of the backend configuration of this load balancer also which defaults to 30s. 

Further, you have set response.streaming.enabled, so note that means any policies that operate on the response payload are bypassed.