Vault-agent-injector pod is throwing error "[ERROR] handler: http: TLS handshake error from 127.0.0.6:58005: EOF"

while deploying vault-agent-injector deployment resource on a istito-enabled system , vault-agent-injector pod is throwing error .

2022-12-23T00:20:22.138Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:44811: EOF
2022-12-23T00:20:32.142Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:48323: EOF
2022-12-23T00:20:42.142Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:57339: EOF
2022-12-23T00:20:52.133Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:44405: EOF
2022-12-23T00:21:02.137Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:58005: EOF
2022-12-23T00:21:12.133Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:56921: EOF
2022-12-23T00:21:22.133Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:42155: EOF
2022-12-23T00:21:32.137Z [ERROR] handler: http: TLS handshake error from 127.0.0.6:59311: EOF

While the vault-agent-injector is deployed on an istio-disabled system is not having any error logs and working fine

@ipsita2192 : Any Luck on this. How did you enable Vault-agent-injector on istio enabled system

Do you have the necessary ports open to support Vault? If it is working in an environment without Itsio, it sounds like something is blocking the necessary ports.

This may help: