Openshift HTTP times out after 60 seconds

6/26/2021

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
-- Eduardo Morales
docker
ibm-cloud
kubernetes
openshift

1 Answer

7/9/2021

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

-- Eduardo Morales
Source: StackOverflow