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

ctrl+c stop shinyproxy and restart will not stop running container #22

Closed
shrektan opened this issue Sep 1, 2017 · 2 comments
Closed

Comments

@shrektan
Copy link
Contributor

shrektan commented Sep 1, 2017

Hi,

When I use Ctrl+C to stop shinyproxy and restart (e.g., in order to add an app), I find that the running container will not be stopped. This leads to a consequence that the corresponding port (like 20000) is used and shinyproxy will not be able to launch the app.

So, my questions are:

  1. How can I be able to stop shinyproxy with the related container being stopped first?
  2. Why doesn't shinyproxy just use another port if it has been used?
  3. What's more bad is: if shinyproxy fails to launch one app once, it seems like the app won't be launched successfully even after the old container being removed.

Thanks.

@tverbeke
Copy link
Member

tverbeke commented Sep 1, 2017

The scenario you describe is definitely not the intended or default behaviour. We have 10s of systems in production where restarting ShinyProxy nicely shuts down the containers it manages. Is it possible to share a log file? One thing I observed in the past is that manual shutdowns of containers launched via ShinyProxy could lead to erratic behaviour, but I am not sure how relevant this is for what you report.

@shrektan
Copy link
Contributor Author

shrektan commented Sep 1, 2017

Well, I'll try to see if I can reproduce the issue on a cleaner environment. Thanks.

LEDfan added a commit that referenced this issue Mar 2, 2023
… from feature/17096/swarm_secrets into develop
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

2 participants