我执行时:~/.local/bin/jupyter-notebook
[W 20:12:31.012 NotebookApp] SSL Error on 8 ('127.0.0.1', 44788): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:645)
[W 20:12:31.013 NotebookApp] SSL Error on 9 ('127.0.0.1', 44790): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:645)
[W 20:12:31.626 NotebookApp] SSL Error on 10 ('127.0.0.1', 44792): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:645)
[W 20:12:33.520 NotebookApp] SSL Error on 8 ('127.0.0.1', 44800): [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:645)
[W 20:12:33.520
[W 20:13:00.995 NotebookApp] KernelRestarter: restart failed
[W 20:13:00.996 NotebookApp] Kernel b09e557c-561f-4ba2-b3d7-939dfde14282 died, removing from map.
channel 3: open failed: connect failed: Connection refused
channel 3: open failed: connect failed: Connection refused
当我尝试在 python3
上运行某些命令时,这在 jupyter 笔记本上出现了Connection failed
A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.
我以此方式创建了SSL
:
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mykey.key -out mycert.pem -sha256
如何解决此错误?
我的PC是MAC,在AWS中我已经安装了Linux。
我正在使用Google Chrome版本80.0.3987.163