Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Lost connection within Apigee

I deployed a proxy which manage a CallOut (request 1) and a target (request 2). On 3000 requests, I encountered between 3 and 25 lost requests. So the end-users receives an HTTP error 504 due to the 50 sec timeout on HAProxy in front of my 2 Message processors.

I set the following properties in the Callout policy and in the target

<Property name="keepalive.timeout.millis">60000</Property>

<Property name="connect.timeout.millis">10000</Property>

But it's alway the 50 sec HAproxy timeout which raise the 504 error

These requests seems to be... lost 😞

If I proxify my 2 requests (CallOut and Target) with a NGINX server behind message processor servers , the issue is fixed !!!!!

I checked router logs and I only notice the warning :

WARN CONNECTION-REAPER - ConnectionReaper$ReaperTask.safeRun() : Client-Connection-Reaper reaped inactive client connections

How can I check connection timeout within Apigee?

Thank you

1 3 1,327
3 REPLIES 3
Top Solution Authors