-
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
Disconnected from server: The application unexpectedly exited. #4096
Comments
The log file locations are here: https://docs.posit.co/shiny-server/#application-error-logs The short answer is /var/log/shiny-server/*.log. If you find the right file and it abruptly terminates with no error at all, it’s most likely being killed by the operating system’s “oom-killer”, which you can confirm with this command: https://stackoverflow.com/a/15953500 |
@jcheng5 Can you please suggest amongst below processes which is the process that gets killed when the error "disconnected from server" occurs: root@RMSP-SHINYVM:/home/shinyuser# ps -ef | grep shiny |
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) in 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: