aliyunpan icon indicating copy to clipboard operation
aliyunpan copied to clipboard

上传文件失败 附debug日志

Open qiang-l opened this issue 3 years ago • 0 comments

日志

[2022-4-4 12:00:01.157] use config dir:  /path
[2022-4-4 12:00:01.159] use config dir:  /path
[2022-4-4 12:00:01.163] do request url: https://api.aliyundrive.com/v2/user/get
[2022-4-4 12:00:01.536] setup user error
[2022-4-4 12:00:01.536] do request url: https://auth.aliyundrive.com/v2/account/token
[2022-4-4 12:00:02.012] do request url: https://api.aliyundrive.com/v2/user/get
[2022-4-4 12:00:02.119] do request url: https://api.aliyundrive.com/v2/databox/get_personal_info
[2022-4-4 12:00:02.519] do request url: https://api.aliyundrive.com/v2/sbox/get
[2022-4-4 12:00:02.632] do request url: https://api.aliyundrive.com/adrive/v1/user/albums_info
[0] 当前文件上传最大并发量为: 10, 上传分片大小为: 10.00MB
[2022-4-4 12:00:02.734] do request url: https://api.aliyundrive.com/v2/file/list
[2022-4-4 12:00:02.965] do request url: https://api.aliyundrive.com/v2/file/list
[2022-4-4 12:00:03.056] use config dir:  /path
[1] 加入上传队列: /path/file.flv[1]
2022-04-04 12:00:22 准备上传: /path/file.flv => /path/file.flv
[2022-4-4 12:00:03.057] [1] 2022-04-04 12:00:22 准备结束, 准备耗时 0秒
[1] 2022-04-04 12:00:22 正在检测和创建云盘文件夹: /path
[2022-4-4 12:00:03.057] [1] 2022-04-04 12:00:22 创建云盘文件夹: /path
[2022-4-4 12:00:03.057] do request url: https://api.aliyundrive.com/adrive/v2/file/createWithFolders
[2022-4-4 12:00:03.302] [1] 2022-04-04 12:00:22 创建云盘文件夹, 耗时 0秒
[2022-4-4 12:00:03.302] [1] 2022-04-04 12:00:22 检测和创建云盘文件夹完毕, 耗时 0秒
[1] 2022-04-04 12:00:22 正在计算文件SHA1: /path/file.flv
[2022-4-4 12:00:04.217] do request url: https://api.aliyundrive.com/adrive/v2/file/createWithFolders
[1] 2022-04-04 12:00:22 检测秒传中, 请稍候...
[1] 2022-04-04 12:00:22 秒传失败,开始正常上传文件
[2022-4-4 12:00:04.370] DEBUG: UPLOADER INFO: upload task CREATED: block size: 10485760, num: 11
[2022-4-4 12:00:04.370] DEBUG: UPLOADER INFO: begin to upload part: 0
[2022-4-4 12:00:04.370] do request url: https://bj29.cn-beijing.data.alicloudccp.com/xxx?partNumber=1&uploadId=xxx&x-oss-access-key-id=xxx&x-oss-expires=1649048404&x-oss-signature=xxx&x-oss-signature-version=OSS2
[1] ↑ 1.62MB/108.60MB 2.66MB/s(2.66MB/s) in 1s ............
[2022-4-4 12:01:18.638] upload file data chunk error  UploadErrorTerminate
[2022-4-4 12:01:18.638] DEBUG: UPLOADER INFO: multiUpload worker upload file done
[1] 2022-04-04 12:01:22 文件上传结果:  耗时 1分15秒

上传结束, 时间: 1分15秒, 数据总量: 0B
以下文件上传失败:
  1  /path/file.flv

补充说明

  1. 上面的报错是在1M的服务器上运行得到的结果日志
  2. 目前是大、小文件上传都可能失败 ,重新执行任务后就会续传成功
  3. 目前失败有近10次,但只有一次返回code不是0,其余都是0,很难用shell推送失败通知

qiang-l avatar Apr 04 '22 13:04 qiang-l