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

socketIODidConnect does not fire sometimes when connecting in 3G #114

Open
magickaito opened this issue Jul 4, 2013 · 1 comment
Open

Comments

@magickaito
Copy link

I am using SocketIO 3.2. I noticed that if I am connecting to the server through 3G, sometimes, socketIODidConnect did not fire at all. Here are the traces:

Connecting to socket with URL: http://www.website.com:80/socket.io/1/?t=16807&token=xxxx
didReceiveResponse() 200
connectionDidFinishLoading() bTxWmhWMFO1jaXY1_NDF:60:60:xhr-polling
sid: bTxWmhWMFO1jaXY1_NDF
heartbeatTimeout: 67.000000
transports: (
    "xhr-polling"
)
xhr polling supported -> using it now
onData 8::
start/reset timeout
noop
onData 8::
start/reset timeout
noop
onData 8::
start/reset timeout
noop
onData 8::
start/reset timeout
noop
....

What's going wrong here? I haven't been able to reproduce this when connected in WIFI.

@cthomaschase
Copy link

I have a similar issue, but it does it for me even when on WIFI.

I've noticed that if my server is slow to respond to a websocket connection, once successful, I'm not receiving the connection data. I'll receive the normal heartbeat data "2::" but not "1::".

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

2 participants