Cannot connect ingress service aks and eks

i made mutiplatform aks and eks

  1. kubectl deploy nginx on eks (container: consul injected)
  2. on the aks i tested dig command
    nginx.service.eks.consul. it’s ok

3 i made k8s service
externam service name nginx.service.eks.consul on aks

4 make k8s ingress on aks

i try to domain name
i reached 504 gateway time-out

how can i resolve this problem