'Why deployment with istio sidecar having connectivity issues outside cluster running on openshift?

I am having a deployment with istio-proxy sidecar running in an openshift cluster. Its connects to a mysql database in an external VM outside cluster.

When I am not using the sidecar it connects the DB in the first try. Whereas it cannot connect to the DB when the deployment running with istio-sidecar in the first go. It connects to the DB after 2-3 retries and resulting in POD restarts 2-3 times. Where i may go wrong.If i may get any help or insight.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source