I have a server set up with Flask. Everything works fine locally, HTTP requests can take longer than 60 seconds to resolve.
But when I deploy the server on Openshift, any request that takes longer than 60 seconds will time out automatically.
I have already changed the timeout on openshift to 10m, but that is not working. Any idea?
haproxy.router.openshift.io/timeout: 10m
The issue seems to be related to the way I set up OpenShift. I am using VPC environment which has its own connection timeout:
https://cloud.ibm.com/docs/vpc?topic=vpc-advanced-traffic-management#connection-timeouts