Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pikpak加速地址导致部分文件无法加载 #7481

Closed
4 tasks done
roymecat opened this issue Nov 8, 2024 · 1 comment
Closed
4 tasks done

Pikpak加速地址导致部分文件无法加载 #7481

roymecat opened this issue Nov 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@roymecat
Copy link

roymecat commented Nov 8, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.39.1

Driver used / 使用的存储驱动

Pikpak

Describe the bug / 问题描述

如题,在挂载pikpak时如果启用了“加速地址”功能则可能导致部分文件无法预览和下载,在抓包官方app后发现pikpak启用了新的服务商byteplus,并且部分文件被迁移至该服务商
byte plus解析地址应为
https://dl-z01a-0049.mypikpak.com
而后传参相同
如果使用原有加速地址(阿里云)时则会出现http 404报错
暂时解决办法:关闭加速地址功能

Reproduction / 复现链接

这是一个使用alist解析的加速地址(阿里云)的链接,文件实际位置在byteplus服务器上,因此404 error:
https://dl-a10b-1193.mypikpak.com/download/?fid=q0MbWGCD2xpw-eYy2CfD3XmEtiETSgQalsLox123rZF4wSCF8YGmv-7mcGqewOMZeuztXumNkjnF1gEdtS6CemDoZzT-vUu_tJ2oJhKlEDU=&from=5&verno=3&prod=pikpak&expire=1731147127&g=07DE6829A468F18580700AF438FE40E8A2DE4034&ui=YpmSs-7z7x68mS12&t=0&ms=6291456&th=6291456&f=5615292045&alt=0&us=0&hspu=&po=0&userid=YpmSs-7z7x68mS12&fileid=VOB9h0VG3S8yQQVn291JAy0io1&pr=XQPkPvr9WWiIuMvELmrVer5AoycsekHClIRDSlKnBSS5ZEgtBvkGOAYW9I-lLBYRH52lNnoE6vD_HTEUDMqsujBodyas91JqG4i8cJyOB0TtjpkvVLiKn30LrlAuL1B3zgETpQ8UHDMqXkpXsjcVie7XfMsn-81SpNGg6doho5tEii4wy9hkZJ9C8h2auy9kLbgrJH_38ZjJKUF2h5uPMlvlDCaLVqnCyE-cdpOB0D8jZm0TL71_PNX0akDIJJ3EPNoFXIjDNXjQOlqydkkD-dFlM59d8ZPmlGpmywKGWwpB4f8ML_8Kv8RZgqv1xDLorIpkM2GP_FEwWj1pnOy6qbeLMopRr1NO1QouC3NMeRjmNT3gvDERwOqfEfezfmm5NoYA0supX9zARApOQDP4loXxh12EfcVP6tjfbXOC2hE=&sign=41192B336BCBFB3284412E96DE11D3DF

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "NpSikKRQX96cpu3h",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700/",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 80,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "/mnt/data/bin",
"bleve_dir": "data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 15,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": true
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 3,
"max_retry": 10,
"task_persistant": true
}
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
""
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}

Logs / 日志

@roymecat roymecat added the bug Something isn't working label Nov 8, 2024
@roymecat
Copy link
Author

roymecat commented Nov 8, 2024

吐槽一句:byteplus的服务器线路质量极其糟糕,延迟爆炸的同时丢包率也蛮高的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant