-
Notifications
You must be signed in to change notification settings - Fork 105
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
More informative message on "Launch attempt failed retrying" #172
Comments
I'd recommend trying the build yourself locally using That said, looking at your repository, you have a custom Dockerfile in there - try following the instructions in the Binder guide for using a Dockerfile which provides info on how to make your code work with BinderHub |
Hi @choldgraf, thank you for your suggestion. I have tested the repo locally with
Is there any other reason that could cause the problem? For example, I am testing |
Hmmm - I wonder if it's an error with the Though if this works for you locally, another possibility is that you are trying to run a something that isn't allowed on mybinder.org - the free public service prevents a lot of extra ports/services/etc from being run due to security reasons :-/ |
Hi @choldgraf, thanks for your reply. I am pretty sure I followed the suggestion in the documentation by adding Since I am not able to reproduce the error using |
I can try to put some time into it as some point, but I don't have much bandwidth to really dig into to any debugging issues. You might have luck getting input from people by posting in the Jupyter community forum as well (https://discourse.jupyter.org/c/binder) Briefly looking through your Dockerfile - I'd also play around with removing the tornado pinning and such, I seem to remember that being an issue in the past, and one difference between mybinder.org and your local repo2docker instance could be the default version of jupyter lab / notebook that's on there, and it might be a dependency version mismatch problem |
Pulling out the logs from launching your repository I see:
Being able to stream (or otherwise make available) this log output to users would be a cool feature to have. Unfortunately it is a bit tricky to implement and not requested very often. If you have time and interest to add this it would be welcome! There are differences between how repo2docker launches a docker container and how BinderHub launches a kubernetes Pod. The best way to debug launch failures when you've replaced the start commands (or try to modify them) is to follow https://github.com/jupyterhub/binderhub/blob/master/CONTRIBUTING.md#kubernetes-integration-changes to setup a local instance. This way you get faster turnarounds and full access to the logs. As a general principle we can't offer much user support for repos that use their own This means each |
https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
It looks like your container assumes it's run as |
Even without a custom dockerfile, just using the default repo2docker, I'm getting repeated "Launch attempt X failed, retrying..." messages for https://github.com/mitmath/binder-env, which I've been using for years (periodically bumping the version) with no problem. When I tried it this week I could no longer get it to work, but these non-informative error messages make it hard to know what to do differently. |
Hi binder team,
Firstly, thank you for creating this project.
I was trying it out on https://github.com/tonyyang-svail/sqlflow branch mybinder. The Docker container was successfully built. However, when launching the corresponding site, it complains
Is there a way to get more detailed logs? How can I reproduce the error locally?
Thanks.
The text was updated successfully, but these errors were encountered: