Caused by:
0: error trying to connect: dns error: failed to lookup address information: Try again
1: dns error: failed to lookup address information: Try again
2: failed to lookup address information: Try again
Checking target-arch... armv7-unknown-linux-musleabihf
Checking current version... v2.2.1
Checking latest released version... WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 4.608041ms before the next attempt
WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 458.603036ms before the next attempt
WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 978.194315ms before the next attempt
ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: dns error: failed to lookup address information: Try again
Error: get access_token failed
### 版本
2.2.1
### 运行平台
android
### 日志
$ ./aliyundrive-webdav qr login
Error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/authorize/qrcode): error trying to connect: dns error: failed to lookup address information: Try again
$ ./aliyundrive-webdav --port=8787 --auth-user=admin --auth-password=admin --read-only --debug --redirect --refresh-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3OGY1ZWRjNzg4NTc0MTQ2ODJiNDgxM2Q3NGU4MGU0YyIsImF1ZCI6IjczZTYxMTgzMWE3YzRkODdhYzQ5Yzg0ODFiZjlmMmM0IiwiZXhwIjoxNjk1NTQ4ODY5LCJpYXQiOjE2ODc3NzI4Njl9.URpVWgYedzzJwri7ivcZMKdV3MzdprV3feAdKuudbQ2bc_JEXFk2CjoHdng1CevfGkvqV-Wzu6NjqsfyLRqPTQ
Checking target-arch... armv7-unknown-linux-musleabihf
Checking current version... v2.2.1
Checking latest released version... WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 4.608041ms before the next attempt
WARN reqwest_retry::middleware: Retry attempt #1. Sleeping 458.603036ms before the next attempt
WARN reqwest_retry::middleware: Retry attempt #2. Sleeping 978.194315ms before the next attempt
ERROR aliyundrive_webdav::drive: refresh token failed: Request error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/access_token): error trying to connect: dns error: failed to lookup address information: Try again
Error: get access_token failed
问题描述
aliyundrive-webdav-v2.2.1.armv7-unknown-linux-musleabihf 我下载的是这个版本
$ ./aliyundrive-webdav -V 可以显示aliyundrive-webdav 2.2.1
$ ./aliyundrive-webdav qr login 报错
$ ./aliyundrive-webdav --port=8787 --auth-user=admin --auth-password=admin --read-only --debug --redirect --refresh-token=** 粘贴电脑生成的有效token,启动服务报错
重现步骤
$ adb push aliyundrive-webdav /data/local/tmp
$ adb shell $ cd /data/local/tmp
$ chmod 777 aliyundrive-webdav
$ ls -all total 127832 drwxrwx--x 5 shell shell 4096 2023-06-26 16:34:26.471174590 +0800 . drwxr-x--x 5 root root 4096 2023-03-15 12:19:03.260000377 +0800 .. drwxrwxrwx 5 shell shell 4096 2023-06-26 09:45:40.218710270 +0800 .studio -rwxrwxrwx 1 shell shell 3542532 2023-06-27 08:59:55.000000000 +0800 aliyundrive-webdav drwxrwxr-x 2 shell shell 4096 2023-06-25 14:44:20.833102793 +0800 device-explorer drwxrwxrwx 5 shell shell 4096 2023-06-26 08:43:05.450001703 +0800 perfd
$ ./aliyundrive-webdav -V
aliyundrive-webdav 2.2.1
$ ./aliyundrive-webdav qr login
Error: error sending request for url (https://aliyundrive-oauth.messense.me/oauth/authorize/qrcode): error trying to connect: dns error: failed to lookup address information: Try again
Caused by: 0: error trying to connect: dns error: failed to lookup address information: Try again 1: dns error: failed to lookup address information: Try again 2: failed to lookup address information: Try again
$ ./aliyundrive-webdav --port=8787 --auth-user=admin --auth-password=admin --read-only --debug --redirect --refresh-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiI3OGY1ZWRjNzg4NTc0MTQ2ODJiNDgxM2Q3NGU4MGU0YyIsImF1ZCI6IjczZTYxMTgzMWE3YzRkODdhYzQ5Yzg0ODFiZjlmMmM0IiwiZXhwIjoxNjk1SBD4ODY5LCJpYXQiOjE2ODc3NzI4Njl9.URpVWgYedzzJwri7ivcZMKdV3MzdprV3feAdKuudbQ2bc_JEXFk2CjoHdng1CevfGkvqV-Wzu6NjqsfyLRqPTQ
Checking target-arch... armv7-unknown-linux-musleabihf Checking current version... v2.2.1 Checking latest released version... WARN reqwest_retry::middleware: Retry attempt #0. Sleeping 4.608041ms before the next attempt