openanalytics / shinyproxy-operator

Easily run ShinyProxy on a Kubernetes cluster
https://shinyproxy.io
Apache License 2.0
36 stars 9 forks source link

Application shows reconnecting and fails eventually #45

Closed ziyunxiao closed 3 months ago

ziyunxiao commented 3 months ago

Hello,

I am using the Shinyproxy-operator to deploy Shinyproxy on GKE cluster. I reached the status that I can see the home pages of shinyproxy, which have the application list. But when I click an application, it quickly flashes the application's page and then shows "Reconnecting".

The backend application pod is started without error. The Shinproxy pod can communicate with the application pod. This is confirmed by the flashed away application page. And there is no error message from the Shinyproxy pod and shinyproxy-operator pods.

The retrying message: image

From the browser developer's console, there is one error: shiny.iframe.js:30 WebSocket connection to 'wss://shiny-test.xxxx.com/app_proxy/04b66647-308c-4a19-a4a7-3ae4ec50ba6a/websocket/' failed:

Could someone help me get around this error?

Thanks,

Robin

ziyunxiao commented 3 months ago

I found the root cause. One of my secure web proxies did not enable the WebSocket feature. After enabling it, it works now.