Eclipse Che7: Websocket connection to 'wss://.../api/websocket' failed

299 views Asked by At

After deploying Che7 to our Kubernetes/EKS cluster in AWS, when trying to access:

https://{host}/dashboard/#/workspaces

Chrome console is reporting the following error:

vendor.f84bf7019b48912e16e3.js:123 WebSocket connection to 'wss://{host}/api/websocket?token=...' failed:
UD: preload data failed.

Saw this page: https://www.eclipse.org/che/docs/che-7/end-user-guide/troubleshooting-network-problems/

But didn't provide much detailed instructions.

Is any special configuration necessary for Che7 to use Websockets when deploying in AWS EKS?

Thank you very much.

1

There are 1 answers

2
Serhii Leshchenko On

It should be fixed in the next release. See https://github.com/eclipse/che/issues/19434

Before it, modify your Che ingress to define websocket annotations. Pay attention that workspaces may still fail to work since https://github.com/eclipse-che/che-server/pull/56 is needed for them.