<p>Has any one seen this error <code>Error: forwarding ports: error upgrading connection: Upgrade request required</code> in <strong>Kubernetes</strong></p>

<p>I have seen this before and there were a couple of issues to address:</p>

<ol>
<li><p>The Nginx that was proxying requests did not contain the following
config (required for HTTP2 support):</p>

<pre><code>proxy_set_header Upgrade 'websocket';
proxy_set_header Connection 'Upgrade';
</code></pre></li>
<li><p>And we also had to switch our Classic Load Balancer on AWS (ELB)
with an Application Load Balancer (ALB).</p></li>
</ol>

<p>TBH, the question is a bit vague. Where are you seeing this exactly? It needs more context.</p>
