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

下载视频失败 #326

Closed
liuxiaowei opened this Issue Nov 16, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@liuxiaowei
Contributor

liuxiaowei commented Nov 16, 2018

版本号

3.5.2_dev

什么问题

下载过程中失败了一次,重试之后,然后重新下载后失败了

如何复现此问题

不是特别了解,貌似网络不是很好我这

手机型号

oppo R9

控制台日志(越完整越好)

11-16 14:12:55.822 20869-20869/com.arialyy.simple D/DebugDB: Open http://192.168.3.242:8080 in your browser
11-16 14:12:56.123 20869-20869/com.arialyy.simple W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
11-16 14:12:56.232 20869-21040/com.arialyy.simple D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
11-16 14:12:56.284 20869-21040/com.arialyy.simple I/Adreno: QUALCOMM build : 0a679f1, Icb4b19cf1b
Build Date : 03/06/17
OpenGL ES Shader Compiler Version: XE031.08.00.00
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.5.3.C4.06.00.01.272.032
Remote Branch : NONE
Reconstruct Branch : NOTHING
11-16 14:12:56.289 20869-21040/com.arialyy.simple I/OpenGLRenderer: Initialized EGL, version 1.4
11-16 14:12:56.336 20869-20869/com.arialyy.simple W/art: Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
11-16 14:13:08.938 20869-20869/com.arialyy.simple D/BaseCachePool: 任务【ggsg9.apk】进入缓存队列成功
11-16 14:13:08.940 20869-20869/com.arialyy.simple D/BaseExecutePool: 任务【ggsg9.apk】进入执行队列成功
11-16 14:13:08.985 20869-21077/com.arialyy.simple I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor
11-16 14:13:08.988 20869-21077/com.arialyy.simple I/System.out: Not need to boost!
11-16 14:13:09.017 20869-21077/com.arialyy.simple D/libc-netbsd: [getaddrinfo]: hostname=vod.cn-healthcare.com; servname=(null); app_uid=10235; ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 from prox result 0
11-16 14:13:09.018 20869-21077/com.arialyy.simple I/System.out: [socket] connection vod.cn-healthcare.com/124.200.113.97:80;LocalPort=51949(5000)
11-16 14:13:09.287 20869-21082/com.arialyy.simple D/HttpThreadTask: 任务【ggsg9.apk.0.part】线程__0__开始下载【开始位置 : 0,结束位置:44711534】
11-16 14:13:09.287 20869-21083/com.arialyy.simple D/HttpThreadTask: 任务【ggsg9.apk.1.part】线程__1__开始下载【开始位置 : 44711534,结束位置:89423068】
11-16 14:13:09.289 20869-21083/com.arialyy.simple I/System.out: [socket] connection vod.cn-healthcare.com/124.200.113.97:80;LocalPort=58776(5000)
11-16 14:13:09.289 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:13:09.290 20869-21082/com.arialyy.simple I/System.out: [socket] connection vod.cn-healthcare.com/124.200.113.97:80;LocalPort=46144(5000)
11-16 14:13:09.290 20869-21084/com.arialyy.simple D/HttpThreadTask: 任务【ggsg9.apk.2.part】线程__2__开始下载【开始位置 : 89423068,结束位置:134134602】
11-16 14:13:09.293 20869-21084/com.arialyy.simple I/System.out: [socket] connection vod.cn-healthcare.com/124.200.113.97:80;LocalPort=46429(5000)
11-16 14:13:10.291 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
......
11-16 14:13:20.410 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:13:20.991 20869-21083/com.arialyy.simple E/AbsThreadTask: 下载失败【 http://vod.cn-healthcare.com/video_files/mp4/5623baa7bb7f4bd1ae4570c6e21a71aa-8ded5145-d451-494f-8c1f-bb4d41433142-LD.mp4?auth_key=1542433890-0-0-4b756913f3122c3959092532d5023ac4
ExceptionDetailed:
====================Exception Info====================
java.net.SocketTimeoutException
java.net.PlainSocketImpl.read(PlainSocketImpl.java:484)
java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
com.android.okhttp.okio.Okio$2.read(Okio.java:135)
com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:211)
com.android.okhttp.okio.RealBufferedSource.read(RealBufferedSource.java:50)
com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:418)
com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:349)
java.io.BufferedInputStream.read(BufferedInputStream.java:290)
java.io.InputStream.read(InputStream.java:162)
java.nio.channels.Channels$InputStreamChannel.read(Channels.java:306)
com.arialyy.aria.core.download.downloader.HttpThreadTask.readDynamicFile(HttpThreadTask.java:162)
com.arialyy.aria.core.download.downloader.HttpThreadTask.call(HttpThreadTask.java:110)
com.arialyy.aria.core.download.downloader.HttpThreadTask.call(HttpThreadTask.java:48)
java.util.concurrent.FutureTask.run(FutureTask.java:237)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
java.lang.Thread.run(Thread.java:818)
===================================================
11-16 14:13:21.020 20869-21083/com.arialyy.simple W/AbsThreadTask: 任务【ggsg9.apk.1.part】thread__1__正在重试
11-16 14:13:21.022 20869-21083/com.arialyy.simple I/AbsThreadTask: 修正分块【/storage/emulated/0/ggsg9.apk.1.part】进度,开始位置:44778064,当前进度:1180838
11-16 14:13:21.024 20869-21122/com.arialyy.simple D/HttpThreadTask: 任务【ggsg9.apk.1.part】线程__1__开始下载【开始位置 : 44778064,结束位置:89423068】
11-16 14:13:21.035 20869-21122/com.arialyy.simple D/libc-netbsd: [getaddrinfo]: hostname=vod.cn-healthcare.com; servname=(null); app_uid=10235; ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0 from prox result 0
11-16 14:13:21.037 20869-21122/com.arialyy.simple I/System.out: [socket] connection vod.cn-healthcare.com/124.200.113.97:80;LocalPort=59535(5000)
11-16 14:13:21.411 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
......
11-16 14:15:52.203 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:15:53.066 20869-21082/com.arialyy.simple I/HttpThreadTask: 任务【ggsg9.apk.0.part】线程__0__下载完毕
11-16 14:15:53.083 20869-21082/com.arialyy.simple D/StateConstance: fail_num=0; start_thread_num=3; complete_num=1
11-16 14:15:53.205 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:15:54.206 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:15:55.207 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:15:56.023 20869-21084/com.arialyy.simple I/HttpThreadTask: 任务【ggsg9.apk.2.part】线程__2__下载完毕
11-16 14:15:56.047 20869-21084/com.arialyy.simple D/StateConstance: fail_num=0; start_thread_num=3; complete_num=2
11-16 14:15:56.207 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
......
11-16 14:16:23.621 20869-20869/com.arialyy.simple D/SingleTaskActivity: com.arialyy.simple.download.SingleTaskActivity_running_1565411
11-16 14:16:24.336 20869-21122/com.arialyy.simple D/AbsThreadTask: currentLocation=134134898, fileSize=134134602
11-16 14:16:24.336 20869-21122/com.arialyy.simple E/AbsThreadTask: 下载失败,下载长度超出文件大小
11-16 14:16:24.361 20869-21122/com.arialyy.simple D/StateConstance: fail_num=1; start_thread_num=3; complete_num=2
11-16 14:16:24.362 20869-21122/com.arialyy.simple E/AbsThreadTask: 任务【ggsg9.apk.1.part】执行失败
11-16 14:16:24.447 20869-20869/com.arialyy.simple D/AbsTaskQueue: 从执行池删除任务【ggsg9.apk】成功
11-16 14:16:24.447 20869-20869/com.arialyy.simple D/AbsSchedulers: fail_next
11-16 14:16:24.449 20869-20869/com.arialyy.simple I/AbsSchedulers: 没有下一任务

@AriaLyy AriaLyy closed this Dec 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment