error: error upgrading connection: unable to upgrade connection: request host 192.168.203.70:6443 and url /portForward/kube-system/yurt-hub-k8s-test-edge-02 is invalid
logs:
I1121 11:43:16.355073 1 manageheader.go:84] ProxyServer: normal request with host 192.168.203.70:6443 and url /portForward/kube-system/yurt-hub-k8s-test-edge-02 is processed by header manager
W1121 11:43:16.355143 1 manageheader.go:173] ProxyServer: raven proxy server not support dest address 192.168.203.70 and request.URL is /portForward/kube-system/yurt-hub-k8s-test-edge-02
E1121 11:43:16.355156 1 interceptor.go:279] ProxyServer: request host 192.168.203.70:6443 and url /portForward/kube-system/yurt-hub-k8s-test-edge-02 is invalid
https://openyurt.io/zh/docs/next/installation/raven-l7-proxy-prepare/
kubectl -n kube-system port-forward pod/yurt-hub-k8s-test-edge-02 2222:22
error: error upgrading connection: unable to upgrade connection: request host 192.168.203.70:6443 and url /portForward/kube-system/yurt-hub-k8s-test-edge-02 is invalid
logs:
/portForward/kube-system/yurt-hub-k8s-test-edge-02
len(parts)
is 4 < 5 https://github.com/openyurtio/raven/blob/a27a77e4371617d7a0e90a1207f864b5bb23dbcf/pkg/proxyengine/proxyserver/manageheader.go#L209