-
Notifications
You must be signed in to change notification settings - Fork 56
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
Hang while stopping tunnel in docker/npm #25
Comments
@tylerbrandt Yup, looks like a bug in this package. Will debug further and revert here |
The issue seems to be related to some zombie processes remaining on the container. Docker does not run processes under a special init process that properly reaps child processes. To get it working for now, try replacing |
@punitx thanks for the response! I can confirm that the workaround solves the problem in the sample repo; I'm going to check if it resolves it in my app repo as well (which is a bit more complicated). |
thanks @tylerbrandt |
@tylerbrandt hey, lets us know if it worked. |
Yeah, I have it implemented in the production repo and it works great, thanks! |
This is still a problem for me. I am running browserstack-local in bitbucket pipelines, thus I cannot configure CMD for the docker image. I tried to prefix Can you do something about it in your code? |
@tamasmahr Above fix was for docker. We will investigate the issue with BitBucket pipelines soon and get back. |
Any news on this? I'm also running into this issue. |
The issue is that
Local.prototype.stop
hangs indefinitely when invoked from a docker container.This is easiest to illustrate with an example, so I created a repo: https://github.com/optimizely/browserstack-local-hang
The text was updated successfully, but these errors were encountered: