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

频繁发消息报异常。 #28

Closed
Zziv opened this issue Dec 31, 2017 · 3 comments
Closed

频繁发消息报异常。 #28

Zziv opened this issue Dec 31, 2017 · 3 comments

Comments

@Zziv
Copy link

Zziv commented Dec 31, 2017

频繁的发 1
duplex read error,thread is dead with exception:com.xuhao.android.libsocket.impl.exceptions.ReadException: this socket input stream has some problem,wrong body length -1,we'll disconnect

@xuuhaoo
Copy link
Owner

xuuhaoo commented Jan 2, 2018

有没有截图或者详细的描述

@h4091
Copy link

h4091 commented Jan 9, 2018

W/System.err: com.xuhao.android.libsocket.impl.exceptions.ReadException: com.xuhao.android.libsocket.impl.exceptions.ReadException: channel maybe close, so we decided to shut it down
W/System.err: at com.xuhao.android.libsocket.impl.nonblockio.nio.Reader.read(Reader.java:107)
W/System.err: at com.xuhao.android.libsocket.impl.nonblockio.threads.DuplexReadThread.runInLoopThread(DuplexReadThread.java:66)
W/System.err: at com.xuhao.android.libsocket.impl.LoopThread.run(LoopThread.java:50)
W/System.err: at java.lang.Thread.run(Thread.java:761)
W/System.err: Caused by: com.xuhao.android.libsocket.impl.exceptions.ReadException: channel maybe close, so we decided to shut it down
W/System.err: at com.xuhao.android.libsocket.impl.nonblockio.nio.Reader.read(Reader.java:62)
W/System.err: ... 3 more

@xuuhaoo
Copy link
Owner

xuuhaoo commented Jan 17, 2018

这个异常是因为服务器断开了此次socket连接

@xuuhaoo xuuhaoo closed this as completed Jan 17, 2018
@xuuhaoo xuuhaoo reopened this May 2, 2018
@xuuhaoo xuuhaoo closed this as completed May 2, 2018
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

3 participants