I am trying to use the bokeh tutorial on my binder
I am unsure as to the relationship between this site and binder, so I don’t know if this is even the right place to post.
If I am on the tutorial and leave it idle too long - but who knows how long “too long” is? - I am locked out with a 403:Forbidden. The only other thing on the screen is a jupyterhub logo, even though I thought I had been on mybinder.org.
I have seen this answer on SO: python 3.x - Jupyterhub service unavailable error and http :403 forbidden - Stack Overflow
The problem with this solution is that the pid changes at the blink of an eye so sending kill is the same as playing whack a mole - it does not change anything.
Starting over from the original url does not work at first, either, but after the 3rd or 4th time, I can get back to the tutorial and start from scratch.
I am hoping there is a better process here that you can tell me about.
Thank you.
The timing out after inactivity serves a few purposes. One of main reasons for it is so that the Binder federation is not paying for resources not being actively used.
I think at present it is about ten minutes.
It’s one of those things you want to test before you need it. That should let you recover much more smoothly than you may be doing now.
If you are using JupyterLab, the interface will look different; however, the corresponding buttons will be there.
A couple of things could be causing that. It may just be traffic is busy and so resources are tied up. Sometimes that particular site has too many people hitting it. I think there is a limit of 100 concurrent users per source repository.
And always make sure you are using a launch URL that begins https://mybinder.org/v2/.... You cannot reconnect to an old session which sometimes confuses users because they try just pasting the URL of the page they had been on. You need to go back to where you launched from originally.
I know one Bokeh tutorial can be launched from this badge below:
Just a quick note that the binder docs also have some description about how long user sessions last. If there are improvements that can be made there please do make suggestions! Maybe we can add a “common error messages” section or something…