错误:转发端口:错误升级连接:需要升级请求 [英] Error: forwarding ports: error upgrading connection: Upgrade request required

查看:311
本文介绍了错误:转发端口:错误升级连接:需要升级请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人在 Kubernetes

推荐答案

我以前见过此问题,有几个问题需要解决:

I have seen this before and there were a couple of issues to address:

  1. 正在代理请求的Nginx不包含以下内容 config(需要HTTP2支持):

  1. The Nginx that was proxying requests did not contain the following config (required for HTTP2 support):

proxy_set_header Upgrade 'websocket';
proxy_set_header Connection 'Upgrade';

  • 我们还必须在AWS(ELB)上切换我们的经典负载均衡器 使用应用程序负载平衡器(ALB).

  • And we also had to switch our Classic Load Balancer on AWS (ELB) with an Application Load Balancer (ALB).

    TBH,问题有点模糊.您到底在哪里看到这个?它需要更多上下文.

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

    这篇关于错误:转发端口:错误升级连接:需要升级请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