jupyter prompts for password

862 views
Skip to first unread message

Mazzaroth M.

unread,
Dec 17, 2016, 4:26:45 PM12/17/16
to Project Jupyter
Hi all, I'm using the websauna python web framework and when I go through the tutorial and open the default jupyter notebook, it prompts me with a password. What is the password? I never created a default_config.py nor used the passwd() command to generate and set a hash. This is on Ubuntu Mate 16.04 running on a raspberry pi 3. I'm pretty sure this is jupyter 5.1.0

To see what I mean, please check out the gist I made.

https://gist.github.com/mazz/62db05300db5e5e6da0e0e5382e2484b

BTW here is the websauna tut page. https://websauna.org/docs/tutorials/gettingstarted/tutorial_06.html

Michael

Mazzaroth M.

unread,
Dec 17, 2016, 4:29:57 PM12/17/16
to Project Jupyter
Also, if I DO create a default_config.py nor used the passwd() command to generate and set a hash(which creates a .jupyter dir in my home dir), I see "Invalid Password" when I attempt to use it.

Logan Page

unread,
Dec 17, 2016, 7:06:25 PM12/17/16
to Project Jupyter
Dear Micheal

Token authorization was added in v4.3, please see the question on github:
https://github.com/jupyter/notebook/issues/1979

And the following links for more info:
https://jupyter-notebook.readthedocs.io/en/latest/security.html
https://github.com/jupyter/notebook/pull/1831
https://github.com/jupyter/notebook/issues/1944


Regards
Logan

Mazzaroth M.

unread,
Dec 17, 2016, 8:07:58 PM12/17/16
to Project Jupyter
Thanks, I pasted in the token and now I can login.

However I now have a different issue: I get the message: "A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration."

https://gist.github.com/mazz/22f92bd25c1f6f0314eca85d72e0ef7e

I've confirmed that any python commands I enter have no impact to the runtime. Any ideas?

Matthias Bussonnier

unread,
Dec 18, 2016, 3:54:45 PM12/18/16
to jup...@googlegroups.com
Hi all,

This is indeed a recent change done for security reason. It seem we
had a few issues opened since the release:

https://github.com/jupyter/notebook/issues/1987
https://github.com/jupyter/notebook/issues/1980
https://github.com/jupyter/notebook/issues/1944

We did overlook a few case, but we are between a rock and a hard
place, as there are some serious security implications of not having a
password/token, but making is usable at the same time is not easy.

We did not had much feedback on the change either before it was released.

We'll try to get a 4.3.1 out that fix some of the usability issues

Thanks,
--
Matthias
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/da8dec23-607a-4e6e-a909-0a65cb660d87%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages