Istio GRPC gateway throwing "No route" errors

apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: monitoring-gateway
  namespace: istio-system
spec:
  selector:
    app: istio-ingressgateway # use istio default controller
  servers:
  - port:
      number: 80
      name: grpc 
      protocol: GRPC #also tried HTTP/TCP
    hosts:
      - "store-zero.com"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: store-vs
  namespace: istio-system
spec:
  hosts:
    - "store-zero.com"
  gateways:
  - monitoring-gateway
  http:
    - route:
        - destination:
           host: store-gateway
           port:
             number: 10901
---

svc config

apiVersion: v1
kind: Service
metadata:
  name: store-gateway
  namespace: istio-system
spec:
  type: ClusterIP
  clusterIP: None
  ports:
    - name: grpc
      port: 10901
      targetPort: grpc
  selector:
    app: thanos-store-gateway

error logs from istio-ingressgateway pods

2021-03-30T08:41:32.052491497Z [2021-03-30T08:41:27.685Z] "POST /thanos.Store/Info HTTP/2" 200 NR "-" "-" 0 0 0 - "10.0.149.80" "grpc-go/1.29.1" "a0aee11e-1ccf-9b45-9495-020b1df83a6a" "3.227.180.177:80" "-" - - 10.0.142.209:8080 10.0.149.80:49680 - -
2021-03-30T08:41:42.053201774Z [2021-03-30T08:41:32.684Z] "POST /thanos.Store/Info HTTP/2" 200 NR "-" "-" 0 0 0 - "10.0.149.80" "grpc-go/1.29.1" "982ed741-e40c-98f0-89af-69ce82ecb690" "3.227.180.177:80" "-" - - 10.0.142.209:8080 10.0.149.80:22526 - -
2021-03-30T08:41:42.053224950Z [2021-03-30T08:41:37.684Z] "POST /thanos.Store/Info HTTP/2" 200 NR "-" "-" 0 0 0 - "10.0.149.80" "grpc-go/1.29.1" "ed579a4f-6b3d-910c-bfa7-d654cdbf4e5c" "3.224.51.59:80" "-" - - 10.0.142.209:8080 10.0.149.80:42418 - -
2021-03-30T08:41:52.051381882Z [2021-03-30T08:41:42.685Z] "POST /thanos.Store/Info HTTP/2" 200 NR "-" "-" 0 0 0 - "10.0.149.80" "grpc-go/1.29.1" "cc88072f-365c-9e0c-aedb-42ab54c77f49" "3.227.180.177:80" "-" - - 10.0.142.209:8080 10.0.149.80:33381 - -
2021-03-30T08:41:52.051400995Z [2021-03-30T08:41:47.684Z] "POST /thanos.Store/Info HTTP/2" 200 NR "-" "-" 0 0 0 - "10.0.149.80" "grpc-go/1.29.1" "df2e4a89-ffe1-95c0-9754-e37b52581d42" "3.227.180.177:80" "-" - - 10.0.142.209:8080 10.0.149.80:33956 - -

What I’m trying to do here is accessing store-gateway outside the mesh and I keep getting the errors above . Looks like NR refers to “no route” but I’m really running out solutions , any ideas ?

Thanks,
Ray

1 Like

Hey @hairongGao , looks like I am having the same issue. Did you get to the bottom of this?

nope , we change to nginx ingress for workaround. I’ll give it another shot when I got time. What about yours?