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
It is ambiguous when connect to apiserver with http1.1/http2/spdy3.1. #39940
Comments
Yes, exec only supports upgrading to SPDY or Websockets. |
But it provides a wrong npn protocol list. |
/sig api-machinery |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Kubernetes version
kubernetes 1.5.2
When using api of https, it provies the protocols as follow by npn:
And if I request the exec api with http2:
< HTTP/2 400
< content-type: application/json
< content-length: 167
< date: Mon, 16 Jan 2017 09:27:14 GMT
<
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "Upgrade request required",
"reason": "BadRequest",
"code": 400
}
It will also failed regardless add header of upgrading to spdy or http2.
I can succeed only if I am using http1.1 and want to upgrade to spdy3.1 while not http2:
< HTTP/1.1 101 Switching Protocols
< Connection: Upgrade
< Upgrade: SPDY/3.1
< Date: Mon, 16 Jan 2017 09:33:00 GMT
I think it is ambiguous when someone else want to use this api.
The text was updated successfully, but these errors were encountered: