Hello,
I am facing an issue while deploying a Shiny application via ShinyProxy in an Azure Kubernetes Service (AKS) environment, using an Nginx ingress controller.
The Shiny application loads, but it seems to have an issue maintaining the WebSocket connection which is required for the interactive components. The browser’s console reports the following error:
WebSocket connection to wss://blablabla.bla/app_proxy/{proxy-id}/websocket/ failed: Error during WebSocket handshake: Unexpected response code: 404
The ShinyProxy is set up correctly and I can see that the shiny app pod is running correctly, without any error logs. The issue seems to come from the ingress controller configuration or interaction with ShinyProxy, but I haven’t been able to identify the exact problem.
I have tried enabling WebSocket support on the ingress controller through the nginx ConfigMap and other configurations, but the issue persists.
If anyone has experienced similar issues or could provide insight into possible solutions or troubleshooting steps, it would be greatly appreciated.
Thank you for your help and time.