nginx - ipython notebook server SSL error -
i have ssl certificate server (its .crt bundle) keep getting errors when trying use ipython notebook server
i have nginx setup in windows. access ipython setup via reverse proxy. followed here thread here: how configure ipython behind nginx in subpath?
i followed instructions on how set notebook server. i'm using /ipython prefix. changed location of certificate, .crt
file , not .pem
, else left same (besides password).
whenever try access www.domain.com/ipython, error:
[w 03:43:22.463 notebookapp] ssl error on 916 ('127.0.0.1', 1586): [ssl: wrong_version_number] wrong version number (_ssl.c:581) [e 03:43:22.463 notebookapp] uncaught exception traceback (most recent call last): file "c:\python27\lib\site-packages\tornado\http1connection.py", line 693, in _server_request_loop ret = yield conn.read_response(request_delegate) file "c:\python27\lib\site-packages\tornado\gen.py", line 870, in run value = future.result() file "c:\python27\lib\site-packages\tornado\concurrent.py", line 215, in result raise_exc_info(self._exc_info) file "c:\python27\lib\site-packages\tornado\gen.py", line 876, in run yielded = self.gen.throw(*exc_info) file "c:\python27\lib\site-packages\tornado\http1connection.py", line 168, in _read_message quiet_exceptions=iostream.streamclosederror) file "c:\python27\lib\site-packages\tornado\gen.py", line 870, in run value = future.result() file "c:\python27\lib\site-packages\tornado\concurrent.py", line 215, in result raise_exc_info(self._exc_info) file "<string>", line 3, in raise_exc_info sslerror: [ssl: wrong_version_number] wrong version number (_ssl.c:581)
everythings works on local machine if use self-signed certificate, doesn't work remotely. , using signed certificate not work locally or remotely, , gives me error above. ideas issue might be?
this has been solved. blindly following instructions in ipython doc, without realizing should have nginx handle ssl connections, , ipython should not set use ssl in first place
Comments
Post a Comment