Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Raven-L7] port-forward fail #178

Open
shyer opened this issue Nov 21, 2024 · 0 comments
Open

[Raven-L7] port-forward fail #178

shyer opened this issue Nov 21, 2024 · 0 comments

Comments

@shyer
Copy link

shyer commented Nov 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant