WebSocket已处于CLOSING或CLOSED状态

时间:2014-05-18 18:01:58

标签: jquery jetty comet cometd

我正在开发一个Web服务器,它将数据从服务器推送到应用程序。 当我使用该应用程序时,Web套接字与服务器断开连接,因为我错过了Web应用程序界面中的一些数据量。这导致了我需要解决的一个重大问题。

服务器是码头7。

客户端是使用jquery 1.4.2.js和jquery.cometd.js以及cometd.js javascript库作为java Web应用程序开发的。

应用程序通过HAProxy负载均衡器运行。

应用程序部署在nginx 1.4.2

有任何解决此问题的建议吗?

仅供参考:

我试过谷歌搜索,建议有升级到jetty9,我需要更新码头吗?这只会解决问题吗?我是否还需要更新jquery版本以及彗星java脚本库?

感谢您的宝贵反馈

comet SYMBOl|TStamp|Prev TStamp >> MUNSHAAT`R|09:39:31|93917   
SYM OLD NSNO|old|new >> MUNSHAAT`R|666|687   
onDisconnect KSE - Disconnecting comet.   
commetApi KSE - reconnect   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
onHandshake KSE- Status = true   
commetApi KSE - reconnect   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
commetApi KSE - onsubscribe   
onConnect KSE   
Price call: GET   
Price call: GET   
XHR finished loading: GET "https:///example/price?RT=25"
XHR finished loading: GET "https://example/price?RT=27"
onDisconnect KSE - Disconnecting comet.   
commetApi KSE - reconnect   
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
commetApi KSE - onsubscribe   
WebSocket is already in CLOSING or CLOSED state. cometd.js? 
onConnect KSE   
comet sym|hed|data >> KSE|E,INS,S,TT,LTP,LTQ,CHG,PCHG,TYPE,SPL,SNO,OL|KSE|0|SAFTEC`R|064004|51.0|20000|-1.0|-1.92|S|1|693|0   
came in SYMBOl|TStamp|Prev TStamp >> SAFTEC`R|09:40:04|93931   

- regrds,rangana

0 个答案:

没有答案