'exec' uses SPDY (not HTTP/2) and custom stream handling. You're not going
to be able to use it via curl. It's not a fire-and-forget call. If you want
it to work that way when no upgrade is requested, maybe open an issue.

On Fri, Jul 8, 2016 at 10:12 AM, dharmisha doshi <[email protected]>
wrote:

> I am facing the same issue. Did anyone resolve the same?
>
>
> On Friday, April 1, 2016 at 1:14:12 PM UTC-7, Alan wrote:
>>
>> I upgraded curl with support for http2 and am using https but still fail
>> with the "Upgrade request required." Could it be that Google's hosted
>> master in Google Container doesn't support http2? Any work arounds?
>>
>> On Sunday, December 27, 2015 at 2:45:17 PM UTC-6, Matthias Rampke wrote:
>>>
>>> exec requires HTTP/2. Please search the group, there is another thread
>>> on this.
>>>
>>> /mr
>>> On Dec 27, 2015 9:16 PM, "Ming Fang" <[email protected]> wrote:
>>>
>>>> I'm trying to build a web based terminal to exec a shell into the pod
>>>> but am facing this same problem.
>>>> I'm using http and kubectl exec works fine.
>>>>
>>>> On Monday, December 21, 2015 at 5:03:22 PM UTC-5, Amit Kumar wrote:
>>>>>
>>>>> I am facing the same, using https on 6443 port of the API server.
>>>>> Kubectl does not complain but a crafted REST call complains
>>>>>
>>>>> On Thursday, October 1, 2015 at 2:38:49 PM UTC-4, hamzeh alsalhi wrote:
>>>>>>
>>>>>> I see, upgrade to https
>>>>>>
>>>>>> On Wednesday, September 30, 2015 at 5:33:14 PM UTC-7, hamzeh alsalhi
>>>>>> wrote:
>>>>>>>
>>>>>>> getting a code 400 "Upgrade request required" when doing
>>>>>>> "/api/v1/namespaces/{namespace}/pods/{name}/exec" and I am not sure 
>>>>>>> what it
>>>>>>> means
>>>>>>>
>>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Containers at Google" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To post to this group, send email to [email protected].
>>>> Visit this group at https://groups.google.com/group/google-containers.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
> You received this message because you are subscribed to the Google Groups
> "Containers at Google" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-containers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to