Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Socket connection got disconnected in iOS #220

Open
kashiftriffort opened this issue May 4, 2015 · 3 comments
Open

Socket connection got disconnected in iOS #220

kashiftriffort opened this issue May 4, 2015 · 3 comments

Comments

@kashiftriffort
Copy link

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.)"

@yunas
Copy link

yunas commented May 30, 2015

That's probably because of different versions of socket io js files

@swapnilmishra-globussoft

Did you find the solution?

@mamaral
Copy link

mamaral commented Jan 4, 2016

Same issue here, any resolution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants