How to setup API timeout in apigee for all the APIs in an environment

apurvaseth
Participant II

Hi,

I am new to APIGEE and need some help.

I am able to setup an API timeout for a particular API using

<Property name="api.timeout">10</Property> but now my requirement is to setup timeout for all the APIs in an environment.

How can I achieve this in APIGEE?

Thanks.

0 5 846
5 REPLIES 5

sjm2000
Participant V

Hi,

are you running on public cloud or private cloud?

which is the version you are currently running?

Have a look at this- it could solve your issue

https://docs.apigee.com/api-platform/troubleshoot/runtime/504-gateway-timeout#increase-the-timeout-v...

try it out in non-production enviromment first 🙂

thanks & Regards

Hi,

I will be running this on APIGEE Hybrid.

Looks like the link you have provided works for private.

Thanks.

Not applicable

you can set the property in the shared flow and use it as pretarget-flowhook.

Hi, you can set this property in the shared flow, but check first because the shared flow is more usually use for Policies, I am not sure if you can use on this case. But you can use apigeetool and with a template set this property on all your proxies for example set to 60 s

	<Properties>
	      <Property name="api.timeout">60000</Property>
	      <Property name="io.timeout.millis">60000</Property>
	</Properties>

Regards.