GithubHelp home page GithubHelp logo

Comments (5)

xiaoyaofenfen avatar xiaoyaofenfen commented on September 21, 2024

你帮忙开debug日志,看看为什么掉的,有啥报错。我自己用了两周了没遇到过掉登录

from aliyunpan.

bingqldx avatar bingqldx commented on September 21, 2024

已开启Debug,export ALIYUNPAN_VERBOSE=1
请问如何查看日志?

from aliyunpan.

bingqldx avatar bingqldx commented on September 21, 2024
  1. 多次尝试登录居然登录上了一次。
  2. 此外,Debug顶端显示sync时反复请求“[2024-4-7 21:16:08.227] 链接过期,获取新的上传链接”
2BQQDLItUxK%2FcCBNCfpPOwJms7V6D3bKMuu3OROY6Qi5TmgQ41Uh1jgjtPzkkpfFtkGF1GeXkLFF%2B97DRbG%2FdNRpMZtFVNO44fd7bKKp0lQLs0ARrv4r1fMUqW2X543AUgFLhy2KKMPY99xpFgh9a7j0iCbSGyUu%2FhcRm5sw9%2Byfo34lVYnew%2FLc%2B2wfLuHwufJ7FxfIREfquk63pvSlHLcLPe0Kjzzleo2k1XRPVFF%2B535IaHXuToXDnvSivXHOPvXtuMkagAGiSa8Up1GfQrvHy2TTXaqy6BfVVsB2RHPTVmICvJoQ8U%2BNgq7yJ2d6CjvTeGlV6AAhRL3HnTV1Q4MFX6o2ekvn5Y8T13R8ZgWGgts19F3AGuWOIuUyOFBEDiWwMkMvoSSE2KbgCVwyIDsVaWUhJCrsqeUzoKHkh6tSyqzH3%2BD9cSAA\u0026uploadId=D0BA63133642491085F4091331331D0E\u0026x-oss-access-key-id=STS.NURJaKohqWimbJjC6nXyi1cHF\u0026x-oss-expires=1712397504\u0026x-oss-signature=I8KP%2FRPqpKcuAJSEhfIRShdJ1ihYhy9hkeg8Bv75k4U%3D\u0026x-oss-signature-version=OSS2","internal_upload_url":"","content_type":""}],"upload_id":"D0BA63133642491085F4091331331D0E","rapid_upload":false,"type":"","file_id":"66110eb0a740079c66004143a90578ea5d313dae","domain_id":"","drive_id":"5718834","file_name":"For_Annotation_cgx_pm.RDS","encrypt_mode":"","location":""},"uploadPartSeq":352,"uploadBlockSize":10485760}
[2024-4-7 21:16:08.227] 链接过期,获取新的上传链接: /服务器备份/Projects/CRC_and_Normal/RDS/cgx_pm/For_Annotation_cgx_pm.RDS
[2024-4-7 21:16:08.227] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/getUploadUrl
^C
➜  aliyunpan-v0.3.0-linux-amd64 cd aliyunpan-v0.3.0-linux-amd64
cd: no such file or directory: aliyunpan-v0.3.0-linux-amd64
➜  aliyunpan-v0.3.0-linux-amd64 ./aliyunpan
[2024-4-7 21:16:24.099] use config dir:  /home/data/gz0405/aliyunpan-v0.3.0-linux-amd64
[2024-4-7 21:16:24.099] use config dir:  /home/data/gz0405/aliyunpan-v0.3.0-linux-amd64
[2024-4-7 21:16:24.100] do request url: https://openapi.alipan.com/adrive/v1.0/user/getDriveInfo
[2024-4-7 21:16:24.218] setup user error
[2024-4-7 21:16:24.218] do request url: https://openapi.alipan.com/adrive/v1.0/user/getDriveInfo
[2024-4-7 21:16:24.336] 尝试登录失败:  请求过快,请等待 x-retry-after 毫秒后再请求
尝试登录失败,请使用 login 命令进行重新登录
[2024-4-7 21:16:24.337] 提示: 你已经开启VERBOSE调试日志

提示: 方向键上下可切换历史命令.
提示: Ctrl + A / E 跳转命令 首 / 尾.
提示: 输入 help 获取帮助.
[2024-4-7 21:16:24.351] do request url: https://openapi.alipan.com/adrive/v1.0/user/getDriveInfo
[2024-4-7 21:16:24.464] setup user error
[2024-4-7 21:16:24.464] do request url: https://openapi.alipan.com/adrive/v1.0/user/getDriveInfo
[2024-4-7 21:16:24.576] 尝试登录失败:  请求过快,请等待 x-retry-after 毫秒后再请求
尝试登录失败,请使用 login 命令进行重新登录
aliyunpan > cd aliyunpan-v0.3.0-linux-amd64
[2024-4-7 21:16:40.649] do request url: https://openapi.alipan.com/adrive/v1.0/user/getDriveInfo
[2024-4-7 21:16:40.819] do request url: https://openapi.alipan.com/adrive/v1.0/user/getSpaceInfo
[2024-4-7 21:16:40.911] do request url: https://user.aliyundrive.com/v2/user/get
[2024-4-7 21:16:41.075] do request url: https://api.aliyundrive.com/v2/databox/get_personal_info
[2024-4-7 21:16:41.220] do request url: https://api.aliyundrive.com/v2/sbox/get
[2024-4-7 21:16:41.306] do request url: https://api.aliyundrive.com/adrive/v1/user/albums_info
[2024-4-7 21:16:41.371] do request url: https://api.aliyundrive.com/users/v1/users/device/create_session
[2024-4-7 21:16:41.473] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/get_by_path
请求过快,请等待 x-retry-after 毫秒后再请求
aliyunpan:/ 冰淇淋大侠(备份盘)$ ./aliyunpan
未找到命令: ./aliyunpan
运行命令 aliyunpan help 获取帮助
aliyunpan:/ 冰淇淋大侠(备份盘)$ 

from aliyunpan.

xiaoyaofenfen avatar xiaoyaofenfen commented on September 21, 2024

请等待 x-retry-after 毫秒后再请求

==>请求太快了被风控了。下个版本会优化这个问题。
你可以减少上传文件的并行数量,以减少遇到风控的几率

from aliyunpan.

tickstep avatar tickstep commented on September 21, 2024

请在新版本v0.3.3中验证

from aliyunpan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.