Android 端运行Alist , 添加失败: 阿里云盘Open
Please make sure of the following things
-
[X] I have read the documentation. 我已经阅读了文档。
-
[X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。
-
[X] I'm sure it's due to
AListand not something else(such asDependenciesorOperational). 我确定是AList的问题,而不是其他原因(例如依赖或操作)。 -
[X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。
AList Version / AList 版本
v3.24.0
Driver used / 使用的存储驱动
阿里云盘open
Describe the bug / 问题描述
list-linux-musl-arm64.zip
在android 设备运行,./alist start 后, 在web端登录,添加阿里云盘open失败,token 100%是正常的。
**Failed init storage: Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [**1]:53: read udp [**1]:49761->[1]:53: read: connection refused
/alist server --debug 打印的详细日志
[31mERRO[0m[2023-08-07 06:48:05] failed get enabled storages: Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:58451->[::1]:53: read: connection refused
failed init storage
github.com/alist-org/alist/v3/internal/op.initStorage
/home/runner/work/alist/alist/internal/op/storage.go:99
github.com/alist-org/alist/v3/internal/op.LoadStorage
/home/runner/work/alist/alist/internal/op/storage.go:80
github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1
/home/runner/work/alist/alist/internal/bootstrap/storage.go:20
runtime.goexit
/opt/hostedtoolcache/go/1.20.6/x64/src/runtime/asm_arm.s:831
需要协助,怎么查看解决办法? 如果是重复问题吗?请给个链接!
非常感谢您的回复!
Reproduction / 复现链接
...
Config / 配置
...
Logs / 日志
[36mINFO[0m[2023-08-07 06:42:41] reading config file: /data/local/tmp/alist_32_v3.24/data/config.json
[36mINFO[0m[2023-08-07 06:42:41] load config from env with prefix: ALIST_
[36mINFO[0m[2023-08-07 06:42:41] init logrus...
[36mINFO[0m[2023-08-07 06:42:41] start HTTP server @ 0.0.0.0:5244
2023/08/07 06:42:41.100935 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:56161->[::1]:53: read: connection refused, Attempt 1
[36mINFO[0m[2023-08-07 06:42:41] qbittorrent not ready.
2023/08/07 06:42:41.205676 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:47598->[::1]:53: read: connection refused, Attempt 2
2023/08/07 06:42:41.349754 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:46202->[::1]:53: read: connection refused, Attempt 3
2023/08/07 06:42:41.669856 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:44146->[::1]:53: read: connection refused, Attempt 4
[31mERRO[0m[2023-08-07 06:42:41] failed get enabled storages: Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:44146->[::1]:53: read: connection refused failed init storage github.com/alist-org/alist/v3/internal/op.initStorage /home/runner/work/alist/alist/internal/op/storage.go:99 github.com/alist-org/alist/v3/internal/op.LoadStorage /home/runner/work/alist/alist/internal/op/storage.go:80 github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1 /home/runner/work/alist/alist/internal/bootstrap/storage.go:20 runtime.goexit /opt/hostedtoolcache/go/1.20.6/x64/src/runtime/asm_arm.s:831
2023/08/07 06:47:38.437779 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:54354->[::1]:53: read: connection refused, Attempt 1
2023/08/07 06:47:38.545968 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:52140->[::1]:53: read: connection refused, Attempt 2
2023/08/07 06:47:38.678812 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:51783->[::1]:53: read: connection refused, Attempt 3
2023/08/07 06:47:38.904922 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:53281->[::1]:53: read: connection refused, Attempt 4
[36mINFO[0m[2023-08-07 06:48:04] reading config file: /data/local/tmp/alist_32_v3.24/data/config.json
[36mINFO[0m[2023-08-07 06:48:04] load config from env with prefix: ALIST_
[36mINFO[0m[2023-08-07 06:48:04] init logrus...
[36mINFO[0m[2023-08-07 06:48:04] start HTTP server @ 0.0.0.0:5244
2023/08/07 06:48:04.836411 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:53891->[::1]:53: read: connection refused, Attempt 1
[36mINFO[0m[2023-08-07 06:48:04] qbittorrent not ready.
2023/08/07 06:48:04.941618 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:40686->[::1]:53: read: connection refused, Attempt 2
2023/08/07 06:48:05.085206 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:54417->[::1]:53: read: connection refused, Attempt 3
2023/08/07 06:48:05.441459 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:58451->[::1]:53: read: connection refused, Attempt 4
[31mERRO[0m[2023-08-07 06:48:05] failed get enabled storages: Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:58451->[::1]:53: read: connection refused failed init storage github.com/alist-org/alist/v3/internal/op.initStorage /home/runner/work/alist/alist/internal/op/storage.go:99 github.com/alist-org/alist/v3/internal/op.LoadStorage /home/runner/work/alist/alist/internal/op/storage.go:80 github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1 /home/runner/work/alist/alist/internal/bootstrap/storage.go:20 runtime.goexit /opt/hostedtoolcache/go/1.20.6/x64/src/runtime/asm_arm.s:831 2023/08/07 06:48:56.530406 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:43240->[::1]:53: read: connection refused, Attempt 1 2023/08/07 06:48:56.635374 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:56418->[::1]:53: read: connection refused, Attempt 2 2023/08/07 06:48:56.757628 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:60534->[::1]:53: read: connection refused, Attempt 3 2023/08/07 06:48:56.996980 ERROR RESTY Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on [::1]:53: read udp [::1]:59380->[::1]:53: read: connection refused, Attempt 4
See
- 100% #4943
Hello @xiaodatao2007, your issue is invalid and will be closed. 你好 @xiaodatao2007,你的issue无效,将被关闭。
若是docker/cli安装,请在/etc/docker/daemon.json加入dns解析来为守护进程添加配置信息:
{
"dns": ["8.8.8.8","8.8.4.4"]
}