-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shiny server disconnected from the server: The application unexpectedly exited #4097
Comments
Duplicate of #4096, opened accidentally? |
yes |
@jk45019975 I had the same issue, my app run in docker env. |
@sanitingz This was helpful! Thanks. |
hello I'm also facing same issue plz help me |
@Shubhamdhadag after including the "sanitize_errors false;" in you conf, inspect and check the console tab for the error. Mine was also a missing library. |
Hi so i am making an dashboard using shiny . my dashboard is runnig on local R but when i open it on shiny after some sec the page crash and disconnected from server Reload comes Mon Jan 13 2025 01:55:04 GMT+0530 (India Standard Time) [INF]: Connection opened. https://shubhamdhadage.shinyapps.io/project/ |
@Shubhamdhadag First guess is you’re hitting the RAM limit for that container and the process is being killed. Can you start by either redeploying with a small subset of the data to see if that might be the reason? Or you can increase the instance size in shinyapps settings. |
Thank you. It is working with a subset of data. But my total app size is 47 MB, so why is it crashing? We are having a limit of 1 GB for free. |
@Shubhamdhadag you might find this talk helpful. It's an old talk but the concepts and tools haven't changed since it was given. https://posit.co/resources/videos/profiling/ |
We have a web-based Shiny server application that is used to copy files in a virtual machine from Azure.
As a user, after visiting the application, I encounter an error in the UI showing Disconnected from Server with a reload option.
Upon further inspection in the developer tools (Microsoft Edge) on console, I can see the message:
“The application unexpectedly exited. Diagnostic information is private. Please ask your system admin for permission if you need to check the R logs.”
We have a server.R file where I have set the log level to TRACE. However, we are not able to see the root cause, or any information related to the “Disconnected from Server” issue in these logs.
I would appreciate any suggestions on how we should monitor R logs to diagnose this issue. If anyone has faced a similar issue with their Shiny app, your help would be greatly appreciated.
Thanks in advance!
The text was updated successfully, but these errors were encountered: