Skip to content
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

Closed
jk45019975 opened this issue Jul 10, 2024 · 4 comments

Comments

@jk45019975
Copy link

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.

image (1)

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!

@gadenbuie
Copy link
Member

Duplicate of #4096, opened accidentally?

@gadenbuie gadenbuie closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
@jk45019975
Copy link
Author

yes

@sanitingz
Copy link

@jk45019975 I had the same issue, my app run in docker env.
Edit /etc/shiny-server/shiny-server.conf, and add "sanitize_errors false;" , the detail error message will show in brower console. my case is miss a library.

@ndeke254
Copy link

@jk45019975 I had the same issue, my app run in docker env. Edit /etc/shiny-server/shiny-server.conf, and add "sanitize_errors false;" , the detail error message will show in brower console. my case is miss a library.

@sanitingz This was helpful! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants