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

Dash app crashes silently while redeploying ShinyProxy #465

Open
dylancis opened this issue Nov 10, 2023 · 3 comments
Open

Dash app crashes silently while redeploying ShinyProxy #465

dylancis opened this issue Nov 10, 2023 · 3 comments
Labels

Comments

@dylancis
Copy link

When redeploying Shinyproxy while a Dash app is up and running already, the app will die (as expected) but silently, e.g. there would be no obvious way for any user to realise this unless they open up DevTools and see the error there - which us unliekly.
err dash gran

With RShiny app, this wors better since the app will greay out and preventing the user to even try - you can catch generically the error using https://cran.r-project.org/web/packages/shinydisconnect/index.html

Is there any way Dash hosted app on ShinyProxy can tell the user more explicitely there was a 410 error code?

Thank you

@LEDfan LEDfan added the question label Jan 2, 2024
@LEDfan
Copy link
Member

LEDfan commented Jan 2, 2024

Hi, in most cases the front-end of ShinyProxy should be able to detect that the either the app or ShinyProxy has crashed and show an error page. It might be that this does not work optimal in your specific situation, could you therefore provide the following information:

I hope you can provide this additional information, since it would be good if we could find and fix this issue.

@dylancis
Copy link
Author

dylancis commented Jan 8, 2024

Hi @LEDfan , please find in italic my answers, thanks for your help.

Hi, in most cases the front-end of ShinyProxy should be able to detect that the either the app or ShinyProxy has crashed and show an error page. It might be that this does not work optimal in your specific situation, could you therefore provide the following information:

  • which ShinyProxy version are you using? The mechanisms to detect app or shinyproxy failures were greatly improved in the 3.0.x release. shinyproxy-2.6.1
  • are you using Redis for user or app sessions (https://shinyproxy.io/documentation/configuration/#session-and-app-persistence)? No
  • which loadbalancer or proxy are you using in front of ShinyProxy? AWS
  • which authentication backend are you using? Auth0

I hope you can provide this additional information, since it would be good if we could find and fix this issue.

@LEDfan
Copy link
Member

LEDfan commented Jan 8, 2024

Hi @dylancis , could you try upgrading to ShinyProxy 3.0.2? This releases improves the detection of crashed/stopped apps.

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

No branches or pull requests

2 participants