istio: [Istio-1.3.0-rc0] Short protocol detection timeout can fail https requests
Bug description
Follow instructions of Access External Service, everything works till we hit the section access external https service
At this point, after applying service entry for www.google.com
, I’m expecting http returns 200 even with registry_only mode, however I still see
kubectl exec -it $SOURCE_POD -c sleep -- curl -I https://www.google.com | grep "HTTP/"
command terminated with exit code 35
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure [X ] Docs [ ] Installation [ X] Networking [ ] Performance and Scalability [ ] Policies and Telemetry [ ] Security [ ] Test and Release [ ] User Experience [ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote
and kubectl version
)
Istio 1.3.0 rc01
How was Istio installed?
GKE v1.12.8-gke.10
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 53 (47 by maintainers)
Conclude the internal discussion:
cc @duderino @costinm @rlenglet @howardjohn
Copy paste proposed solution from @rshriram
@louiscryan @howardjohn and @yxue and I had a chat. The plan for 1.3.0 is:
@rlenglet changing to 10s does make a difference, now
curl -i -V
reliably succeeds. Great sniffing on the protocol sniffing’s problem!+1 on the tricky to set the timeout…
Is there an easy way to tell from the
istio-proxy
logs? If this is the issue, I bet it will happen frequently to users, and we should have a quick way of diagnosing this. And ideally that should be included in the troubleshooting docs.Works for me