New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
istio-proxy 404 when header Host is not specified #41715
Comments
The config dump does not look ok :-); it is matching FWIW I think in 1.16 we start ignoring port entirely in the host |
@howardjohn thank you for your response and let me know that from 1.16 istio will start to ignore the host. What is the best way to troubleshoot it ? |
the istio-proxy container doesn't get capture. So its not using the proxy. So presumably the service you are hitting doesn't care what header is set |
@howardjohn
Thanks |
@howardjohn the problem looks like it is the autority Not Working: Working(when send host and port header): If i use any random port at exception of 80 it is works. This behavior happen inside the GKE cluster, with the internal load balancer. |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2022-11-01. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
Bug Description
I am running istio 1.15.2 on GKE 1.24.3. The problem is when I try to get some services via the public or private endpoint.
For example, If i execute the curl command from the container application I get the status code 404, If I execute the same curl command from the istio-proxy sidecar or externally I get the status code 200.
Then, if set the Host header in the request it works from the container application I get 200:
curl -XGET http://10.10.7.5/test/health -H "Host: api-internal.mycompany.com:8080" -I
I was looking for the domain at config_dump and looks ok:
"name": "api-internal.mycompany.com:80", "domains": [ "api-internal.mycompany.com", "api-internal.mycompany.com:80" ],
Version
Additional Information
No response
The text was updated successfully, but these errors were encountered: