iPython notebook Websocket connection cannot be established

五迷三道 提交于 2019-12-04 12:09:59

问题


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 connection to could not be established. You will NOT be able to run code. Check your network connection or notebook server configuration."

I have the latest version of Chrome and I am only trying to access local notebooks.

The Javascript console gives me this:

Starting WebSockets: [link not allowed by StackOverflow]/737c7279-7fab-467c-9e0f-cba16233e4b5 kernel.js:143

WebSocket connection failed: [link not allowed by StackOverflow]/737c7279-7fab-467c-9e0f-cba16233e4b5 notificationarea.js:129

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".

(anonymous function)


回答1:


Try reinstalling your iPython server or creating a new profile for the server



来源:https://stackoverflow.com/questions/22186057/ipython-notebook-websocket-connection-cannot-be-established

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!