socket.IO-objc
socket.IO-objc copied to clipboard
Socket connection got disconnected in iOS
I am working for chat app and using Socket.IO library for establishing socket connection in iOS. Below is my response coming in source. I am not sure why my connection is disconnected
2015-05-04 15:22:49.533 SocketTesterARC[3503:114812] Connecting to socket with URL: http://192.168.1.200:3000/socket.io/?&userid=487&transport=polling&b64=true&EIO=3 2015-05-04 15:22:49.641 SocketTesterARC[3503:114812] didReceiveResponse() 200 2015-05-04 15:22:49.641 SocketTesterARC[3503:114812] connectionDidFinishLoading() 97:0{"sid":"Rhe4weXy-VLjtbaYAAAc","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000} 2015-05-04 15:22:49.641 SocketTesterARC[3503:114812] sid: 97 2015-05-04 15:22:49.646 SocketTesterARC[3503:114812] heartbeatTimeout: 0.000000 2015-05-04 15:22:49.646 SocketTesterARC[3503:114812] transports: ( "["websocket"]", ""pingInterval"" ) 2015-05-04 15:22:49.646 SocketTesterARC[3503:114812] no transport found that is supported :( -> fail 2015-05-04 15:22:49.651 SocketTesterARC[3503:114812] onError() Error Domain=SocketIOError Code=-5 "The operation couldn’t be completed. (SocketIOError error -5.)" 2015-05-04 15:22:49.651 SocketTesterARC[3503:114812] onDisconnect() 2015-05-04 15:22:49.652 SocketTesterARC[3503:114812] socket.io disconnected. did error occur? Error Domain=SocketIOError Code=-5 "The operation couldn’t be completed. (SocketIOError error -5.)"
That's probably because of different versions of socket io js files
Did you find the solution?
Same issue here, any resolution?