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

RxWebsocket引起java.io.EOFException #88

Open
zhuoCreator opened this issue Feb 20, 2021 · 0 comments
Open

RxWebsocket引起java.io.EOFException #88

zhuoCreator opened this issue Feb 20, 2021 · 0 comments

Comments

@zhuoCreator
Copy link

1 io.reactivex.exceptions.UndeliverableException:java.io.EOFException

2 io.reactivex.plugins.RxJavaPlugins.void onError(java.lang.Throwable)(RxJavaPlugins.java:8)
3 ......
4 java.io.EOFException:
5 okio.RealBufferedSource.void require(long)(RealBufferedSource.java:1)
6 okio.RealBufferedSource.byte readByte()(RealBufferedSource.java:1)
7 okhttp3.internal.ws.WebSocketReader.void readHeader()(WebSocketReader.java:4)
8 okhttp3.internal.ws.WebSocketReader.void processNextFrame()(WebSocketReader.java:1)
9 okhttp3.internal.ws.RealWebSocket.void loopReader()(RealWebSocket.java:2)
10 okhttp3.internal.ws.RealWebSocket$2.void onResponse(okhttp3.Call,okhttp3.Response)(RealWebSocket.java:9)
11 okhttp3.RealCall$AsyncCall.void execute()(RealCall.java:4)
12 okhttp3.internal.NamedRunnable.void run()(NamedRunnable.java:3)
13 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
14 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
15 java.lang.Thread.run(Thread.java:929)

有可能是重试太频繁了,但是重试间隔setReconnectInterval(3, TimeUnit.SECONDS) 好像也没解决掉

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

1 participant