散景服务没有响应

bokeh serve does not respond

我尝试 运行 the button 文档中的散景服务器示例,但没有任何显示,即浏览器一直在无限期地转动。这是我的命令行:

http_proxy=  https_proxy=  bokeh serve test_button.py --port 26453 --log-level debug --host opit020.vm.cfm.fr:26453

如你所见,我:

但到目前为止一切都失败了(--show 选项在本地主机上以同样的方式失败)。当我 ping http://myhost:26453/test_button 时,日志仍然显示:

2017-04-28 16:19:40,580 [pid 8425] 0 clients connected
2017-04-28 16:19:40,580 [pid 8425]   /test_button has 0 sessions with 0 unused
2017-04-28 16:19:55,579 [pid 8425] 0 clients connected
2017-04-28 16:19:55,580 [pid 8425]   /test_button has 0 sessions with 0 unused

我的浏览器中没有任何显示(本地或远程)。 当我点击 http://myhost:26453/test_button/ws 时,我得到:

2017-04-28 16:20:08,949 400 GET /test_button/ws (10.75.21.109) 0.77ms
2017-04-28 16:20:08,950 Can "Upgrade" only to "WebSocket".

这证明服务器已成功到达(再次本地或远程)。当我找到 root http://myhost:26453/ 时,还有另一个生命证明(即使浏览器也一直无限期地转动):

2017-04-28 16:30:51,241 302 GET / (10.75.21.109) 0.47ms

你能想到我可以尝试让这个简单的示例工作的其他方法吗?

P.S。我使用 python 2.7 和散景 0.12.3.

Bokeh 与新的 Tornado v4.5 版本不兼容。您应该将您的龙卷风版本固定到以前的版本 (v4.4.2)。

https://github.com/bokeh/bokeh/issues/6152