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

warn - websocket connection invalid #94

Open
prajapatimoti opened this issue Apr 10, 2013 · 2 comments
Open

warn - websocket connection invalid #94

prajapatimoti opened this issue Apr 10, 2013 · 2 comments

Comments

@prajapatimoti
Copy link

I am developing an iphone application. when I try to connect to my node server with socket.io app, I am getting error on server like:

debug - client authorized
info - handshake authorized 16734788022033017528
debug - setting request GET /socket.io/1/websocket/16734788022033017528
debug - set heartbeat interval for client 16734788022033017528
warn - websocket connection invalid
info - transport end
debug - set close timeout for client 16734788022033017528
debug - cleared close timeout for client 16734788022033017528
debug - cleared heartbeat interval for client 16734788022033017528
debug - client authorized for

While error on xcode console is:

didReceiveResponse() 200
connectionDidFinishLoading() 16734788022033017528:15:25:websocket,htmlfile,xhr-polling,jsonp-polling
sid: 16734788022033017528
heartbeatTimeout: 22.000000
transports: (
websocket,
htmlfile,
"xhr-polling",
"jsonp-polling"
)
websocket supported -> using it now
onDisconnect()
disconnectedWithError : Error Domain=SocketIOError Code=-4 "The operation couldn’t be completed. (SocketIOError error -4.)"

I am using Node version : 0.10.3 and Socket.io version : 0.9.4.

Is this an issue, or am I doing something wrong?

@l0c0luke
Copy link

on the device that is creating the invalid connection, goto http://websocketstest.com/ and see what comes up. I was trying o use port 80 and found that ATT customers here inthe states could not accept websockets on port 80.

@hboylan
Copy link

hboylan commented Feb 20, 2014

@prajapatimoti Same here. You figure this out?

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

3 participants