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

只要一使用UA就报错,求大神指导 #9

Closed
JervisPG opened this issue Jul 13, 2016 · 1 comment
Closed

只要一使用UA就报错,求大神指导 #9

JervisPG opened this issue Jul 13, 2016 · 1 comment
Labels

Comments

@JervisPG
Copy link

10:01:54 ERROR c.w.seimi.core.SeimiProcessor - timeout
java.net.SocketTimeoutException: timeout
at okio.Okio$3.newTimeoutException(Okio.java:212) ~[okio-1.8.0.jar:na]
at okio.AsyncTimeout.exit(AsyncTimeout.java:288) ~[okio-1.8.0.jar:na]
at okio.AsyncTimeout$2.read(AsyncTimeout.java:242) ~[okio-1.8.0.jar:na]
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:325) ~[okio-1.8.0.jar:na]
at okio.RealBufferedSource.indexOf(RealBufferedSource.java:314) ~[okio-1.8.0.jar:na]
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:210) ~[okio-1.8.0.jar:na]
at okhttp3.internal.http.Http1xStream.readResponse(Http1xStream.java:184) ~[okhttp-3.3.1.jar:na]
at okhttp3.internal.http.Http1xStream.readResponseHeaders(Http1xStream.java:125) ~[okhttp-3.3.1.jar:na]
at okhttp3.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:775) ~[okhttp-3.3.1.jar:na]
at okhttp3.internal.http.HttpEngine.access$200(HttpEngine.java:86) ~[okhttp-3.3.1.jar:na]
at okhttp3.internal.http.HttpEngine$NetworkInterceptorChain.proceed(HttpEngine.java:760) ~[okhttp-3.3.1.jar:na]
at okhttp3.internal.http.HttpEngine.readResponse(HttpEngine.java:613) ~[okhttp-3.3.1.jar:na]
at okhttp3.RealCall.getResponse(RealCall.java:244) ~[okhttp-3.3.1.jar:na]
at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:201) ~[okhttp-3.3.1.jar:na]
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163) ~[okhttp-3.3.1.jar:na]
at okhttp3.RealCall.execute(RealCall.java:57) ~[okhttp-3.3.1.jar:na]
at cn.wanghaomiao.seimi.http.okhttp.OkHttpDownloader.process(OkHttpDownloader.java:74) ~[classes/:na]
at cn.wanghaomiao.seimi.core.SeimiProcessor.run(SeimiProcessor.java:106) ~[classes/:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_79]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:190) ~[na:1.7.0_79]
at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[na:1.7.0_79]
at okio.Okio$2.read(Okio.java:140) ~[okio-1.8.0.jar:na]
at okio.AsyncTimeout$2.read(AsyncTimeout.java:238) ~[okio-1.8.0.jar:na]
... 18 common frames omitted
10:01:54 INFO c.w.seimi.core.SeimiProcessor - Request process error,req will go into queue again,url=http://www.bjstats.gov.cn/tjsj/yjdsj/GDP/2015,maxReqCount=3,currentReqCount=1

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

No branches or pull requests

2 participants