<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>Le 15 sept. 2014 à 21:13, Bob Dougherty <<a href="mailto:bobd@stanford.edu">bobd@stanford.edu</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div bgcolor="#FFFFFF" text="#000000">
Hi All,<br>
<br>
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:<tt><br>
</tt>
<blockquote><tt>Default extension for cell metadata editing loaded.</tt><br>
<tt>
</tt><tt>Raw Cell Format toolbar preset loaded.</tt><br>
<tt>
</tt><tt>Slideshow extension for metadata editing loaded.</tt><br>
<tt>
</tt><tt>Kernel started: 398fe67c-856b-48c5-b2d7-242bfa70f2e1</tt><br>
<tt>
</tt><tt>Starting WebSockets:
<a class="moz-txt-link-freetext" href="wss://spgr.stanford.edu:8080/user/bobd/api/kernels/398fe67c-856b-48c5-b2d7-242bfa70f2e1">wss://spgr.stanford.edu:8080/user/bobd/api/kernels/398fe67c-856b-48c5-b2d7-242bfa70f2e1</a></tt><br>
<tt>
</tt><tt>Uncaught InvalidStateError: Failed to execute 'send' on
'WebSocket': Still in CONNECTING state.
:8080/user/bobd/static/services/kernels/js/kernel.js:248</tt><br>
</blockquote>
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.<br>
<br>
Any help on debugging this would be much appreciated!<br></div></blockquote><div><br></div><div>I got that on chrome, without jupyter-hub. Solved by itself after 1 week of holidays. </div><div>My opinion is that it's a bug on chrome that sometime refuses to open 3 web socket connexions at the same time, </div><div>as when it did happen firefox was happy with my setup. </div><div><br></div><div>-- </div><div>M</div><div><br></div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
<br>
thanks,<br>
bob<br>
<br>
</div>
_______________________________________________<br>IPython-dev mailing list<br><a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>http://mail.scipy.org/mailman/listinfo/ipython-dev<br></blockquote></div><br></body></html>