[IPython-dev] Jupyterhub with ssl?
Bob Dougherty
bobd at stanford.edu
Mon Sep 15 15:13:41 EDT 2014
Hi All,
Is anyone else running Jupyterhub through ssl? I'm struggling to get it
working. Everything works fine except for the websocket connection.
I.e., I can log in through the Jupyterhub login page, create, edit, save
notebooks, etc. But trying to execute a code cell just hangs. Chrome
shows this in the js console:
Default extension for cell metadata editing loaded.
Raw Cell Format toolbar preset loaded.
Slideshow extension for metadata editing loaded.
Kernel started: 398fe67c-856b-48c5-b2d7-242bfa70f2e1
Starting WebSockets:
wss://spgr.stanford.edu:8080/user/bobd/api/kernels/398fe67c-856b-48c5-b2d7-242bfa70f2e1
Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket':
Still in CONNECTING state.
:8080/user/bobd/static/services/kernels/js/kernel.js:248
Everything *does* work when I don't use ssl, and ssl works (with the
same cert and key) when I run the notebook directly without jupyterhub.
So I suspect it's a problem with the nodejs proxy of wss. I'm running
node v0.10.25 and the current master of jupyterhub and ipython.
Any help on debugging this would be much appreciated!
thanks,
bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140915/22634d20/attachment.html>
More information about the IPython-dev
mailing list