messense / aliyundrive-fuse

阿里云盘 FUSE 磁盘挂载
MIT License
966 stars 115 forks source link

无法连接,试过多次退出登录,更新refresh token都不行 #15

Closed KimmyLueng closed 2 years ago

KimmyLueng commented 2 years ago

2022-02-23T09:35:11.285096Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:35:12.285677Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:35:13.285833Z ERROR aliyundrive_fuse::drive: refresh token failed: error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution Error: initialize aliyundrive client failed

messense commented 2 years ago

dns error: failed to lookup address information: Temporary failure in name resolution

DNS 问题,检查系统配置。

KimmyLueng commented 2 years ago

更换DNS,也是连不上 root@minghui:~# cat /etc/resolv.conf

This file is managed by man:systemd-resolved(8). Do not edit.

#

This is a dynamic resolv.conf file for connecting local clients directly to

all known uplink DNS servers. This file lists all configured search domains.

#

Third party programs must not access this file directly, but only through the

symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a different way,

replace this symlink by a static file or a different symlink.

#

See man:systemd-resolved.service(8) for details about the supported modes of

operation for /etc/resolv.conf.

nameserver 223.5.5.5 nameserver 223.6.6.6 nameserver 169.254.169.254 search vcn06061107.oraclevcn.com root@minghui:~# exit logout ubuntu@minghui:~$ sudo aliyundrive-fuse -r 012d8223413a4d858598289a0c6458be -w /var/run/aliyundrive-fuse /mnt/aliyundrive/ --allow-other 2022-02-23T09:59:45.656383Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:46.656826Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:47.657272Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:48.657698Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:49.658141Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:50.658585Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:51.659038Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:52.659541Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:53.660002Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:54.660469Z WARN aliyundrive_fuse::drive: refresh token failed, will wait and retry error=error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution 2022-02-23T09:59:55.660668Z ERROR aliyundrive_fuse::drive: refresh token failed: error sending request for url (https://websv.aliyundrive.com/token/refresh): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution Error: initialize aliyundrive client failed

messense commented 2 years ago

直接 curl -v https://websv.aliyundrive.com/token/refresh 呢?

KimmyLueng commented 2 years ago

直接 curl -v https://websv.aliyundrive.com/token/refresh 呢? 知道原因了,我安装的是snap包。换成deb包,安装好依赖就行

dukoalad commented 2 years ago

curl -v https://websv.aliyundrive.com/token/refresh