-
Bug
-
Resolution: Can't Do
-
Normal
-
None
-
4.13, 4.12, 4.11, 4.14
Description of problem:
When "http2" is enabled in a cluster following the documentation [1], the router health checks causes "http2: server: error reading preface from client" log messages in some pods (like the lokistack-gateway-pod from Loki).
Version-Release number of selected component (if applicable):
OCP 4.12 RHOL 5.7.3
How reproducible:
Always
Steps to Reproduce:
1. Configure http2 cluster-wide in the following the OCP documentation [1] (or use a cluster with it enabled like OSD/ROSA). 2. Install RHOL with Loki (no ES) [2]. 3. Check the lokistack-gateway logs $ oc get logs -n openshift-logging -c gateway [lokistack-gateway-pod_name]
Actual results:
The following message is flooding the log of the pod, as it's shown one time per router each 5 seconds: http2: server: error reading preface from client 10.x.y.z:44444: read tcp 10.v.z.n:8443->10.x.y.z:44444: read: connection reset by peer
Expected results:
The above message shouldn't be shown in the log.
Additional info:
Bug opened to Logging (LOG-4359 [3]) was closed: "The issue is that HAProxy's behavior is simply closing the connection too early"
[1] https://docs.openshift.com/container-platform/4.12/networking/ingress-operator.html#nw-http2-haproxy_configuring-ingress
[2] https://docs.openshift.com/rosa/logging/cluster-logging-loki.html
[3] https://issues.redhat.com/browse/LOG-4359
- is caused by
-
LOG-4359 Message "http2: server: error reading preface from client" is flooding the lokistack-gateway logs
- Closed