<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Matthias. Unfortunately, I get the same error on Firefox. And
ipython without the hub works fine with ssl on Chrome. Does ssl
through jupyterhub work for you? If so, what version of node are you
running?<br>
<br>
<div class="moz-cite-prefix">On 09/15/2014 12:19 PM, Matthias
Bussonnier wrote:<br>
</div>
<blockquote
cite="mid:A99FE186-971A-4F04-90F2-58E75C8C232F@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<br>
<div>
<div>Le 15 sept. 2014 à 21:13, Bob Dougherty <<a
moz-do-not-send="true" 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=windows-1252">
<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 moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
IPython-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/ipython-dev">http://mail.scipy.org/mailman/listinfo/ipython-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>