Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malaysian user cannot connect through websockets? #238

Closed
hullionhero opened this issue Jun 3, 2011 · 5 comments
Closed

Malaysian user cannot connect through websockets? #238

hullionhero opened this issue Jun 3, 2011 · 5 comments

Comments

@hullionhero
Copy link

I have a malaysian user who's connecting through websockets, but is being dropped within 20 seconds, same thing with xhr-multipart.

xhr-polling works however.

Is he someone who I should tell to use the xhr-polling fallback or is there something I can do to make websocket work for him?

@pyrostrex
Copy link

Weird. I'm malaysian and using only 54kbps and am building a download service which eating much of my server connection. but still, I don't have such problem.

@3rd-Eden
Copy link
Contributor

3rd-Eden commented Jun 5, 2011

20 seconds is the heartbeat timeout of the server, so there must be something preventing him from sending back a heartbeat response to the server.

@xpepermint
Copy link

Native WebSockets are not working.

Crome example:
var socket = new WebSocket('ws://localhost:8124');

I dont's see any requests on nodejs+socket.io server side. When testing with basic nodejs server I see requests and the WebSocket protocol seams ok. I believe this is a critical bug!

That's why none of other Android/iPhone libraries don't work with Socket.IO.

@3rd-Eden
Copy link
Contributor

Do you have a websocket server running on 8124? because that is not a valid socket.io url
On Jun 15, 2011, at 4:01 PM, xpepermint wrote:

Native WebSockets are not working.

Crome example:
var socket = new WebSocket('ws://localhost:8124');

I dont's see any requests on nodejs+socket.io server side. When testing with basic nodejs server I see requests and the WebSocket protocol seams ok. I believe this is a critical bug!

That's why none of other Android/iPhone libraries don't work with Socket.IO.

Reply to this email directly or view it on GitHub:
https://github.com/LearnBoost/Socket.IO-node/issues/238#issuecomment-1373792

@xpepermint
Copy link

Hum... yes... I use 8124 and it works with socket.io-client library. I also tried port 80 (var socket = new WebSocket('ws://localhost');) and it still does not work.
Am I missing something?

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

No branches or pull requests

5 participants