-
Notifications
You must be signed in to change notification settings - Fork 494
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
Calling disconnect throws exception #19
Comments
I have a similar issue. Getting this when I close the socket: D/WebSocketClient( 418): WebSocket EOF! Seems like the 109: if (stream.available() == -1) break;
110: switch (mStage) {
111: case 0:
112: parseOpcode(stream.readByte());
113: break; |
Can you please tell me how did you resolved it? |
I have this issue too, Did you solved it? |
Hi, |
Can somebody tell how you solved this problem? Thanks in advance. |
|
03-25 16:29:39.992: E/TAG(21060): java.net.SocketException: Socket closed
03-25 16:29:39.992: E/TAG(21060): at libcore.io.Posix.recvfromBytes(Native Method)
03-25 16:29:39.992: E/TAG(21060): at libcore.io.Posix.recvfrom(Posix.java:131)
03-25 16:29:39.992: E/TAG(21060): at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
03-25 16:29:39.992: E/TAG(21060): at libcore.io.IoBridge.recvfrom(IoBridge.java:513)
03-25 16:29:39.992: E/TAG(21060): at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
03-25 16:29:39.992: E/TAG(21060): at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
03-25 16:29:39.992: E/TAG(21060): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
03-25 16:29:39.992: E/TAG(21060): at libcore.io.Streams.readSingleByte(Streams.java:41)
03-25 16:29:39.992: E/TAG(21060): at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:236)
03-25 16:29:39.992: E/TAG(21060): at java.io.DataInputStream.readByte(DataInputStream.java:96)
03-25 16:29:39.992: E/TAG(21060): at com.codebutler.android_websockets.HybiParser.start(HybiParser.java:112)
03-25 16:29:39.992: E/TAG(21060): at com.codebutler.android_websockets.WebSocketClient$1.run(WebSocketClient.java:134)
03-25 16:29:39.992: E/TAG(21060): at java.lang.Thread.run(Thread.java:856)
03-25 16:29:40.397: A/libc(21060): Fatal signal 11 (SIGSEGV) at 0x00000027 (code=1), thread 21065 (JDWP)
The text was updated successfully, but these errors were encountered: