<br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 1:59 PM, K.-Michael Aye <span dir="ltr"><<a href="mailto:kmichael.aye@gmail.com" target="_blank">kmichael.aye@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-02-01 21:48:50 +0000, K.-Michael Aye said:<br>
<br>
> On 2013-02-01 21:41:39 +0000, Brian Granger said:<br>
><br>
>> I think you have to specify the path to the ssl files using absolute paths.<br>
><br>
> That was it, thanks!<br>
><br>
> But now the next problem:<br>
> The dashboard looks okay and lists all my notebooks that were found in<br>
> the configured notebook_dir, but trying to launch one I get this error:<br>
><br>
> Websocket connection to<br>
> wss://<a href="http://luna1.diviner.ucla.edu:8888/kernels/7c62fbb3-c4fb-47d7-8ca8-03f6dd87b5f1" target="_blank">luna1.diviner.ucla.edu:8888/kernels/7c62fbb3-c4fb-47d7-8ca8-03f6dd87b5f1</a><br>
> could not be established. You will NOT be able to run code. Your<br>
> browser may not be compatible with the websocket version in the server,<br>
> or if the url does not look right, there could be an error in the<br>
> server's configuration.<br>
><br>
> What's missing now?<br>
<br>
</div>I can report that it works using Firefox and have found, that there is<br>
a known problem with Safari's secure websocket connection (in a thread<br>
of Jan 2012). So I take it that there was no progress on that?<br>
It's a minor hassle, but as Safari is my main browser, it would be nice<br>
to have it running there as well.<br></blockquote><div><br></div><div>There is no progress to be made. Safari does not allow HTTPS websocket connections to an untrusted host.</div><div>If you generate an appropriate certificate and add it to your keychain, then it will work.</div>
<div>But if you get the 'untrusted...' warning when you connect to the notebook, websockets *will not work* in Safari.</div><div>There is nothing IPython can do about it.</div><div> </div><div>-MinRK</div><div><br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Many thanks,<br>
Michael<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
><br>
> Michael<br>
><br>
>><br>
>> On Fri, Feb 1, 2013 at 1:37 PM, K.-Michael Aye <<a href="mailto:kmichael.aye@gmail.com">kmichael.aye@gmail.com</a>> wrote:<br>
>>> I am trying to configure a notebook server accessible from an outside browser.<br>
>>><br>
>>> So, I got it working but ONLY if I launch the notebook from inside the<br>
>>> .ipython/profile_nbserver directory (using 'ipython notebook<br>
>>> --profile=nbserver' as cmd).<br>
>>> In any other folder I get SSL errors:<br>
>>><br>
>>> ERROR:root:Exception in I/O handler for fd 3<br>
>>> Traceback (most recent call last):<br>
>>> File<br>
>>> "/usr/local/epd/lib/python2.7/site-packages/zmq/eventloop/ioloop.py",<br>
>>> line 330, in start<br>
>>> self._handlers[fd](fd, events)<br>
>>> File "/usr/local/epd/lib/python2.7/site-packages/tornado/netutil.py",<br>
>>> line 319, in accept_handler<br>
>>> callback(connection, address)<br>
>>> File "/usr/local/epd/lib/python2.7/site-packages/tornado/netutil.py",<br>
>>> line 199, in _handle_connection<br>
>>> **self.ssl_options)<br>
>>> File "/usr/local/epd/lib/python2.7/ssl.py", line 381, in wrap_socket<br>
>>> ciphers=ciphers)<br>
>>> File "/usr/local/epd/lib/python2.7/ssl.py", line 141, in __init__<br>
>>> ciphers)<br>
>>> SSLError: [Errno 336265218] _ssl.c:351: error:140B0002:SSL<br>
>>> routines:SSL_CTX_use_PrivateKey_file:system lib<br>
>>><br>
>>> What am I doing wrong?<br>
>>><br>
>>> Thanks,<br>
>>> Michael<br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> IPython-User mailing list<br>
>>> <a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
>>> <a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
<br>
<br>
<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</div></div></blockquote></div><br>