shinyproxy icon indicating copy to clipboard operation
shinyproxy copied to clipboard

streamlit app stopped after container started

Open ziyunxiao opened this issue 11 months ago • 1 comments

Hello,

I'm experiencing an issue with my Streamlit application that has been successfully dockerized and runs locally without issues. However, after deploying it to Shinyproxy (3.1.1) through Kubernetes Operator, the app stopped working.

The error message on the webpage is: "This app has been stopped, you can now close this tab." There are no errors in the Streamlit logs or from Shinyproxy itself, which suggests that the issue might be related to the proxy server.

From the front-end, the proxy sends a health check but fails. The error message in the browser console is:

GET https://xxxxxx/app_proxy/28c70081-9363-4be3-a298-841e80914418/_stcore/health net::ERR_CONNECTION_RESET

Interestingly, if I access the pod's IP directly in my browser, the Streamlit app works without any issues. This suggests that there is an issue with communication between Shinyproxy and the pod.

I'd appreciate any help you can offer to troubleshoot this issue.

Thanks,

Robin

ziyunxiao avatar Jan 17 '25 17:01 ziyunxiao

Hi

I never saw this error before with streamlit. Could you test whether our example streamlit app works: https://github.com/openanalytics/shinyproxy-streamlit-demo ? This way we know whether it's an issue in the shinyproxy setup or in the custom app.

LEDfan avatar Feb 13 '25 09:02 LEDfan

Hi

I believe this issue has been solved or has become outdated, therefore I'm going to close it. If you still experience this problem, feel free to re-open the issue. As always, any other issue or suggestion is welcome as well!

LEDfan avatar Jul 08 '25 07:07 LEDfan