Benu Mariantony
Benu Mariantony

Reputation: 73

CAP - Gateway Timeout - How to increase the time out of incoming request

I trigger a Post Function Import (Action in CDS), this would typically take about 2 minutes for processing. The POST operation was successfully completed in JAVA, however I get a Gateway Timeout.

How to increase the timeout of incoming requests? I had tried to set the property INCOMING_CONNECTION_TIMEOUT: 0 in mta.yaml of service project as well as using the command

cf set-env x-service-name-blue INCOMING_CONNECTION_TIMEOUT 0
cf restage x-service-name-blue

It did not work either. Could you assist?

Upvotes: 0

Views: 3918

Answers (1)

Dennis H
Dennis H

Reputation: 589

Update: I think the correct environment variable on the approuter is called SESSION_TIMEOUT. Can you try this one instead?


This is for the XS Advanced approuter, though I'm not sure if it still applies to the one used for CF apps, this documentation suggest that it's a property of the approuter, so you can try setting it there.

Upvotes: 1

Related Questions