-
Notifications
You must be signed in to change notification settings - Fork 37
Description
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:
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
/portForward/kube-system/yurt-hub-k8s-test-edge-02 len(parts) is 4 < 5
| if len(parts) < 5 { |