We have created a gateway and virtual service for TCP port on 5672. The rabbitmq service is running as statefulset and managed by headless service of type clusterIP. When we access the web UI through Istio ingress gateway exposed on HTTP port 80 we can access the rabbitmq dashboard. When we access on TCP and check the istio ingress logs we see this.
2022-01-21T17:29:40.484Z “- - -” 0 - - - “-” 0 0 59738 - “-” “-” “-” “-” “xxx. 16.xx.xx:5672” outbound|5672||rabbitmq-headless.test-dev-infra.svc.cluster.local 172.16.xx.xx:56436 172.16.xx.xx:30134 172.xx.xx.xxx:1582 - -
When we check the rabbitmq pod logs we see this error. enter image description here
Please let us know if we are missing something that is not allowing to access the application on tcp port from outside.