Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

(Livechat) Guest client can't send and receive messages

Open iCredibleInc opened this issue 9 years ago • 5 comments

Your Rocket.Chat version: 0.48.1

I have a livechat entegration with hubot. No registration,guests allowed. Hubot working well with livechat. Problem is sometimes guest client throws error.And after that Guest can't send and receive message.

VM54:35 WebSocket connection to 'ws://server:3000/sockjs/183/_8gu7tsy/websocket' failed: Error in connection establishment: net::ERR_NOT_IMPLEMENTED WrappedWebSocket @ VM54:35 3livechat.js?_dc=3de45cf…:3 Exception in delivering result of invoking 'loadHistory': TypeError: Cannot read property 'length' of undefined at http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:157:7110 at c._callback (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:3:7449) at c._maybeInvokeCallback (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:9141) at c.receiveResult (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:9449) at o._livedata_result (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:21612) at o (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:6987) at http://server::3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:608 at Array.forEach (native) at Function.A.each.A.forEach (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:1:865) at C.t.socket.onmessage (http://server:3000/livechat/livechat.js?_dc=3de45cf2324b1d012642e6453ad03a537980586b:62:566)

(I edited my ip as 'server')

iCredibleInc avatar Dec 23 '16 16:12 iCredibleInc

I have the same issue. Any comments on how to proceed from here would be appreciated.

brightermatter avatar Dec 24 '16 11:12 brightermatter

@sampaiodiego is still looking at it.

engelgabriel avatar Dec 26 '16 15:12 engelgabriel

can you guys please update to version 0.48.2 and test again?

sampaiodiego avatar Dec 27 '16 18:12 sampaiodiego

Thanks guys. So far, my issue seems to be resolved. I'll do further tests to confirm.

brightermatter avatar Dec 29 '16 07:12 brightermatter

It's looks like fixed after version 0.48.2.Thanks.

iCredibleInc avatar Jan 06 '17 06:01 iCredibleInc