问题描述
将 Che7 部署到 AWS 中的 Kubernetes/EKS 集群后,尝试访问时:
https://{host}/dashboard/#/workspaces
Chrome 控制台报告以下错误:
vendor.f84bf7019b48912e16e3.js:123 WebSocket 连接到
'wss://{host}/api/websocket?token=...' 失败:
UD:预加载数据
失败。
看到这个页面: https://www.eclipse.org/che/docs/che-7/end-user-guide/troubleshooting-network-problems/
但是没有提供太多详细的说明。
在 AWS EKS 中部署时 Che7 是否需要特殊配置才能使用 Websockets?
非常感谢。
解决方法
它应该在下一个版本中修复。见https://github.com/eclipse/che/issues/19434
在此之前,修改您的 Che 入口以定义 websocket 注释。 请注意,工作区可能仍然无法工作,因为它们需要 https://github.com/eclipse-che/che-server/pull/56。