cloudpan189-go
cloudpan189-go copied to clipboard
上传大文件(8G或者以上)时候会反复上传
上传一个文件,用--norapid参数 到8G/8G的时候 立刻从头开始。反复上传,但是云盘里并没有这个文件。上传线程数默认
我直接用的命令行 cloudpan189-go.exe u --norapid **** /
你登陆的账号是会员么,我怀疑不允许上传这么大的单个文件😹
看能不能开debug日志,贴上来
你登陆的账号是会员么,我怀疑不允许上传这么大的单个文件😹
是会员,之前是没问题的。不知道是不是服务端那边做了改动。debug忘了开。囧。因为这两天才碰到没想过这个问题。另外就是比较诡异的情况就是,就算他上传到8G/8G这种状态,然后又重新开始10M/8G,天翼软件家庭共享和个人网盘都没有这个文件。然后我把文件用客户端上传。居然秒传??今天出现一次我上传电影,默认是个人网盘,非家庭共享,但是打开天翼的软件发现文件上传到了家庭共享那边去了……
看能不能开debug日志,贴上来
debug没打印日志出来?!
先设置环境变量 CLOUD189_VERBOSE=1 再执行命令就可以打印调试日志
@tickstep 有没有可能这儿有问题,溢出了?之前瞟了一眼cloudpan189-api看到的。
@tickstep 有没有可能这儿有问题,溢出了?之前瞟了一眼cloudpan189-api看到的。
你是在什么环境下用的?树莓派?32位系统么? 这里写的确实有点问题,兼容性差了些。
@tickstep 有没有可能这儿有问题,溢出了?之前瞟了一眼cloudpan189-api看到的。
你是在什么环境下用的?树莓派?32位系统么? 这里写的确实有点问题,兼容性差了些。
嗯 arm7 的安卓盒子
@tickstep 有没有可能这儿有问题,溢出了?之前瞟了一眼cloudpan189-api看到的。
你是在什么环境下用的?树莓派?32位系统么?
这里写的确实有点问题,兼容性差了些。
嗯 arm7 的安卓盒子
😂还真有这可能,你用的那个包?linux arm那个?知道盒子安卓是几位系统么?32还是64?
@tickstep 有没有可能这儿有问题,溢出了?之前瞟了一眼cloudpan189-api看到的。
你是在什么环境下用的?树莓派?32位系统么?
这里写的确实有点问题,兼容性差了些。
嗯 arm7 的安卓盒子
还真有这可能,你用的那个包?linux arm那个?知道盒子安卓是几位系统么?32还是64?
arm7 就是32位的 楼主的问题不确定是不是这个问题。
先设置环境变量 CLOUD189_VERBOSE=1 再执行命令就可以打印调试日志
恕我愚钝 今天把win10变量添加这一项 但是还是没日志呀
CLOUD189_VERBOSE=1
C:\Users\tickstep>set CLOUD189_VERBOSE=1
C:\Users\tickstep>C:\Users\tickstep\Documents\cloudpan189\cloudpan189-go.exe [2020-11-15 17:33:11.505] do request url: https://cloud.189.cn/v2/listFiles.action?fileId=-11&mediaType=&keyword=&inGroupSpace=false&orderBy=1&order=ASC&pageNum=1&pageSize=60 [2020-11-15 17:33:11.595] do request url: https://cloud.189.cn/v2/listFiles.action?fileId=91463310583837446&mediaType=&keyword=&inGroupSpace=false&orderBy=1&order=ASC&pageNum=1&pageSize=60 [2020-11-15 17:33:11.684] VERBOSE: 这是一条调试信息
提示: 方向键上下可切换历史命令. 提示: Ctrl + A / E 跳转命令 首 / 尾. 提示: 输入 help 获取帮助. cloudpan189-go:k9 tickstep$ ls [2020-11-15 17:33:15.531] do request url: https://cloud.189.cn/v2/listFiles.action?fileId=-11&mediaType=&keyword=&inGroupSpace=false&orderBy=1&order=ASC&pageNum=1&pageSize=60 [2020-11-15 17:33:15.704] do request url: https://cloud.189.cn/v2/listFiles.action?fileId=91463310583837446&mediaType=&keyword=&inGroupSpace=false&orderBy=1&order=ASC&pageNum=1&pageSize=60 [2020-11-15 17:33:15.809] do request url: https://cloud.189.cn/v2/listFiles.action?fileId=41301310727377935&mediaType=&keyword=&inGroupSpace=false&orderBy=3&order=ASC&pageNum=1&pageSize=60
文件大小 修改日期 文件(目录)
0 - 2020-08-09 21:35:34 v1/ 1 - 2020-08-09 21:39:33 t/ 2 13.11KB 2020-08-09 21:39:08 1.mp4 总: 13.11KB 文件总数: 1, 目录总数: 2
先确认是否已经开启ebug,可以先使用 ls 命令,看看有没有上面类似的日志出来,如果有就已经开debug了 如果开了debug也没有日志,哪就是应该这个步骤没有埋debug日志了。
你登陆的账号是会员么,我怀疑不允许上传这么大的单个文件😹
不是会员有啥限制么,我上传1个40g的文件也卡在一直上传。
你登陆的账号是会员么,我怀疑不允许上传这么大的单个文件😹
不是会员有啥限制么,我上传1个40g的文件也卡在一直上传。
我有会员啊
the log i get(pinyin huai le ):
first time upload:
danny@danny-Haier:~/tools/cloudpan189-go-v0.0.9-linux-amd64$ /home/danny/tools/cloudpan189-go-v0.0.9-linux-amd64/cloudpan189-go upload --norapid ~/dd/recording/2021-01-15-002.mp4 /recording/
[2021-1-17 08:45:10.820] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20
0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=59605_7689150354
[2021-1-17 08:45:10.977] response: <?xml version="1.0" encoding="UTF-8"?>
<listFiles><lastRev>20210117084510</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><
lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate>
2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id>
<parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</file
Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:0
7</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:13:07</createDa
te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name
>我的应用</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata><
/folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime>
<rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles>
[1] 加入上传队列: /home/danny/dd/recording/2021-01-15-002.mp4
[1] 准备上传: /home/danny/dd/recording/2021-01-15-002.mp4
[2021-1-17 08:45:21.111] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20
0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=87407_4102015310
[2021-1-17 08:45:21.153] response: <?xml version="1.0" encoding="UTF-8"?>
<listFiles><lastRev>20210117084521</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><
lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate>
2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id>
<parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</file
Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:3
0</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:18:30</createDa
te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name
>我的应用</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>1</fileCata><
/folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime>
<rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles>
[2021-1-17 08:45:23.155] do request url: https://api.cloud.189.cn/createUploadFile.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=78060_3110532914
[2021-1-17 08:45:23.327] response: <?xml version="1.0" encoding="UTF-8"?>
<uploadFile><uploadFileId>1455316100369232676</uploadFileId><fileUploadUrl>https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action</fileUploadUrl><fileCommitUrl>https://hd02.upload.cloud.189.cn/d
ciClientCommit.action</fileCommitUrl><fileDataExists>0</fileDataExists></uploadFile>
[2021-1-17 08:45:23.327] DEBUG: UPLOADER INFO: upload task CREATED: block size: 563873304, num: 1
[2021-1-17 08:45:23.327] DEBUG: UPLOADER INFO: begin to upload part: 0
[2021-1-17 08:45:23.327] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=40009_5491490954
[1] ↑ 537.75MB/537.75MB 0B/s in 8m10s ............[2021-1-17 08:53:33.662] AppUploadFileData occurs error: Put "https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=
6.2&channelId=web_cloud.189.cn&rand=40009_5491490954": net/http: timeout awaiting response headers
[2021-1-17 08:53:33.662] DEBUG: UPLOADER INFO: multiUpload worker upload file done
[2021-1-17 08:53:33.663] DEBUG: UPLOADER WARN: upload err: Put "https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=40009_5491490
954": net/http: timeout awaiting response headers, id: 0
[2021-1-17 08:53:33.663] DEBUG: UPLOADER INFO: begin to upload part: 0
[2021-1-17 08:53:33.663] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=11209_4086824825
[1] ↑ 537.75MB/537.75MB 961.56KB/s in 10m28s ............[2021-1-17 08:55:51.606] DEBUG: UPLOADER INFO: multiUpload worker upload file done
[2021-1-17 08:55:51.606] do request url: https://hd02.upload.cloud.189.cn/dciClientCommit.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=62962_8533957560
[2021-1-17 08:55:51.675] response: <?xml version="1.0" encoding="UTF-8"?><error>
<code>UploadFileStatusVerifyFailed</code>
<message>commit4DCIClient() - requestId=22C8DA01-BCF1-47E9-99D5-311D2D41D8CC, sessionKey=2fcfb03b-e72d-4c7c-bb05-58cae502c746, uploadFileId=1455316100369232676, fileStatus=0, the upload data is not completed. ,B6DD7224C0CD4B18EA963EE326F8814CBA1ED7FB16ED97784ACD1A0771655E66F822978C41E623386D36D3CDB589421BE5FCBF7270CEA28F147B7E6E76FC66D7987831AA72862D44</message>
</error>
[2021-1-17 08:55:51.675] DEBUG: UPLOADER WARN: upload file commit failed: 上传文件校验失败
[1] 上传文件失败, 上传文件校验失败
上传结束, 时间: 10m40.691s, 总大小: 0B
以下文件上传失败:
1 /home/danny/dd/recording/2021-01-15-002.mp4
second try success immediately :
danny@danny-Haier:~/tools/cloudpan189-go-v0.0.9-linux-amd64$ /home/danny/tools/cloudpan189-go-v0.0.9-linux-amd64/cloudpan189-go upload --norapid ~/dd/recording/2021-01-15-002.mp4 /recording/
[2021-1-17 09:00:38.866] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20
0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=96749_1123789174
[2021-1-17 09:00:39.008] response: <?xml version="1.0" encoding="UTF-8"?>
<listFiles><lastRev>20210117090038</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><
lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate>
2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id>
<parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</file
Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:0
7</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:13:07</createDa
te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name
>我的应用</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata><
/folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime>
<rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles>
[1] 加入上传队列: /home/danny/dd/recording/2021-01-15-002.mp4
[1] 准备上传: /home/danny/dd/recording/2021-01-15-002.mp4
[2021-1-17 09:00:39.017] do request url: https://api.cloud.189.cn/getUploadFileStatus.action?uploadFileId=1455316100369232676&ResumePolicy=1&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&ra
nd=60284_6658891589
[2021-1-17 09:00:39.106] DEBUG: UPLOADER INFO: upload task CREATED from instance state
[2021-1-17 09:00:39.106] DEBUG: UPLOADER INFO: begin to upload part: 0
[2021-1-17 09:00:39.107] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=98817_4940162985
[1] ↑ 3.75MB/537.75MB 0B/s in 3s ............[2021-1-17 09:00:42.695] DEBUG: UPLOADER INFO: multiUpload worker upload file done
[2021-1-17 09:00:42.695] do request url: https://hd02.upload.cloud.189.cn/dciClientCommit.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=42462_3710526627
[2021-1-17 09:00:42.914] response: <?xml version="1.0" encoding="UTF-8"?><file>
<id>61400212493838048</id>
<name>2021-01-15-002.mp4</name>
<size>563873304</size>
<md5>0cd59e733ed54e40bab58094b74a6f97</md5> <createDate>2021-01-17 08:45:23</createDate>
<rev>20210117084523</rev>
<userId>813531158</userId>
<requestId>22C8DA01-BCF1-47E9-99D5-311D2D41D8CC</requestId>
<isSafe>2</isSafe>
</file>
[1] 上传文件成功, 保存到网盘路径: /recording/2021-01-15-002.mp4
上传结束, 时间: 3.898s, 总大小: 537.751488MB
the log i get(pinyin huai le ):
first time upload:
danny@danny-Haier:~/tools/cloudpan189-go-v0.0.9-linux-amd64$ /home/danny/tools/cloudpan189-go-v0.0.9-linux-amd64/cloudpan189-go upload --norapid ~/dd/recording/2021-01-15-002.mp4 /recording/ [2021-1-17 08:45:10.820] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20 0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=59605_7689150354 [2021-1-17 08:45:10.977] response: <?xml version="1.0" encoding="UTF-8"?> <listFiles><lastRev>20210117084510</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel>< lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate> 2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id> <parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</file Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:0 7</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:13:07</createDa te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name >我的应用</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata>< /folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime> <rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles> [1] 加入上传队列: /home/danny/dd/recording/2021-01-15-002.mp4 [1] 准备上传: /home/danny/dd/recording/2021-01-15-002.mp4 [2021-1-17 08:45:21.111] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20 0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=87407_4102015310 [2021-1-17 08:45:21.153] response: <?xml version="1.0" encoding="UTF-8"?> <listFiles><lastRev>20210117084521</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel>< lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate> 2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id> <parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</file Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:3 0</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:18:30</createDa te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name >我的应用</name><createDate>2021-01-13 00:18:30</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:18:30</lastOpTime><rev>20210113001830</rev><fileCount>0</fileCount><fileCata>1</fileCata>< /folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime> <rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles> [2021-1-17 08:45:23.155] do request url: https://api.cloud.189.cn/createUploadFile.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=78060_3110532914 [2021-1-17 08:45:23.327] response: <?xml version="1.0" encoding="UTF-8"?> <uploadFile><uploadFileId>1455316100369232676</uploadFileId><fileUploadUrl>https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action</fileUploadUrl><fileCommitUrl>https://hd02.upload.cloud.189.cn/d ciClientCommit.action</fileCommitUrl><fileDataExists>0</fileDataExists></uploadFile> [2021-1-17 08:45:23.327] DEBUG: UPLOADER INFO: upload task CREATED: block size: 563873304, num: 1 [2021-1-17 08:45:23.327] DEBUG: UPLOADER INFO: begin to upload part: 0 [2021-1-17 08:45:23.327] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=40009_5491490954 [1] ↑ 537.75MB/537.75MB 0B/s in 8m10s ............[2021-1-17 08:53:33.662] AppUploadFileData occurs error: Put "https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version= 6.2&channelId=web_cloud.189.cn&rand=40009_5491490954": net/http: timeout awaiting response headers [2021-1-17 08:53:33.662] DEBUG: UPLOADER INFO: multiUpload worker upload file done [2021-1-17 08:53:33.663] DEBUG: UPLOADER WARN: upload err: Put "https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=40009_5491490 954": net/http: timeout awaiting response headers, id: 0 [2021-1-17 08:53:33.663] DEBUG: UPLOADER INFO: begin to upload part: 0 [2021-1-17 08:53:33.663] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=11209_4086824825 [1] ↑ 537.75MB/537.75MB 961.56KB/s in 10m28s ............[2021-1-17 08:55:51.606] DEBUG: UPLOADER INFO: multiUpload worker upload file done [2021-1-17 08:55:51.606] do request url: https://hd02.upload.cloud.189.cn/dciClientCommit.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=62962_8533957560 [2021-1-17 08:55:51.675] response: <?xml version="1.0" encoding="UTF-8"?><error> <code>UploadFileStatusVerifyFailed</code> <message>commit4DCIClient() - requestId=22C8DA01-BCF1-47E9-99D5-311D2D41D8CC, sessionKey=2fcfb03b-e72d-4c7c-bb05-58cae502c746, uploadFileId=1455316100369232676, fileStatus=0, the upload data is not completed. ,B6DD7224C0CD4B18EA963EE326F8814CBA1ED7FB16ED97784ACD1A0771655E66F822978C41E623386D36D3CDB589421BE5FCBF7270CEA28F147B7E6E76FC66D7987831AA72862D44</message> </error> [2021-1-17 08:55:51.675] DEBUG: UPLOADER WARN: upload file commit failed: 上传文件校验失败 [1] 上传文件失败, 上传文件校验失败 上传结束, 时间: 10m40.691s, 总大小: 0B 以下文件上传失败: 1 /home/danny/dd/recording/2021-01-15-002.mp4second try success immediately :
danny@danny-Haier:~/tools/cloudpan189-go-v0.0.9-linux-amd64$ /home/danny/tools/cloudpan189-go-v0.0.9-linux-amd64/cloudpan189-go upload --norapid ~/dd/recording/2021-01-15-002.mp4 /recording/ [2021-1-17 09:00:38.866] do request url: https://api.cloud.189.cn/listFiles.action?folderId=-11&recursive=0&fileType=0&iconOption=10&mediaAttr=0&orderBy=filename&descending=false&pageNum=1&pageSize=20 0&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=96749_1123789174 [2021-1-17 09:00:39.008] response: <?xml version="1.0" encoding="UTF-8"?> <listFiles><lastRev>20210117090038</lastRev><fileList><count>7</count><folder><id>0</id><parentId>-11</parentId><name>同步盘</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel>< lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>0</fileCata></folder><folder><id>-12</id><parentId>-11</parentId><name>我的图片</name><createDate> 2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-14</id> <parentId>-11</parentId><name>我的音乐</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</file Count><fileCata>1</fileCata></folder><folder><id>-13</id><parentId>-11</parentId><name>我的视频</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:0 7</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata></folder><folder><id>-15</id><parentId>-11</parentId><name>我的文档</name><createDate>2021-01-13 00:13:07</createDa te><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>1</fileCount><fileCata>1</fileCata></folder><folder><id>-16</id><parentId>-11</parentId><name >我的应用</name><createDate>2021-01-13 00:13:07</createDate><starLabel>2</starLabel><lastOpTime>2021-01-13 00:13:07</lastOpTime><rev>20210113001307</rev><fileCount>0</fileCount><fileCata>1</fileCata>< /folder><folder><id>61403112490956731</id><parentId>-11</parentId><name>recording</name><createDate>2021-01-16 18:01:50</createDate><starLabel>2</starLabel><lastOpTime>2021-01-16 21:45:16</lastOpTime> <rev>20210116214516</rev><fileCount>2</fileCount><fileCata>1</fileCata></folder></fileList></listFiles> [1] 加入上传队列: /home/danny/dd/recording/2021-01-15-002.mp4 [1] 准备上传: /home/danny/dd/recording/2021-01-15-002.mp4 [2021-1-17 09:00:39.017] do request url: https://api.cloud.189.cn/getUploadFileStatus.action?uploadFileId=1455316100369232676&ResumePolicy=1&clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&ra nd=60284_6658891589 [2021-1-17 09:00:39.106] DEBUG: UPLOADER INFO: upload task CREATED from instance state [2021-1-17 09:00:39.106] DEBUG: UPLOADER INFO: begin to upload part: 0 [2021-1-17 09:00:39.107] do request url: https://hd02.upload.cloud.189.cn/uploadDataClient4DCI.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=98817_4940162985 [1] ↑ 3.75MB/537.75MB 0B/s in 3s ............[2021-1-17 09:00:42.695] DEBUG: UPLOADER INFO: multiUpload worker upload file done [2021-1-17 09:00:42.695] do request url: https://hd02.upload.cloud.189.cn/dciClientCommit.action?clientType=TELEPC&version=6.2&channelId=web_cloud.189.cn&rand=42462_3710526627 [2021-1-17 09:00:42.914] response: <?xml version="1.0" encoding="UTF-8"?><file> <id>61400212493838048</id> <name>2021-01-15-002.mp4</name> <size>563873304</size> <md5>0cd59e733ed54e40bab58094b74a6f97</md5> <createDate>2021-01-17 08:45:23</createDate> <rev>20210117084523</rev> <userId>813531158</userId> <requestId>22C8DA01-BCF1-47E9-99D5-311D2D41D8CC</requestId> <isSafe>2</isSafe> </file> [1] 上传文件成功, 保存到网盘路径: /recording/2021-01-15-002.mp4 上传结束, 时间: 3.898s, 总大小: 537.751488MB
我提交这个issues之后 打开debug 现在也没重现我自己说的问题。郁闷死