gatekeeper: TLS handshake error from: EOF
What steps did you take and what happened: [A clear and concise description of what the bug is.]
Getting the following intermittent errors in the gatekeeper-system logs:
http: TLS handshake error from 172.16.0.3:42672: EOF
kube-apiserver logs during the same time range do not have equivalent errors. Everything is functioning. No impact on functionality.
What did you expect to happen: No TLS error in pod logs
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Gatekeeper version: v3.8.1 and v3.7.1
- Kubernetes version: (use
kubectl version): 1.23.5
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 24
- Comments: 42 (9 by maintainers)
Not stale.
We’re testing today and I will report back soon!
still an open issue
https://github.com/kubernetes-sigs/apiserver-network-proxy/pull/364 resolved this. I can confirm no longer see the issue in AKS K8S after the AKS master nodes and kube-system pods are upgraded to 1.26.
Same here on eks 1.24 and gatekeeper 3.11.1. 2023/06/14 13:07:49 http: TLS handshake error from xxxxxxxxxxx: EOF ││ 2023/06/14 13:07:49 http: TLS handshake error from xxxxxxxxxxx EOF ││ 2023/06/14 13:07:49 http: TLS handshake error from xxxxxxxxxxx: EOF
Any solutions recommended ?
Seeing this error on 1.27.1 with gatekeeper v3.11.0 not sure if this is causing issues with timeouts for leaderelection or not
We’re currently running version 1.25.15 of kube and running version v3.12.0 of the opa gatekeeper and still seeing this error.
Still happening on AKS 1.25.5 and gatekeeper v3.11.1 Anyone found something on this?
Same here on GKE 1.25.7 with managed ASM
Hello, apologies as I put my update on the other issue: https://github.com/open-policy-agent/gatekeeper/issues/1061
Was the test successful?
Hi @ritazh I believe that is incorrect. These errors also come on Kubernetes 1.22 for us, and also others have noted in this issue that they happen on K8s 1.21.
comment
Furthermore, https://github.com/kubernetes/kubernetes/issues/109022 clearly indicates the errors coming from 127.0.0.1. The original post of this issue does not indicate 127.0.0.1, but rather has the IP addresses masked as
x.x.x.xwhich leads me to believe that the OP is experiencing this from their 10.x.x.x/8 subnet, the same as myself.@ritazh Here is the error log … redacted some information for security purpose.
gatekeeper version is
3.8.1sorry about the delayed response.
This is not just related to on
Kubernetes 1.23 and 1.24this is happening on all kuberenetes ( AWS EKS ) version 1.21xref: https://github.com/open-policy-agent/gatekeeper/issues/866#issuecomment-1139356714