IBM Knowledge Catalog processes time out before completing

If your system uses a load balancer, such as HAProxy, Nginx, or Ingress, some IBM Knowledge Catalog processes, such as importing governance artifacts, can time out before completing.

Symptoms

An error message that the client prematurely closed the connection while reading the response header.

Causes

IBM Knowledge Catalog processes don't finish within the timeout period set for the load balancer.

Resolving the problem

As a Red Hat OpenShift cluster administrator, reset the client and server timeout values for the load balancer and then restart it.

For example, if you have the HAProxy load balancer:

  1. On the load balancer node, edit the /etc/haproxy/haproxy.cfg file. In the defaults section, change the values for timeout client and timeout server from 1m to 30m.

  2. Run the following command to restart HAProxy: systemctl restart haproxy