[IPython-User] nbserver SSL Errors

K.-Michael Aye kmichael.aye@gmail....
Fri Feb 1 15:48:50 CST 2013


On 2013-02-01 21:41:39 +0000, Brian Granger said:

> I think you have to specify the path to the ssl files using absolute paths.

That was it, thanks!

But now the next problem:
The dashboard looks okay and lists all my notebooks that were found in 
the configured notebook_dir, but trying to launch one I get this error:

Websocket connection to 
wss://luna1.diviner.ucla.edu:8888/kernels/7c62fbb3-c4fb-47d7-8ca8-03f6dd87b5f1 
could not be established. You will NOT be able to run code. Your 
browser may not be compatible with the websocket version in the server, 
or if the url does not look right, there could be an error in the 
server's configuration.

What's missing now?

Michael

> 
> On Fri, Feb 1, 2013 at 1:37 PM, K.-Michael Aye <kmichael.aye@gmail.com> wrote:
>> I am trying to configure a notebook server accessible from an outside browser.
>> 
>> So, I got it working but ONLY if I launch the notebook from inside the
>> .ipython/profile_nbserver directory (using 'ipython notebook
>> --profile=nbserver' as cmd).
>> In any other folder I get SSL errors:
>> 
>> ERROR:root:Exception in I/O handler for fd 3
>> Traceback (most recent call last):
>> File
>> "/usr/local/epd/lib/python2.7/site-packages/zmq/eventloop/ioloop.py",
>> line 330, in start
>> self._handlers[fd](fd, events)
>> File "/usr/local/epd/lib/python2.7/site-packages/tornado/netutil.py",
>> line 319, in accept_handler
>> callback(connection, address)
>> File "/usr/local/epd/lib/python2.7/site-packages/tornado/netutil.py",
>> line 199, in _handle_connection
>> **self.ssl_options)
>> File "/usr/local/epd/lib/python2.7/ssl.py", line 381, in wrap_socket
>> ciphers=ciphers)
>> File "/usr/local/epd/lib/python2.7/ssl.py", line 141, in __init__
>> ciphers)
>> SSLError: [Errno 336265218] _ssl.c:351: error:140B0002:SSL
>> routines:SSL_CTX_use_PrivateKey_file:system lib
>> 
>> What am I doing wrong?
>> 
>> Thanks,
>> Michael
>> 
>> 
>> 
>> _______________________________________________
>> IPython-User mailing list
>> IPython-User@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user





More information about the IPython-User mailing list