OpsCenter 5.0.1 – xhrstream HTTP取消请求已取消 – 已连接0个代理中的0个

在OSX Yosemite上连接到OpsCenter 5.0.1在最新的Google Chrome浏览器39.0.2171.99(64位)上导致这些tcp xhrstreams请求被取消,并且我收到一条消息,指出已0 of 0 agents connected

这意味着我看不到集群的任何度量标准。

http://<redacted>/tcp/50903bfb23e7404daa000d7f69374303/xhrstream?nocache=0.2149110094178468

使用Chrome开发工具并获取Get请求的cURL版本,可以从命令行运行,并提供此输出

 curl 'http://<redacted>/tcp/b61e257a7f834de8abb048af46f55749/xhrstream?nocache=0.15578373544849455' -H 'Referer: http://<redacted>/opscenter/index.html' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36' --compressed -u admin:c071618d1f8eac06a7b7 11,113,opt014,pingTimeout,3011,213,opt015,pingInterval,30% 

所以我已经validation了OpsCenter已启动并正在运行,并返回了所需的结果。

我也testing过在我的机器上使用最新的safari和firefox以及不同的有线/无线和互联网连接,我也有同样的问题。

使用同事机器,在同一个networking上,一切正常。

有什么想法吗?

这是UI与opscenterd之间持续连接的特定环境。 您应该可以通过切换该连接来替代使用长时间轮询来解决此问题,方法是在opscenterd.conf中添加以下内容并重新启动opscenterd:

 [labs] orbited_longpoll = true 

我们正在调查将来使用不同的机制,与不同的环境更兼容。