Istio Ingress-Gateway problem

Hi guys.
How are you?
I’m newer user of Istio and I’ve a question about my Istio installation.

I’ve EKS Cluster with Fargate profile and a sample application that works using fargate. When I use LOAD BALANCER URL my sample application works correctly but I need to use istio ingress-gateway and when I applied .yaml file and used URL of istio-ingress-gateway my application doesn’t work.

Can you help me?
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: javappsample-gateway
namespace: devops
spec:
selector:
istio: ingressgateway # use Istio default gateway implementation
servers:
- port:
number: 80
name: http
protocol: HTTP
hosts:
- “"

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: javappsample
namespace: devops
spec:
hosts:
- "

gateways:
- javappsample-gateway
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 8080
host: javappsample

Welcome to the forums!

Does the traffic actually reach your ingressgateway on port 80? Does it show any access log entries?

Also try “istioctl analyze -n devops” for some general validation of your configuration.

I dont know. I can access my app using service url, but using ingressgateway url I cant.

I ran and is this output:

What’s this host ? Pod name? service name? Deployment name?

gustavo@DESKTOP-DGPV2NG:/$ istioctl analyze -n default
Error [IST0101] (VirtualService javappsample.default) Referenced host not found: “javappsample”
Error: Analyzers found issues when analyzing namespace: default.
See https://istio.io/docs/reference/config/analysis for more information about causes and resolutions.