AlistGo / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
43.82k stars 5.68k forks source link

从百度网盘向115复制文件大面积出现错误。 #3729

Closed liuhangbin closed 1 year ago

liuhangbin commented 1 year ago

Please make sure of the following things

Alist Version / Alist 版本

v3.12.2

Driver used / 使用的存储驱动

115

Describe the bug / 问题描述

$ ./alist version
Built At: 2023-02-25 10:29:11 +0000
Go Version: go1.19.6 linux/amd64
Author: Xhofe <i@nn.ci>
Commit ID: 81e10f8
Version: v3.12.2
WebVersion: 3.12.1

看log是有三种类型错误, 一个是dial tcp: lookup allall02.baidupcs.com: Try again, 一个是 dial tcp: lookup uplb.115.com: Try again, 一个是请升级到最新版本: unexpected error. 前两个不清楚错误原因。第三个我已经用curl -fsSL "https://alist.nn.ci/v3.sh" | bash -s update 更新到最新了还是不行。

Reproduction / 复现链接

链接: https://pan.baidu.com/s/1SzkoUAumO5_o6k2irjuxdA?pwd=am2f 提取码: am2f

Logs / 日志

        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/asm_amd64.s:1594] while run task [copy [/opt/alist/baidu](/115/大学教育/考研英语/刘一男/2013
lyn词汇 101-109MP4.rar) to [/opt/alist/115](/Krystal/大学教育/考研英语/刘一男)]
ESC[31mERROESC[0m[2023-03-06 11:22:58] error [Get "http://allall02.baidupcs.com/file/e0634e34cf7df6844dad0991e031b71b?bkt=en-2a4ba40c42c88fabd8e8c9dda66d867fea6cd44da78772f94fabc6214588e95aa5ca59ab716625975829c61fa2eebe46218d1e9fdac5466e45bb83b4e3d15701&fid=3943434333-250528-4269552110742&time=1678072973&sign=FDTAXUVbGERQlBHSKfWqi-DCb740ccc5511e5e8fedcff06b081203-3P%2FiuZfkteoc5BLD7S%2Fpx8RBFbI%3D&to=19&size=6836855&sta_dx=6836855&sta_cs=2&sta_ft=pdf&sta_ct=7&sta_mt=0&fm2=MH%2CYangquan%2CAnywhere%2C%2C%E5%A4%A9%E6%B4%A5%2Ccmnet&ctime=1387354340&mtime=1678065731&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=6836855&vuk=3943434333&iv=2&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-ac59d21568ce9db20f18a1789d24e9418c67c3da56960b63bb26cba1603228d279104902fd1fa18a2046812ed9ae9dbe41002aca33aa9f4e305a5e1275657320&expires=8h&rt=pr&r=532570710&vbdid=4154630992&fin=2013lyn%E8%AF%8D%E6%B1%875500%E5%AE%8C%E6%95%B4%E7%89%88%E8%AE%B2%E4%B9%89.pdf&rtype=1&dp-logid=2925668996341922871&dp-callid=0.1&tsl=0&csl=0&fsl=-1&csign=xm8RAiC%2FNfyEmNx5GOumd4hMFPs%3D&so=1&ut=1&uter=0&serv=0&uc=1559654663&ti=c77e04c9862927e5b48d0c740e9a8919780d06ddeb1eb5fa305a5e1275657320&hflag=30&from_type=0&adg=a_405aa52b6386615be5d0a6d86ef5dbd4&reqlabel=25571201_f_0d379c25691f1db02fd2dff786ffd19a_-1_f2996769182fed8a0e90fa661f67a3e1&chkv=3&by=themis": dial tcp: lookup allall02.baidupcs.com: Try again
failed to get response for http://allall02.baidupcs.com/file/e0634e34cf7df6844dad0991e031b71b?bkt=en-2a4ba40c42c88fabd8e8c9dda66d867fea6cd44da78772f94fabc6214588e95aa5ca59ab716625975829c61fa2eebe46218d1e9fdac5466e45bb83b4e3d15701&fid=3943434333-250528-4269552110742&time=1678072973&sign=FDTAXUVbGERQlBHSKfWqi-DCb740ccc5511e5e8fedcff06b081203-3P%2FiuZfkteoc5BLD7S%2Fpx8RBFbI%3D&to=19&size=6836855&sta_dx=6836855&sta_cs=2&sta_ft=pdf&sta_ct=7&sta_mt=0&fm2=MH%2CYangquan%2CAnywhere%2C%2C%E5%A4%A9%E6%B4%A5%2Ccmnet&ctime=1387354340&mtime=1678065731&resv0=-1&resv1=0&resv2=rlim&resv3=5&resv4=6836855&vuk=3943434333&iv=2&htype=&randtype=&tkbind_id=0&newver=1&newfm=1&secfm=1&flow_ver=3&pkey=en-ac59d21568ce9db20f18a1789d24e9418c67c3da56960b63bb26cba1603228d279104902fd1fa18a2046812ed9ae9dbe41002aca33aa9f4e305a5e1275657320&expires=8h&rt=pr&r=532570710&vbdid=4154630992&fin=2013lyn%E8%AF%8D%E6%B1%875500%E5%AE%8C%E6%95%B4%E7%89%88%E8%AE%B2%E4%B9%89.pdf&rtype=1&dp-logid=2925668996341922871&dp-callid=0.1&tsl=0&csl=0&fsl=-1&csign=xm8RAiC%2FNfyEmNx5GOumd4hMFPs%3D&so=1&ut=1&uter=0&serv=0&uc=1559654663&ti=c77e04c9862927e5b48d0c740e9a8919780d06ddeb1eb5fa305a5e1275657320&hflag=30&from_type=0&adg=a_405aa52b6386615be5d0a6d86ef5dbd4&reqlabel=25571201_f_0d379c25691f1db02fd2dff786ffd19a_-1_f2996769182fed8a0e90fa661f67a3e1&chkv=3&by=themis
github.com/alist-org/alist/v3/internal/fs.getFileStreamFromLink
        /home/runner/work/alist/alist/internal/fs/util.go:65
github.com/alist-org/alist/v3/internal/fs.copyFileBetween2Storages
        /home/runner/work/alist/alist/internal/fs/copy.go:94
github.com/alist-org/alist/v3/internal/fs.copyBetween2Storages.func2
        /home/runner/work/alist/alist/internal/fs/copy.go:76
github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run
        /home/runner/work/alist/alist/pkg/task/task.go:75
github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1
        /home/runner/work/alist/alist/pkg/task/manager.go:33
runtime.goexit

        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/asm_amd64.s:1594] while run task [copy [/opt/alist/baidu](/115/大学教育/考研英语/刘一男/2012
【刘一男】考研英语5500词汇swf(第1—20讲).rar) to [/opt/alist/115](/Krystal/大学教育/考研英语/刘一男)]
ESC[31mERROESC[0m[2023-03-06 11:21:07] error [Post "https://uplb.115.com/3.0/initupload.php?appid=0&appversion=30.1.0&format=json&isp=0&k_ec=e2V%2F
Zkze7Po4%2B6FS%2Br8PZhVmZmZ4OmMCf2I0aywmos3gHG1HlCICAAEAAABgvgRy&sig=5A03D096EDAB52492CB97783609AA321A92AD279&t=1678072862&token=3ca7cc99590bf1fcd0
e1aaf20d79d792": dial tcp: lookup uplb.115.com: Try again
github.com/alist-org/alist/v3/internal/op.Put
        /home/runner/work/alist/alist/internal/op/fs.go:550
github.com/alist-org/alist/v3/internal/fs.copyFileBetween2Storages
        /home/runner/work/alist/alist/internal/fs/copy.go:98
github.com/alist-org/alist/v3/internal/fs.copyBetween2Storages.func2
        /home/runner/work/alist/alist/internal/fs/copy.go:76
github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run
        /home/runner/work/alist/alist/pkg/task/task.go:75
github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1
        /home/runner/work/alist/alist/pkg/task/manager.go:33
runtime.goexit

        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/asm_amd64.s:1594] while run task [copy [/opt/alist/baidu](/115/大学教育/考研英语/刘一男/2012
【刘一男】考研英语5500词汇swf(第21—40讲).rar) to [/opt/alist/115](/Krystal/大学教育/考研英语/刘一男)]
ESC[31mERROESC[0m[2023-03-06 11:21:09] error [unexpected error
github.com/SheltonZhu/115driver/pkg/driver.init
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/error.go:33
runtime.doInit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:6329
runtime.doInit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:6306
runtime.doInit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:6306
runtime.doInit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:6306
runtime.doInit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:6306
runtime.main
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/proc.go:233
runtime.goexit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/asm_amd64.s:1594
请升级到最新版本
github.com/SheltonZhu/115driver/pkg/driver.GetErr
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/error.go:131
github.com/SheltonZhu/115driver/pkg/driver.(*UploadInitResp).Err
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/response.go:173
github.com/SheltonZhu/115driver/pkg/driver.CheckErr
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/error.go:142
github.com/SheltonZhu/115driver/pkg/driver.(*Pan115Client).UploadSHA1
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/upload.go:223
github.com/SheltonZhu/115driver/pkg/driver.(*Pan115Client).UploadFastOrByMultipart
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/115driver@v1.0.13/pkg/driver/upload.go:267
github.com/alist-org/alist/v3/drivers/115.(*Pan115).Put
        /home/runner/work/alist/alist/drivers/115/driver.go:90
github.com/alist-org/alist/v3/internal/op.Put
        /home/runner/work/alist/alist/internal/op/fs.go:537
github.com/alist-org/alist/v3/internal/fs.copyFileBetween2Storages
        /home/runner/work/alist/alist/internal/fs/copy.go:98
github.com/alist-org/alist/v3/internal/fs.copyBetween2Storages.func2
        /home/runner/work/alist/alist/internal/fs/copy.go:76
github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run
        /home/runner/work/alist/alist/pkg/task/task.go:75
github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1
        /home/runner/work/alist/alist/pkg/task/manager.go:33
runtime.goexit
        /opt/hostedtoolcache/go/1.19.6/x64/src/runtime/asm_amd64.s:1594
github.com/alist-org/alist/v3/internal/op.Put
        /home/runner/work/alist/alist/internal/op/fs.go:550
github.com/alist-org/alist/v3/internal/fs.copyFileBetween2Storages
        /home/runner/work/alist/alist/internal/fs/copy.go:98
github.com/alist-org/alist/v3/internal/fs.copyBetween2Storages.func2
        /home/runner/work/alist/alist/internal/fs/copy.go:76
github.com/alist-org/alist/v3/pkg/task.(*Task[...]).run
        /home/runner/work/alist/alist/pkg/task/task.go:75
github.com/alist-org/alist/v3/pkg/task.(*Manager[...]).do.func1
        /home/runner/work/alist/alist/pkg/task/manager.go:33
runtime.goexit
github-actions[bot] commented 1 year ago

Hello @liuhangbin, your issue is invalid and will be closed. 你好 @liuhangbin,你的issue无效,将被关闭。

liuhangbin commented 1 year ago

@Xhofe 你好,很抱歉开了个无效issue, 不过可以麻烦您关闭的时候说一下无效原因吗?比如重复问题,已知问题,已有doc等等。大家开issue的时候一般也都搜索过。可能是搜索引擎使用不熟练,或者文档不熟悉,导致开了无效的issue. 但是希望您能看在我们开issue的时候也是认真填写问题和log 上,可以说明一下无效原因。谢谢

mengguyi commented 1 year ago

dial tcp: lookup allall02.baidupcs.com: Try again 属于网络问题应该自行处理与alist无关 可能是这样导致issue被关

xhofe commented 1 year ago

https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers

liuhangbin commented 1 year ago

@mengguyi @Xhofe 谢谢,请问请升级到最新版本: unexpected error 这个错误也是网络问题吗?如果是的话,建议还是修改一下错误描述。我还以为是alist 哪个部件版本兼容问题。

MichaelChao02 commented 5 months ago

我之前挂载115的时候遇到TLS handshake timeout,后来网上查了原因是因为开了ipv6. 关掉ipv6以后也确实好了,但很奇怪的是不关ipv6的话这个错误有时候有有时候没有。