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

Socket connection got disconnected in iOS #220

@kashiftriffort

Description

@kashiftriffort

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions