I have been using Jupyter Notebook for a long time already. Jupyter Notebook is really great. Thank you all!
Now, I would like to run a jupyterhub server (using Ubuntu 16.04). This works as long as I use the "--no-ssl" option. I installed jupyterhub via 'sudo pip3 install jupyterhub'.
That's what I did:
1. 'sudo jupyterhub --no-ssl', open browser at "localhost:8000". Works without any problems.
2. I self signed a key and a certificate copied them to /srv/jupyterhub/ and therefore changed jupyterhub_config.py accordingly:
c.JupyterHub.ssl_cert = '/srv/jupyterhub/jupyterhub.crt'
c.JupyterHub.ssl_key = '/srv/jupyterhub/jupyterhub.key'
JupyterHub starts without any problems. But I cannot connect with my browser using the same address: "localhost:8000".
Last log is: "[I 2016-10-29 09:28:38.748 JupyterHub app:1254] JupyterHub is now running at http://127.0.0.1:8000/"
I get the login when I connect to "localhost:8081". But after the login I get the redirect error. (Which I guess makes sense.)
3. I also tried another port: c.JupyterHub.port = 443 and opened the browser at "localhost:443". No success, no reaction.
Any ideas? I read a lot of these different tutorials but I don't understand why it is not working in my case...
I would really like to have jupyterhub running with SSL.
Thanks a lot for your help!
Chris
--
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+unsubscribe@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/efb98337-5900-4670-aa80-61a6d0679223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Sat, Oct 29, 2016 at 9:36 AM, 'csw81' via Project Jupyter <jup...@googlegroups.com> wrote:I have been using Jupyter Notebook for a long time already. Jupyter Notebook is really great. Thank you all!
Now, I would like to run a jupyterhub server (using Ubuntu 16.04). This works as long as I use the "--no-ssl" option. I installed jupyterhub via 'sudo pip3 install jupyterhub'.
That's what I did:
1. 'sudo jupyterhub --no-ssl', open browser at "localhost:8000". Works without any problems.
2. I self signed a key and a certificate copied them to /srv/jupyterhub/ and therefore changed jupyterhub_config.py accordingly:
c.JupyterHub.ssl_cert = '/srv/jupyterhub/jupyterhub.crt'
c.JupyterHub.ssl_key = '/srv/jupyterhub/jupyterhub.key'
JupyterHub starts without any problems. But I cannot connect with my browser using the same address: "localhost:8000".
Last log is: "[I 2016-10-29 09:28:38.748 JupyterHub app:1254] JupyterHub is now running at http://127.0.0.1:8000/"Does it work if you use:? HTTP shouldn't work anymore now that you've enabled SSL.
I get the login when I connect to "localhost:8081". But after the login I get the redirect error. (Which I guess makes sense.)Yup, redirect makes sense here, you cannot connect directly to the Hub with a browser.
3. I also tried another port: c.JupyterHub.port = 443 and opened the browser at "localhost:443". No success, no reaction.If you use 443, you should just connect to `https://localhost`, no port necessary.
Any ideas? I read a lot of these different tutorials but I don't understand why it is not working in my case...
I would really like to have jupyterhub running with SSL.
Thanks a lot for your help!
Chris
--
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.