-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Workspaces websockets not working properly on AWS and EKS Kubernetes clusters using nginx as reverse proxy #19434
Comments
looks like a duplicate of #19403 |
WebSocket failure should not lead to the share state. |
I don't see any other failed requests; when I load the dashboard page I get some 304/302 redirect responses and a couple of 200 responses whenever it hits the "/api" endpoints. It's just websockets that is not connecting. I've confirmed that our older deployment (7.20.0) on similar infrastructure does establish the ws connection just fine. |
@bmboucher that's strange. |
OK, I figured it out - first off, apologies that I was a little inaccurate in my problem description. The networking setup was not identical between the instance that was working and the broken one as I had thought - we had moved to a new nginx deployment and that was either confused about where to route WS traffic or whether it was enabled at all. The solution was to add the following annotation to our
We installed from the Helm chart which doesn't contain this annotation so you might want to consider adding it; I'm not sure when NGINX began requiring it or if chectl would have solved the problem. |
@bmboucher |
Fixed by eclipse-che/che-server#54 |
Do you when the next Docker image version of Che (minor/micro), which includes these fixes, will be published? Looks like it's close based on the latest activity here. If not today or tomorrow, is there documentation on how we can build the affected Docker images locally (with code from 'main' branch)? Thank you very much. |
The fix is included in the |
Thanks for your reply @tolusha . So we can pull the 'next' version of the Docker images for the various Che components from quay.io? https://quay.io/repository/eclipse/che-server?tab=tags If so, we can try pulling the 'next' version and trying. Thanks again! |
@kphilly1 |
Thanks @tolusha ! |
Describe the bug
I've been running 7.20.0 for a while, after upgrading to 7.27.2 I can't get the websockets endpoints to connect. The dashboard and the REST endpoints are available (I can successfully test them through Swagger), but the dashboard shows an error on loading and the console shows a bunch of websocket-related errors:
https://issues.redhat.com/browse/CRW-2082
Che version
Steps to reproduce
Fails on first loading the dashboard after logging in.
Runtime
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:38:50Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.6-eks-49a6c0", GitCommit:"49a6c0bf091506e7bafcdb1b142351b69363355a", GitTreeState:"clean", BuildDate:"2020-12-23T22:10:21Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
oc version
)minikube version
andkubectl version
)minishift version
andoc version
)docker version
andkubectl version
)Screenshots
Installation method
Environment
Eclipse Che Logs
che-dev.zip
Release Notes Text
A bug that prevented workspaces websockets to work properly on AWS and EKS Kubernetes clusters using nginx as reverse proxy has been fixed.
The text was updated successfully, but these errors were encountered: