lingochamp / lingochamp/FileDownloader

使用一段时间后下载就没响应了

Open
#1,283 3 comments 0 reactions 1 assignee View on GitHub

@rantianhua is already working on this.

Since Sep 29, 2019.

question
Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

app安装在设备上一段时间后,下载就失效了。
start后没有任何反应,app kill掉在启动也不行,非要重启设备在可以
日志如下(url做了脱敏处理,公司要查):
09-27 10:28:39.977 32514-32586/com.xxx.wisdom D/FileDownloader.DownloadTask: setPath /storage/emulated/0/.msp/downTemp/ZZ_CbjGrAZYgf3sWj9WNTeLcqlw2RuXbasM.png
09-27 10:28:39.978 32514-32586/com.xxx.wisdom D/FileDownloader.DownloadTask: setListener com.xxx.xxxx.plugin.web.js.async.DownloadAsyncPlugin$1@34429c9b
09-27 10:28:39.978 32514-32586/com.xxx.wisdom V/FileDownloader.DownloadTaskHunter: call start Url[http://xxxx/company/downloadFileById?fileName=ZZ_CbjGrAZYgf3sWj9WNTeLcqlw2RuXbasM.png&fileID=group1/M00/00/00/rCAEyV2MlWGIUjBDAAfDrKm-ktsAABl1AgkjmIAB8PE304.png], Path[/storage/emulated/0/.msp/downTemp/ZZ_CbjGrAZYgf3sWj9WNTeLcqlw2RuXbasM.png] Listener[com.xxx.xxxx.plugin.web.js.async.DownloadAsyncPlugin$1@34429c9b], Tag[null]
09-27 10:28:39.988 32514-32586/com.xxx.wisdom V/FileDownloader.DownloadTaskHunter: the task[1258313744] has been into the launch pool.
09-27 10:28:39.994 32514-32586/com.xxx.wisdom D/FileDownloader.DownloadTask: setPath /storage/emulated/0/.msp/downTemp/ZZ_CST6Bw218m6sysiy8W2DripPljQmCnNe.png
09-27 10:28:39.994 32514-32586/com.xxx.wisdom D/FileDownloader.DownloadTask: setListener com.xxx.xxxx.plugin.web.js.async.DownloadAsyncPlugin$1@25799011
09-27 10:28:39.994 32514-32586/com.xxx.wisdom V/FileDownloader.DownloadTaskHunter: call start Url[http://xxxxx/company/downloadFileById?fileName=ZZ_CST6Bw218m6sysiy8W2DripPljQmCnNe.png&fileID=group1/M00/00/00/rCAEyV2Mk3SIBZY7AAdnOUqQMSkAABl1AhI_j8AB2dR047.png], Path[/storage/emulated/0/.msp/downTemp/ZZ_CST6Bw218m6sysiy8W2DripPljQmCnNe.png] Listener[com.xxx.xxxx.plugin.web.js.async.DownloadAsyncPlugin$1@25799011], Tag[null]
09-27 10:28:39.997 32514-32586/com.xxx.wisdom V/FileDownloader.DownloadTaskHunter: the task[-947079075] has been into the launch pool.
09-27 10:28:40.001 32514-360/com.xxx.wisdom D/FileDownloader.FileDownloadProperties: not found filedownloader.properties
09-27 10:28:40.002 32514-360/com.xxx.wisdom I/FileDownloader.FileDownloadProperties: init properties 3
load properties: http.lenient=FALSE; process.non-separate=FALSE; download.min-progress-step=65536; download.min-progress-time=2000; download.max-network-thread-count=3; file.non-pre-allocation=FALSE; broadcast.completed=FALSE; download.trial-connection-head-method=FALSE
09-27 10:28:40.004 32514-353/com.xxx.wisdom V/FileDownloader.FileDownloadEventPool: setListener event.service.connect.changed
09-27 10:28:40.022 32514-360/com.xxx.wisdom D/FileDownloader.LostServiceConnectedHandler: Waiting for connecting with the downloader service... -947079075

--------- beginning of system
09-27 10:28:40.026 32514-360/com.xxx.wisdom D/FileDownloader.FileDownloadServiceUIGuard: bindStartByContext MSPApplication
09-27 10:28:40.032 32514-360/com.xxx.wisdom D/FileDownloader.DownloadTaskHunter: free the task -947079075, when the status is 10
09-27 10:28:40.033 32514-353/com.xxx.wisdom D/FileDownloader.LostServiceConnectedHandler: Waiting for connecting with the downloader service... 1258313744
09-27 10:28:40.034 32514-353/com.xxx.wisdom D/FileDownloader.FileDownloadServiceUIGuard: bindStartByContext MSPApplication
09-27 10:28:40.037 32514-353/com.xxx.wisdom D/FileDownloader.DownloadTaskHunter: free the task 1258313744, when the status is 10

后面就没有了任何反应了。非要重启设备或者重新安装app才行

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.