-
Notifications
You must be signed in to change notification settings - Fork 151
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
Cannot open multiple RShiny App simulatenously #481
Comments
Hi @dylancis This should still be possible in version 3.0.2. Which version were you using previously? |
Thanks @LEDfan , this was indeed my undersatanding as per our conversation here: #397 Before we were using It seems somehow related to this one https://support.openanalytics.eu/t/unexpected-and-unpredictable-shiny-app-terminations-with-shinyproxy/2661 Please find attached the log of Shinyproxy where you can the error |
Since you are only having the issue with Shiny apps and the issue is caused by an asset failing to load, I suspect that you are experiencing the issue described here: https://shinyproxy.io/faq/#the-assets-of-my-shiny-app-sometimes-fail-to-load-http-error-503 Can you try installing Shiny using the above method? Please make sure to not have any other command in your Dockerfile that install shiny (e.g. if you currently have |
Thanks for your suggestion @LEDfan . However I don't think this is related to that. We have reverted back to |
@LEDfan I did what you suggested, please find below the
|
I noticed that while in
The
Could that be the reason? |
Hi @LEDfan should I try with 3.1.0 version see if the issue for resolved ? Thanks |
Hi @dylancis unfortunately, I was not able to re-produce your issue, so the release does not include a fix specific to this issue. However, it contains various improvements, that might solve this issue, so it would be good to try it out and know whether it's fixed. |
Hi @dylancis I continued looking into this and found a potential fix. Could you please try using image Note that you might still see some exceptions being logged:
But this does not seem to cause an actual issue. If this fixes the error, I'll look into preventing the exceptions. |
thanks @LEDfan , will test for sure and revrt to you here. |
Hi @dylancis you can use the JAR from this link: https://nexus.openanalytics.eu/repository/releases/eu/openanalytics/shinyproxy/3.1.0/shinyproxy-3.1.0-exec.jar We are looking forward to your testing! |
Hi @LEDfan , and this is the same as this one right? |
I shared the wrong link, please download the jar from https://nexus.openanalytics.eu/repository/snapshots/eu/openanalytics/shinyproxy/3.1.1-SNAPSHOT/shinyproxy-3.1.1-20240530.074913-1-exec.jar . The version number is different, but it contains the same code as the above docker image. |
Hi @LEDfan , we tried that and got the following error: |
It seems the container you are using has Java version 8. The latest ShinyProxy release requires Java version 17. It should be easy to change this in the Dockerfile, I just pushed the latest version of our Dockerfile: https://github.com/openanalytics/shinyproxy-docker/blob/master/ShinyProxy/Dockerfile |
The bug has disapeared! Thanks |
This is now part of ShinyProxy 3.1.1, which we just released, therefore I'm going to close this issue. Thanks for the report and testing! |
Hi @tverbeke -
Since the upgrade to
3.0.2
I cannot open multiple sameRShiny
app in multipe tabs which I always used to do that (even though the R kernel could only run one thread at the time). I don't have the issue withDash
app, I can open as many as I want.The behaviour is that when I open a second tab using
RShiny
, the first one already opened stopped:And the console shows:
Can you please tell me if there was something change in that newer version that is causing that?
The text was updated successfully, but these errors were encountered: