ssseasonnn / RxDownload

A multi-threaded download tool written with RxJava and Kotlin
Apache License 2.0
4.14k stars 612 forks source link

下载失败,打印出来的日志 是 stream was reset: PROTOCOL_ERROR #318

Open liuhuan8986 opened 4 years ago

liuhuan8986 commented 4 years ago

按demo提供的方法 mDisposable = apkUrl.download() 正常下载,有测试的时候,大概率下载失败,打印出来的失败日志是 stream was reset: PROTOCOL_ERROR ,对了,我开启代理抓包,不知道这个影响大不大,因为我开了代理有时候 是可以正常下载的,有时候又失败

shiweibsw commented 3 years ago

遇到同样的问题

shiweibsw commented 3 years ago

暂时通过 https://blog.csdn.net/oneblue123/article/details/83656552 解决