Closed mwcodefun closed 2 years ago
怀疑我的路由器挂了代理的原因,连了下手机热点,出现同样的问题。
我在腾讯云的服务器上(CentOS 7.9)部署也出现了相同的问题:
aliyundrive-webdav | 2022-02-12T01:16:15.284119Z WARN aliyundrive_webdav::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: Try again
docker compose内分别指定dns 223.5.5.5和指定本地的代理都没有用。
host上curl https://websv.aliyundrive.com/token/refresh
一切正常:
{"code":"MethodNotAllowed","message":"Request method 'GET' not supported","requestId":"73b58dea-6394-4333-8239-f1194781effc"}%
我在本地的openwrt路由器上(R2S,)就正常运行,没有异常。
我在腾讯云的服务器上(CentOS 7.9)部署也出现了相同的问题:
aliyundrive-webdav | 2022-02-12T01:16:15.284119Z WARN aliyundrive_webdav::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: Try again
docker compose内分别指定dns 223.5.5.5和指定本地的代理都没有用。
host上
curl https://websv.aliyundrive.com/token/refresh
一切正常:{"code":"MethodNotAllowed","message":"Request method 'GET' not supported","requestId":"73b58dea-6394-4333-8239-f1194781effc"}%
我在本地的openwrt路由器上(R2S,)就正常运行,没有异常。
。。。重启了一次服务器,然后就好了
Thanks @Oosl
问题描述
系统环境: Ubuntu 21.10 gnome
安装方法
cat /etc/resolv.conf
curl https://websv.aliyundrive.com/token/refresh
nslookup websv.aliyundrive.com
aliyundrive-webdav --refresh-token "xxxx"
重现步骤
如上
版本
aliyundrive-webdav 1.2.2
运行平台
ubuntu x86
日志
如上