I have EKS cluster with istio installed. I have namespace with istio injection enabled. I have postgress statefulset running there with sidecar. I have another service that too have sidecar. When I try to connect to postgres from that service, I am not able to connect. To debug, I tried to connect using psql. When passing sslmode=disabled
option i get error port 5432 failed: expected authentication request from server, but received H
and without sslmode=disable
I get error port 5432 failed: received invalid response to SSL negotiation: H
. I have serviceentry and destination rule with tls mode disabled and peer authentication with mtls mode disabled. Still I am unable to connect.
Istio control plane and data plane version: 1.18.5