gedoor / legado

Legado 3.0 Book Reader with powerful controls & full functions❤️阅读3.0, 阅读是一款可以自定义来源阅读网络内容的工具,为广大网络文学爱好者提供一种方便、快捷舒适的试读体验。
GNU General Public License v3.0
29.12k stars 3.86k forks source link

Source Bug #4279

Open unOmni opened 5 days ago

unOmni commented 5 days ago

确认 / Assignments

问题描述 / Describe Bugs

When tryimg to fetch this one chapter, shows an error 获取正文失败 stream was reset: PROTOCOL_ERROR

复现步骤 / How to reproduce

Try to fetch this chapter https://pixeldrain.com/d/MFtaGogW/2030%20%2090%25.txt From this source bookSource.json

确认 / Assignment

其他信息 / Additions

My guess is that it's the percentage sign in the title missing up everything. Hope there's an easy fix.

日志提交 / Relevant log output

okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR at okhttp3.internal.http2.Http2Stream.takeHeaders(SourceFile:69) at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(SourceFile:5) at okhttp3.internal.connection.Exchange.readResponseHeaders(SourceFile:3) at okhttp3.internal.http.CallServerInterceptor.intercept(SourceFile:172) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at io.legado.app.help.http.v.intercept(SourceFile:38) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:33) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:190) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:171) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:33) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at io.legado.app.help.http.r.intercept(SourceFile:42) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at io.legado.app.lib.cronet.CronetInterceptor.intercept(SourceFile:100) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at io.legado.app.help.http.u.intercept(SourceFile:101) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at io.legado.app.help.http.l0.intercept(SourceFile:10) at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:146) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(SourceFile:118) at okhttp3.internal.connection.RealCall$AsyncCall.run(SourceFile:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012) Suppressed: okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR ... 28 more Suppressed: okhttp3.internal.http2.StreamResetException: stream was reset: PROTOCOL_ERROR ... 28 more Suppressed: java.util.concurrent.ExecutionException: java.io.IOException: Exception in CronetUrlRequest: net::ERR_HTTP2_PROTOCOL_ERROR, ErrorCode=11, InternalErrorCode=-337, Retryable=false at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:372) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2072) at f2.g.n(SourceFile:1) at io.legado.app.lib.cronet.NewCallBack.waitForDone(SourceFile:46) at io.legado.app.lib.cronet.CronetInterceptor.proceedWithCronet(SourceFile:24) at io.legado.app.lib.cronet.CronetInterceptor.intercept(SourceFile:61) ... 10 more Caused by: java.io.IOException: Exception in CronetUrlRequest: net::ERR_HTTP2_PROTOCOL_ERROR, ErrorCode=11, InternalErrorCode=-337, Retryable=false at io.legado.app.lib.cronet.AbsCallBack.onFailed(SourceFile:40) at org.chromium.net.impl.y.onFailed(SourceFile:3) at org.chromium.net.impl.p.run(SourceFile:15) ... 3 more Caused by: org.chromium.net.impl.NetworkExceptionImpl: Exception in CronetUrlRequest: net::ERR_HTTP2_PROTOCOL_ERROR, ErrorCode=11, InternalErrorCode=-337, Retryable=false at org.chromium.net.impl.CronetUrlRequest.onError(SourceFile:57)

阅读版本 / Legado version

3.25

Android版本 / Android version

12

机型 / Model

Galaxy M21