Closed TrumanZYX closed 2 years ago
目前测试CLI工作正常,如有问题请提供问题描述和复现步骤。
我使用的是代码,使用了登陆的功能,其中我这里的线程设置了128,同时单个文件大小为13G,由于加入--hash会导致错误,所以没有加入--hash
最后得到的结果是
可以把使用的命令发一下吗。*记得去掉敏感信息
另:加入--hash
可以保证上传正常完成,如果上传不能正常完成则会重试(或失败。
加入--hash之后会导致停留在11.58G左右一直不动 代码是:cowtransfer -c "remember-mev2=XXX;" -a "xxxxx" -p 128 H0015_LA_S1_results.7z 还有一个问题就是 remember-mev2是什么呢?网页找不到
remember-mev2这个参数有可能已经改名了,可以试试直接把整个cookie传递给-c
.
我使用了相应的参数,发现确实还是不行 [ H0015_LA_S1_results.7z ] 传输链接:https://zhuyuexin96.cowtransfer.com/s/94eb62733b2b47 或 打开【奶牛快传】cowtransfer.com 使用传输口令:5zngs6 提取; 上面是我分享的数据,我找了客服,客服说这个就是上传显示成功,但是实际上相应的文件没有上传。
有可能与超大文件传输出错有关,正在进行相关测试。请问可以提供一下日志吗?
使用以下方法生成日志
./cowtransfer-uploader -v ... <filename>
2021/11/16 21:54:10 config = &{token: parallel:3 interval:15 prefix:. debugMode:true singleMode:false version:false keepMode:false authCode: blockSize:1200000 hashCheck:false passCode: silentMode:false validDays:1} 2021/11/16 21:54:10 files = [H0015_LA_S1_results.7z] 2021/11/16 21:54:10 retrying: 0 2021/11/16 21:54:10 postBody: map[totalSize:23108266557 validDays:1] 2021/11/16 21:54:10 endpoint: https://cowtransfer.com/api/transfer/preparesend 2021/11/16 21:54:10 map[Authorization:[] Content-Type:[multipart/form-data;boundary=729c7ab07666877380fb842b8f3dc2195009e8cd27c387cd115a95259187] Cookie:[] Referer:[https://cowtransfer.com/]] 2021/11/16 21:54:10 returns: {"error_message":"The rights of the current user type are illegal","error":true} getSendConfig returns error: The rights of the current user type are illegal, onfile: H0015_LA_S1_results.7z
看起来貌似是…在执行命令的时候没有使用-a
和-c
指定用户信息导致无法上传大文件。
在使用登录用户的情况下再输出一次日志吧
./cowtransfer-uploader -v -c <用户cookies> -a <Authorization Headers的值> <filename>
记得贴日志的时候把敏感信息去掉
2021/11/16 22:05:12 config = &{token:remember-mev2=... parallel:3 interval:15 prefix:. debugMode:true singleMode:false version:false keepMode:false authCode... blockSize:1200000 hashCheck:false passCode: silentMode:false validDays:1} 2021/11/16 22:05:12 files = [H0015_LAsS1_results.7z] H0015_LAsS1_results.7z not found @.***:~/t8/nature_heart/raw_1$ cowtransfer -v -c "remember-mev2=..;" -a "..." H0015_LA_S1_results.7z 2021/11/16 22:06:37 config = &{token:remember-mev2=...; parallel:3 interval:15 prefix:. debugMode:true singleMode:false version:false keepMode:false authCode:... blockSize:1200000 hashCheck:false passCode: silentMode:false validDays:1} 2021/11/16 22:06:37 files = [H0015_LA_S1_results.7z] 2021/11/16 22:06:37 retrying: 0 2021/11/16 22:06:37 postBody: map[totalSize:23108266557 validDays:1] 2021/11/16 22:06:37 endpoint: https://cowtransfer.com/api/transfer/preparesend 2021/11/16 22:06:37 map[Authorization:[...] Content-Type:[multipart/form-data;boundary=0135b4ecc15f0efc89510e4c3bc5fad0a42b71a5b0811e225e5c901c362a] Cookie:[remember-mev2=...; cow-auth-token=...] Referer:[https://cowtransfer.com/]] 2021/11/16 22:06:38 returns: {"error_message":"","uptoken":"rkrC3sADAVnBtSQ_YTQgxi-3TEVapbu6rxmtmg0v:AAG7KSOkB9g9Njrner-aQUmZTi8=:eyJzY29wZSI6ImNvd3RyYW5zZmVyLXl6IiwiZGVhZGxpbmUiOjE2MzczMzA3OTh9","transferguid":"eb126d91-66a4-4b6e-b168-3e6eb0dc8389","uniqueurl":"https://zhuyuexin96.cowtransfer.com/s/eb126d9166a44b","prefix":"QN_FOG_9f7055ab-a06b-4609-aa77-58d3c7131031","qrcode":"iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9AQAAAACn+1GIAAABZ0lEQVR42t3Vu43DMAwGYBoq3DkLCNAa6rSSs4AfC9grudMaArSA3bEwzPuFS+5yzYlpYxiG9RUKTZEMyd+L6aOAiUJeOVGbiJQgl88X9uKMdx2kLsjisUeevBq8maNZ6B0Ibvf2HvWASG1H+QovoVeAyOel3L8JqkC5aGjPO78cw//A1JHtW7OUYHUg7hD85omPu0gJ1OPLSv7SY48qcF43wb2TxYmpQMwezBTMEtwsOmC3ChJ/9m2WTQdie2+bzQkbiVoYI40x3QXHqwOWKaQ+GJHzFpVgGxSpx8ocmw5EUJ4XuSXkI+qAZWXskefonpHWQNKAbgtltUYdcGrElOdP6HXIE1HX5hXVF5WQxngOdJaRE5SA80njRgNRwzoojWZmPseSGB2UzjY7CUbOIx91kAtFzaknmVolYLBhFuKs6CZ6yN8Vt74BFqsJo7pVQmm4ISDl6FclIB9oIDtuzzqtwgf/334By5CTgXsi2GoAAAAASUVORK5CYII=","error":false,"expireAt":"2021-11-17"} Destination: https://zhuyuexin96.cowtransfer.com/s/eb126d9166a44b Local: H0015_LA_S1_results.7z 2021/11/16 22:06:38 retrieving file info... 2021/11/16 22:06:38 retrieving upload config... 2021/11/16 22:06:38 step 2/2 -> beforeUpload 2021/11/16 22:06:38 retrying: 0 2021/11/16 22:06:38 postBody: map[fileId: fileName:H0015_LA_S1_results.7z fileSize:23108266557 originalName:H0015_LA_S1_results.7z storagePrefix:QN_FOG_9f7055ab-a06b-4609-aa77-58d3c7131031 transferGuid:eb126d91-66a4-4b6e-b168-3e6eb0dc8389 type:] 2021/11/16 22:06:38 endpoint: https://cowtransfer.com/api/transfer/beforeupload 2021/11/16 22:06:38 map[Authorization:[...] Content-Type:[multipart/form-data;boundary=8e1ba332301b85babe3394d9eac1148093afe3bf7c649e68807b7c077153] Cookie:[remember-mev2=...;; cow-auth-token=...E] Referer:[https://cowtransfer.com/]] 2021/11/16 22:06:38 returns: {"fileGuid":"4e832e00-5093-4b65-bb34-bd93d79e1a67"} 2021/11/16 22:06:38 endpoint: https://upload-fog-cn-east-1.qiniup.com/buckets/cowtransfer-yz/objects/UU5fRk9HXzlmNzA1NWFiLWEwNmItNDYwOS1hYTc3LTU4ZDNjNzEzMTAzMS9lYjEyNmQ5MS02NmE0LTRiNmUtYjE2OC0zZTZlYjBkYzgzODkvSDAwMTVfTEFfUzFfcmVzdWx0cy43eg==/uploads 2021/11/16 22:06:38 map[Authorization:[UpToken rkrC3sADAVnBtSQ_YTQgxi-3TEVapbu6rxmtmg0v:AAG7KSOkB9g9Njrner-aQUmZTi8=:eyJzY29wZSI6ImNvd3RyYW5zZmVyLXl6IiwiZGVhZGxpbmUiOjE2MzczMzA3OTh9] Content-Type:[application/octet-stream] Referer:[https://cowtransfer.com/]] 2021/11/16 22:06:48 do request returns error: Post "https://upload-fog-cn-east-1.qiniup.com/buckets/cowtransfer-yz/objects/UU5fRk9HXzlmNzA1NWFiLWEwNmItNDYwOS1hYTc3LTU4ZDNjNzEzMTAzMS9lYjEyNmQ5MS02NmE0LTRiNmUtYjE2OC0zZTZlYjBkYzgzODkvSDAwMTVfTEFfUzFfcmVzdWx0cy43eg==/uploads": net/http: TLS handshake timeout upload returns error: getUploadConfig returns error: Post "https://upload-fog-cn-east-1.qiniup.com/buckets/cowtransfer-yz/objects/UU5fRk9HXzlmNzA1NWFiLWEwNmItNDYwOS1hYTc3LTU4ZDNjNzEzMTAzMS9lYjEyNmQ5MS02NmE0LTRiNmUtYjE2OC0zZTZlYjBkYzgzODkvSDAwMTVfTEFfUzFfcmVzdWx0cy43eg==/uploads": net/http: TLS handshake timeout, onfile: H0015_LA_S1_results.7z2021/11/16 22:06:48 step3 -> api/completeUpload 2021/11/16 22:06:48 retrying: 0 2021/11/16 22:06:48 postBody: map[fileId: transferGuid:eb126d91-66a4-4b6e-b168-3e6eb0dc8389] 2021/11/16 22:06:48 endpoint: https://cowtransfer.com/api/transfer/complete 2021/11/16 22:06:48 map[Authorization:[e...] Content-Type:[multipart/form-data;boundary=1f7b7f60609308051d14e9aaa00f6ef5d5d5eec33166ad3e621d46851139] Cookie:[remember-mev2=b0...;; cow-auth-token=ey...dE] Referer:[https://cowtransfer.com/]] 2021/11/16 22:06:48 returns: {"tempDownloadCode":"0rt4zc","complete":true} Short Download Code: 0rt4zc
net/http: TLS handshake timeout 表明可能客户端与上传服务器的连接情况不佳。建议在使用--hash
下多次尝试上传。
可以在本地使用ping upload-fog-cn-east-1.qiniup.com
以确定到服务器的延迟
PING fog-cn-east-1-gate-up.qiniu.com (180.119.121.130) 56(84) bytes of data. From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=1 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=2 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=3 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=4 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=5 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=6 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=8 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=9 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=10 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=11 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=12 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=13 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=14 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=15 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=16 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=17 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=18 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=19 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=20 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=21 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=22 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=23 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=24 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=25 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=26 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=27 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=28 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=29 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=30 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=31 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=32 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=33 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=35 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=38 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=39 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=40 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=41 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=42 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=43 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=44 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=45 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=47 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=48 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=49 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=50 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=51 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=53 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=54 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=55 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=56 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=57 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=58 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=59 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=60 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=61 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=62 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=63 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=64 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=65 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=67 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=68 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=69 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=70 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=71 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=73 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=74 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=75 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=76 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=77 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=78 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=79 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=80 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=81 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=82 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=83 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=84 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=85 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=86 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=87 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=88 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=89 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=90 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=91 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=94 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=95 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=96 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=97 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=98 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=99 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=100 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=101 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=102 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=103 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=104 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=106 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=107 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=108 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=109 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=110 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=111 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=112 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=113 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=114 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=115 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=116 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=117 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=118 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=119 Destination Host Unreachable From 9.254.34.58.broad.xw.sh.dynamic.163data.com.cn (58.34.254.9) icmp_seq=120 Destination Host Unreachable
本地环境可能有DNS或者路由问题。以下提供一个临时的解决办法:
PING以下IP,找一个能用而且延迟低的
14.215.57.230(中国广东广州 chinatelecom.com.cn 电信)
180.119.121.130(中国江苏扬州 chinatelecom.com.cn 电信)
153.99.225.116(中国江苏扬州 chinaunicom.com 联通)
163.181.35.227(中国香港 aliyun.com 阿里云)
47.246.16.227(中国香港 aliyun.com 阿里云)
47.89.64.251(中国台湾台北市 aliyun.com 阿里云)
128.1.157.229(日本东京都东京 zenlayer.com)
然后将这行添加到/etc/hosts
文件中
upload-fog-cn-east-1.qiniup.com <对应的IP地址>
…以起到强制指定解析结果的作用。之后再上传应该就可以了。
注:此方法仅为临时解决方案,不建议长期使用(用完改回来
加入--hash之后会导致停留在11.58G左右一直不动 代码是:cowtransfer -c "remember-mev2=XXX;" -a "xxxxx" -p 128 H0015_LA_S1_results.7z 还有一个问题就是 remember-mev2是什么呢?网页找不到
看起来和 #39 是同一个问题,我用的千兆镇江服务器上传也会出错,不过上传低于10GB的文件通常不会有这个问题(document not found)
因此想要知道如何解决呢?
朱岳鑫 | |
---|---|
@. | 签名由网易邮箱大师定制 在2021年11月17日 @.> 写道:
加入--hash之后会导致停留在11.58G左右一直不动 代码是:cowtransfer -c "remember-mev2=XXX;" -a "xxxxx" -p 128 H0015_LA_S1_results.7z 还有一个问题就是 remember-mev2是什么呢?网页找不到
看起来和 #39 是同一个问题,我用的千兆镇江服务器上传也会出错,不过上传低于10GB的文件通常不会有这个问题(document not found)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
目前我的解决方法就是分卷压缩,分卷大小≤10GB,然后再上传。
那我想问问你相关的代码怎么写呢?我是使用服务器进行压缩的。
朱岳鑫 | |
---|---|
@. | 签名由网易邮箱大师定制 在2021年11月17日 @.> 写道:
目前我的解决方法就是分卷压缩,分卷大小≤10GB,然后再上传。
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Linux 下可以用 zip -s,具体用法可以网上查一下
https://blog.csdn.net/aoxuerenwudi/article/details/110644345
2021/11/17 21:05:12 returns: {"etag":"FmPLGKxUDbmPXEBME8zAOlGySlao","md5":"6d7575e28fc09d2eb6694e4352f29797"} 2021/11/17 21:05:12 hash check: 6d7575e28fc09d2eb6694e4352f29797 == 6d7575e28fc09d2eb6694e4352f29797 2021/11/17 21:05:12 part 194 finished. 2021/11/17 21:05:12 part 195 start uploading, size: 1200000 2021/11/17 21:05:12 part 195 posting https://upload-fog-cn-east-1.qiniup.com/buckets/cowtransfer-yz/objects/UU5fRk9HXzlmNzA1NWFiLWEwNmItNDYwOS1hYTc3LTU4ZDNjNzEzMTAzMS81NTI2M2Y5MS01YjBkLTQxOTgtOTE3OC01NGRiYzY0ODUyNWEvSDAwMTVfTEFfUzEuN3ouMDAx/uploads/6194fdde55cb391d877767d1region0dfog-cn-east-1/195
还是失败
朱岳鑫 | |
---|---|
@. | 签名由网易邮箱大师定制 在2021年11月17日 @.> 写道:
Linux 下可以用 zip -s,具体用法可以网上查一下
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
重新测试了一下。受到分块大小限制,默认配置下上传大小最大为1200000*10000 bytes = 12G
。如果需要上传大于12G的文件需要在命令中设置更大的block size,如
# blocksize = 4M
./cowtransfer-uploader -b 4194304 -c..... -a... <filename>
可以试试这样能不能解决问题
本方法已经失败