无法建立iPython笔记本Websocket连接 [英] iPython notebook Websocket connection cannot be established
问题描述
iPython工作正常,直到几个小时前我不得不进行硬关机,因为我无法打断我的内核。现在打开任何笔记本都会出现以下错误:
iPython was working fine until a few hours ago when I had to do a hard shutdown because I was not able to interrupt my kernel. Now opening any notebook gives me the following error:
无法建立WebSocket连接。您将无法运行代码。检查您的网络连接或笔记本电脑服务器配置。
"WebSocket connection to could not be established. You will NOT be able to run code. Check your network connection or notebook server configuration."
我有最新版本的Chrome,我只是尝试访问本地笔记本电脑。
I have the latest version of Chrome and I am only trying to access local notebooks.
Javascript控制台给我这个:
The Javascript console gives me this:
启动WebSockets:[link not允许的StackOverflow] / 737c7279-7fab-467c-9e0f-cba16233e4b5 kernel.js:143
Starting WebSockets: [link not allowed by StackOverflow]/737c7279-7fab-467c-9e0f-cba16233e4b5 kernel.js:143
WebSocket连接失败:[链接不允许by StackOverflow] / 737c7279-7fab-467c-9e0f-cba16233e4b5 notificationarea.js:129
WebSocket connection failed: [link not allowed by StackOverflow]/737c7279-7fab-467c-9e0f-cba16233e4b5 notificationarea.js:129
资源被解释为图像但使用MIME类型image / x-png传输:[ StackOverflow不允许链接] /static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png。
Resource interpreted as Image but transferred with MIME type image/x-png: "[link not allowed by StackOverflow]/static/components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png".
(匿名函数)
推荐答案
尝试重新安装iPython服务器或为服务器创建新配置文件
Try reinstalling your iPython server or creating a new profile for the server
这篇关于无法建立iPython笔记本Websocket连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!