Mysql cloud sql-proxy doesnt work with istio-proxy

Hi,

I am running GKE 1.12 cluster
I am running istio helm install from version 1.1.0-rc.0
I am using sql-proxy of GCP to connect to cloud sql instances.
I am using either sidecar container sql-proxy or dedicated pod with sql-proxy version 1.13

I got a pod that connects to sql-proxy I got the messages

*Warning: mysqli::mysqli(): MySQL server has gone away in - on line 22

Warning: mysqli::mysqli(): Error while reading greeting packet. PID=177 in - on line 22

Warning: mysqli::mysqli(): (HY000/2006): MySQL server has gone away in - on line 22

MySQL Connection Error: (2006) MySQL server has gone away*

Hi, did you added that sql-proxy to the permitted egress list ?

Regards, Pablo

I am using

global.proxy.includeIPRanges

so I am bypassing everything external to the cluster.

thx!

Hello @Santiago_Nunez-Cacho can you please help me where have you made this change ? I am not using HELM so I have to edit the config-map manually but not sure where I have to add this. Can you help me with this ?