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
jupyterhub/singleuser No user token cookie? #155
Comments
Hmmm... I just noticed the startup command says the cookie is --env=JPY_COOKIE_NAME=jupyter-hub-token-grodriguez But the notebook says the cookie name is notebook_cookie_secret? |
cookie_secret is the file containing the encryption key for secure cookies. The |
Thanks @minrk !
As you can see the cookie name is "jupyter-hub-token", but the cookie name passed to the notebook is So it would look like it won't find it. Any ideas how to fix this? Thanks! |
Ok so reading the docs:
So from the logs, it seems steps 1, 2, 3, 4 are done correctly, however step 5 only sets the /hub/ cookie but not the /user/username cookie. |
Sorry it was a versioning problem. |
@Spritekin glad you figured it out! Can you give a bit of detail about the versioning problem? I'd like to try to get better errors to users when things fail due to incompatible versions, and having some known cases would be great. |
I just had the same problem with jupyterhub in a container with |
I believe that I also had the same problem: running a jupyterhub 'server' from |
Indeed, updating to master/0.8 requires updating both the Hub and the single-user server. Before the 0.8 release, I'll try to make sure we get more informative messages about mismatched versions. |
Hi,
I run a docker swarm cluster based on mesos. I have configured my jupyterhub to authenticate with LDAP and then it starts the jupyter servers on swarm so I can see them appearing on the mesos cluster.
The problem is that those environments are unresponsive even when they seem ok. This is an example log:
Everything looks ok I think. However the server always responds with a 404 Not Found error and it keeps trying to redirect to the /user/grodriguez/tree page in an eternal loop.
So I enabled the debug (by passing --debug in the notebook command) and found this:
So it is telling me the cookie is not found? But the cookie was created in the server:
I can only imagine that means is not in my browser? How do I get it into my browser then
Any ideas would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: