Ipython: SSL: WRONG_VERSION_NUMBER

Criado em 9 jul. 2015  ·  15Comentários  ·  Fonte: ipython/ipython

Alguém sabe por que estou recebendo este erro:

SSL: WRONG_VERSION_NUMBER

David-Laxers-MacBook-Pro:nervanagpu davidlaxer$ ipython --version
3.2.0

David-Laxers-MacBook-Pro:pycon-pandas-tutorial davidlaxer$ conda --version
conda 3.14.1
David-Laxers-MacBook-Pro:pycon-pandas-tutorial davidlaxer$ python --version
Python 2.7.10 :: Anaconda 2.3.0 (x86_64)
D

David-Laxers-MacBook-Pro:~ davidlaxer$ ipython notebook --profile=nbserver
[I 19:08:00.252 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[I 19:08:00.317 NotebookApp] Serving notebooks from local directory: /Users/davidlaxer
[I 19:08:00.317 NotebookApp] 0 active kernels 
[I 19:08:00.317 NotebookApp] The IPython Notebook is running at: https://127.0.0.1:9999/
[I 19:08:00.317 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 19:08:25.637 NotebookApp] Writing notebook-signing key to /Users/davidlaxer/.ipython/profile_nbserver/security/notebook_secret
[W 19:08:25.645 NotebookApp] Notebook pycon-pandas-tutorial/Exercises-1.ipynb is not trusted
[I 19:08:27.843 NotebookApp] Kernel started: d34339cc-4141-49f9-aa53-1ba050f2dc5d
[I 19:10:27.956 NotebookApp] Saving file at /pycon-pandas-tutorial/Exercises-1.ipynb
[W 19:10:27.960 NotebookApp] Saving untrusted notebook pycon-pandas-tutorial/Exercises-1.ipynb
[I 22:02:42.201 NotebookApp] Saving file at /pycon-pandas-tutorial/Exercises-1.ipynb
[I 22:04:45.950 NotebookApp] Saving file at /pycon-pandas-tutorial/Exercises-1.ipynb


[W 22:08:36.100 NotebookApp] Notebook pycon-pandas-tutorial/Exercises-2.ipynb is not trusted
[I 22:08:37.503 NotebookApp] Kernel started: fb7d4b59-fcf4-4cfe-8190-739ef1928337
[I 22:08:43.914 NotebookApp] Saving file at /pycon-pandas-tutorial/Exercises-2.ipynb
[I 22:17:20.994 NotebookApp] Using existing profile dir: u'/Users/davidlaxer/.ipython/profile_nbserver'
[I 22:17:29.264 NotebookApp] Using existing profile dir: u'/Users/davidlaxer/.ipython/profile_default'
[I 22:18:03.976 NotebookApp] Kernel shutdown: d34339cc-4141-49f9-aa53-1ba050f2dc5d
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/Users/davidlaxer/anaconda/lib/python2.7/threading.py", line 810, in __bootstrap_inner
  File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/IPython/kernel/zmq/parentpoller.py", line 35, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'getppid'
[I 22:18:05.629 NotebookApp] Kernel shutdown: fb7d4b59-fcf4-4cfe-8190-739ef1928337
[I 22:18:17.514 NotebookApp] Kernel started: e81bf8cd-72ea-40e1-87e8-330cd884ff90
[I 22:23:04.151 NotebookApp] Saving file at /pycon-pandas-tutorial/Exercises-1.ipynb
[W 22:23:12.272 NotebookApp] Notebook pydata-book/ch02.ipynb is not trusted
[I 22:23:18.682 NotebookApp] Kernel started: 82d56f4e-a231-4553-843c-321d3673a5f9
[I 22:23:53.647 NotebookApp] Saving file at /pydata-book/ch02.ipynb
[I 22:26:00.713 NotebookApp] Saving file at /pydata-book/ch02.ipynb
[I 22:35:37.189 NotebookApp] 302 GET /notebooks/pydata-book/ch02.ipynb (127.0.0.1) 1.48ms
[I 22:35:43.163 NotebookApp] 302 POST /login?next=%2Fnotebooks%2Fpydata-book%2Fch02.ipynb (127.0.0.1) 1.14ms
[W 22:36:55.811 NotebookApp] SSL Error on 50 ('127.0.0.1', 60661): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.812 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 22:36:55.815 NotebookApp] SSL Error on 50 ('127.0.0.1', 60662): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.815 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 22:36:55.821 NotebookApp] SSL Error on 50 ('127.0.0.1', 60663): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.822 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 22:36:55.846 NotebookApp] SSL Error on 50 ('127.0.0.1', 60664): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.848 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 22:36:55.859 NotebookApp] SSL Error on 50 ('127.0.0.1', 60665): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.875 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 22:36:55.876 NotebookApp] SSL Error on 50 ('127.0.0.1', 60666): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 22:36:55.877 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[I 22:37:48.686 NotebookApp] Saving file at /pydata-book/ch02.ipynb
[W 00:55:23.190 NotebookApp] error on read
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/iostream.py", line 644, in _handle_read
        pos = self._read_to_buffer_loop()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/iostream.py", line 614, in _read_to_buffer_loop
        if self._read_to_buffer() == 0:
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/iostream.py", line 726, in _read_to_buffer
        chunk = self.read_from_fd()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/iostream.py", line 1419, in read_from_fd
        chunk = self.socket.read(self.read_chunk_size)
      File "/Users/davidlaxer/anaconda/lib/python2.7/ssl.py", line 621, in read
        v = self._sslobj.read(len or 1024)
    SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1752)
[E 00:55:23.224 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1752)
[I 00:55:41.421 NotebookApp] 302 GET /notebooks/pydata-book/ch02.ipynb (127.0.0.1) 4.10ms
[I 00:55:47.229 NotebookApp] 302 POST /login?next=%2Fnotebooks%2Fpydata-book%2Fch02.ipynb (127.0.0.1) 1.99ms
[I 00:56:44.181 NotebookApp] Saving file at /pydata-book/ch02.ipynb
[W 08:22:47.934 NotebookApp] SSL Error on 6 ('127.0.0.1', 56430): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:22:47.942 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:22:47.956 NotebookApp] SSL Error on 6 ('127.0.0.1', 56431): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:22:47.957 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:22:47.963 NotebookApp] SSL Error on 6 ('127.0.0.1', 56432): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:22:47.963 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.477 NotebookApp] SSL Error on 6 ('127.0.0.1', 56478): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.478 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.483 NotebookApp] SSL Error on 6 ('127.0.0.1', 56479): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.484 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.489 NotebookApp] SSL Error on 6 ('127.0.0.1', 56480): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.490 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.923 NotebookApp] SSL Error on 6 ('127.0.0.1', 56482): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.924 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.928 NotebookApp] SSL Error on 6 ('127.0.0.1', 56483): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.929 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
[W 08:24:33.937 NotebookApp] SSL Error on 6 ('127.0.0.1', 56484): [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)
[E 08:24:33.938 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/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:590)
E 08:24:33.938 NotebookApp] Uncaught exception
    Traceback (most recent call last):
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 693, in _server_request_loop
        ret = yield conn.read_response(request_delegate)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/concurrent.py", line 215, in result
        raise_exc_info(self._exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 876, in run
        yielded = self.gen.throw(*exc_info)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/http1connection.py", line 168, in _read_message
        quiet_exceptions=iostream.StreamClosedError)
      File "/Users/davidlaxer/anaconda/lib/python2.7/site-packages/tornado/gen.py", line 870, in run
        value = future.result()

Comentários muito úteis

Você está fazendo solicitações HTTP para um servidor HTTPS?

Todos 15 comentários

Você está fazendo solicitações HTTP para um servidor HTTPS?

[I 14: 23: 53.493 NotebookApp] 302 GET / (127.0.0.1) 10.08ms
[I 14: 23: 53.514 NotebookApp] 302 GET / árvore (127.0.0.1) 5,44ms
[I 14: 23: 53.998 NotebookApp] 302 GET / (127.0.0.1) 0,46 ms
[I 14: 23: 54.006 NotebookApp] 302 GET / árvore (127.0.0.1) 0,73ms
[I 14: 24: 00.154 NotebookApp] 302 POST / login? Próximo =% 2Ftree (127.0.0.1) 3,15 ms
[I 14: 24: 40.985 NotebookApp] Desligamento do kernel: e81bf8cd-72ea-40e1-87e8-330cd884ff90
[I 14: 24: 42.402 NotebookApp] Desligamento do kernel: 82d56f4e-a231-4553-843c-321d3673a5f9
[I 14: 24: 52.926 NotebookApp] Kernel iniciado: 9dd77d58-a3c1-470b-a7d3-e9393447f66f

