Skip to content


socket disconnects continiously at xhr polling... #83

yapiskan opened this Issue · 4 comments

3 participants


Hi, I am using the with websocket now. And it works nice with current settings. But the has some memory leaks with websocket and I want to change it to xhr polling. But when I tried to convert the settings to work just with xhr polling, the ios client starts to disconnects from time to time. I debugged and saw that I took a disconnect event at onData method. The code tries to decode the received data and I guess it does it wrong. The code tries to get the idx from result object and converts the "�97�5" this value to 0. and just disconnects. I guess there is a problem in server or client and dont know how to act.

You can see the watch data in screenshot.
Screen Shot 2013-02-19 at 12 38 08 PM


I tried on both v.0.9.10 and v 0.9.13 both returns the same result. I guess on xhr calls returns the data by joining multiple events/messages/jsons which this version does not support.


i guess also this is a related issue.



has this anything to do with this?


Any updates on this one? I have this problem too...

@pkyeck pkyeck closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.