mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.82k stars 1.65k forks source link

WebSocket is closed before the connection is established #187

Closed HanJY closed 9 years ago

HanJY commented 9 years ago

Hi there, i am making chat app using netty-socketio tested at web browser... it's perfect wonderful.. when i was tested at android(4.3) at first connect ok.. join ok shortly after automatically disconnected... and android webview logged "WebSocket is closed before the connection is established" what fault? i follwed manual Is there anyone who knows

mrniko commented 9 years ago

there is a problem with your socketio android client

mrniko commented 9 years ago

Have you resolve your problem?

brianlenz commented 9 years ago

I wonder if this is possibly related to the new issue I just put in:

https://github.com/mrniko/netty-socketio/issues/193

We've seen some client disconnects if multiple packets build up in the queue since the queue won't fully flush when you try to send new packets (and there are packets already in the queue).

mrniko commented 9 years ago

@HanJY please try it again with 1.7.6 version

HanJY commented 9 years ago

sorry i am so late.. still logging "websocket is closed before..." but work well then update new version(now i use 1.7.6) thanks for your comment