No Chrome, o notebook funciona, mas recebo uma linha vermelha por meio de HTTPS:

No Safari, que também usa HTTPS, o notebook não consegue se conectar ao kernel:

Em 9 de julho de 2015, às 13h59, Min RK [email protected] escreveu:

Você está fazendo solicitações HTTP para um servidor HTTPS?

-
Responda a este e-mail diretamente ou visualize-o no GitHub https://github.com/ipython/ipython/issues/8621#issuecomment -120142306.

No Safari, que também usa HTTPS, o notebook não consegue se conectar ao kernel

Esta é uma limitação do Safari. Ele não permitirá conexões ssl websocket com certificados autoassinados. Para usar um certificado autoassinado com o Safari, você precisa adicioná-lo às suas Chaves para torná-lo um certificado totalmente confiável.

OK. Vou tentar.

Alguma ideia sobre isso:

https://github.com/ipython/ipython/issues/8612 https://github.com/ipython/ipython/issues/8612

Em 9 de julho de 2015, às 14h37, Min RK [email protected] escreveu:

No Safari, que também usa HTTPS, o notebook não consegue se conectar ao kernel

Esta é uma limitação do Safari. Ele não permitirá conexões ssl websocket com certificados autoassinados. Para usar um certificado autoassinado com o Safari, você precisa adicioná-lo às suas Chaves para torná-lo um certificado totalmente confiável.

-
Responda a este e-mail diretamente ou visualize-o no GitHub https://github.com/ipython/ipython/issues/8621#issuecomment -120150602.

eu tive o mesmo erro

[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:590)

O problema era que eu estava tentando acessar o notebook por meio de http quando deveria estar tentando com https . O mesmo que @minrk sugeriu na primeira resposta a este post.

Tenho o mesmo problema, mas nem http: // nem https: // funcionam para mim.

Está resolvido agora. É só digitar uma senha. https: // funciona.

Oi,

Este problema está quieto há quase dois anos e não acho que haja nada que possamos fazer. Ele foi marcado como sem ação e vou fechá-lo para tentar reduzir o número de problemas abertos. Sinta-se à vontade para reabrir se necessário.

Obrigado.

O verdadeiro problema é que http não está redirecionando para https automaticamente

Não use a porta 80 se for usar https.

SSLError: [SSL: WRONG_VERSION_NUMBER] número da versão incorreto (_ssl.c: 720)
Enfrentando o problema de implantação do servidor apache com django no smtp de backend de e-mail

Você está servindo imap via 993 conforme sugerido aqui https://github.com/modoboa/modoboa/issues/1134 ?

Tendo o erro. Conectando-se a HTTP. Mas conectando-se por meio de um proxy corporativo. Talvez seja isso.

Você está fazendo solicitações HTTP para um servidor HTTPS?

No meu caso, foi exatamente o oposto.
Minha instância local de Jira já estava instalada e em execução em http: // localhost : 8080 /
e eu estava tentando fazer uma chamada rest get para ' https: // localhost : 8080 / rest / api / 2 / issue /' + jiraId + '? fields = status'.

Resolvi removendo o 's'

O verdadeiro problema é que http não está redirecionando para https automaticamente

@gabefair Você pode usar o nginx para redirecionar automaticamente a solicitação para https . Aqui está como você pode fazer isso no Ubuntu.

Instale o nginx:
$ sudo apt -y install nginx

Verifique se o nginx está ativo e em execução:
$ sudo systemctl status nginx

Se não estiver habilitado ou em execução, execute estes dois comandos:

$ sudo systemctl enable nginx
$ sudo systemctl start nginx

Navegue até o diretório abaixo:
$ cd /etc/nginx/sites-available

Edite o arquivo padrão lá, remova tudo dele e cole o conteúdo abaixo:

server {
    listen 80;
    return 301 https://$host$request_uri;
}

Reinicie o nginx:
$ sudo systemctl restart nginx

Agora, qualquer solicitação vinda de http (porta 80) será redirecionada para a versão https (porta 443).

Esta página foi útil?
0 / 5 - 0 avaliações

Questões relacionadas

sataliulan picture sataliulan  ·  4Comentários

ipython picture ipython  ·  3Comentários

quchunguang picture quchunguang  ·  3Comentários

jakirkham picture jakirkham  ·  4Comentários

RinaldoB picture RinaldoB  ·  3Comentários