Comments (5)
你帮忙开debug日志,看看为什么掉的,有啥报错。我自己用了两周了没遇到过掉登录
from aliyunpan.
已开启Debug,export ALIYUNPAN_VERBOSE=1
请问如何查看日志?
from aliyunpan.
- 多次尝试登录居然登录上了一次。
- 此外,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.
请等待 x-retry-after 毫秒后再请求
==>请求太快了被风控了。下个版本会优化这个问题。
你可以减少上传文件的并行数量,以减少遇到风控的几率
from aliyunpan.
请在新版本v0.3.3中验证
from aliyunpan.
Related Issues (20)
- 使用sync的upload模式,某些文件上传失败,一直重试上传
- wishlist: Use Basedir configuration directories on Linux HOT 3
- 指定目录无效 HOT 2
- 求最新版的webdav win10用的。 HOT 1
- Build fails with Go 1.23 HOT 2
- 每次下载到90%就卡住了,0KB/s HOT 4
- 文件上传错误,需要重传 HOT 9
- 文件不上传
- window 11 64 后台运行数组越界(最新版)希望可以有容错机制,可以跳过不退出 HOT 1
- 建议将项目中的 Server酱 链接换成推荐链接
- 使用同步功能upload或download时,怎样查看是否完全同步成功?
- 最近下载速度非常不稳定 HOT 27
- 分片上传出错 HOT 5
- 0.3.3 自编译出错 HOT 3
- sync 跟 download 速度差很多 HOT 4
- 多用户下载速度不变 HOT 1
- DOcker版aliyunpan-sync:v0.3.3-arm64创建容器后一直登陆失败 HOT 5
- 是否支持关闭终端后仍后台上传? HOT 5
- ALIYUNPAN_LOCAL_DELAY_TIME不生效 HOT 2
- docker版本启动后大量ipv6链接,上传了许多流量是什么情况 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyunpan.