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

下载失败没有回调 #1

Open
zjx19930911 opened this issue Mar 14, 2019 · 0 comments
Open

下载失败没有回调 #1

zjx19930911 opened this issue Mar 14, 2019 · 0 comments

Comments

@zjx19930911
Copy link

这个url下载一会就会失败 https://www.zk5u.com/Styles/Teachers/exe/W.P.S.7520.12012.0.exe
可是onError没有失败的回调 异常如下
03-14 14:48:40.301 17090-17232/com.toycloud.app.greenbrowser I/downloader: 1552545317895 is start ! taskId = 1552545317895 url = https://www.zk5u.com/Styles/Teachers/exe/W.P.S.7520.12012.0.exe totalSize = 74374480 loadedSize = 0 downloadSpeed = 48851.0 mState = LOADING fileName = W.P.S.7520.12012.0.exe filePath = mnt/sdcard/green/download 03-14 14:48:43.452 17090-17232/com.toycloud.app.greenbrowser W/System.err: okhttp3.internal.http2.StreamResetException: stream was reset: CANCEL 03-14 14:48:43.453 17090-17232/com.toycloud.app.greenbrowser W/System.err: at okhttp3.internal.http2.Http2Stream$FramingSource.checkNotClosed(Http2Stream.java:436) 03-14 14:48:43.454 17090-17232/com.toycloud.app.greenbrowser W/System.err: at okhttp3.internal.http2.Http2Stream$FramingSource.read(Http2Stream.java:338) 03-14 14:48:43.455 17090-17232/com.toycloud.app.greenbrowser W/System.err: at okhttp3.internal.http2.Http2Codec$StreamFinishingSource.read(Http2Codec.java:210) 03-14 14:48:43.456 17090-17232/com.toycloud.app.greenbrowser W/System.err: at okio.RealBufferedSource$1.read(RealBufferedSource.java:430) 03-14 14:48:43.456 17090-17232/com.toycloud.app.greenbrowser W/System.err: at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) 03-14 14:48:43.458 17090-17232/com.toycloud.app.greenbrowser W/System.err: at java.io.BufferedInputStream.read(BufferedInputStream.java:347) 03-14 14:48:43.459 17090-17232/com.toycloud.app.greenbrowser W/System.err: at com.dpuntu.downloader.DownloadTask.startDownloadTask(DownloadTask.java:78) 03-14 14:48:43.459 17090-17232/com.toycloud.app.greenbrowser W/System.err: at com.dpuntu.downloader.DownloadTask.run(DownloadTask.java:55) 03-14 14:48:43.460 17090-17232/com.toycloud.app.greenbrowser W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) 03-14 14:48:43.461 17090-17232/com.toycloud.app.greenbrowser W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) 03-14 14:48:43.461 17090-17232/com.toycloud.app.greenbrowser W/System.err: at java.lang.Thread.run(Thread.java:764)

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