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

外网下载异常,但内网正常下载。 #7007

Closed
4 tasks done
yearnstudio opened this issue Aug 14, 2024 · 11 comments
Closed
4 tasks done

外网下载异常,但内网正常下载。 #7007

yearnstudio opened this issue Aug 14, 2024 · 11 comments
Labels
bug Something isn't working stale No activity for more than 30 days

Comments

@yearnstudio
Copy link

yearnstudio commented Aug 14, 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 版本

3.36.0

Driver used / 使用的存储驱动

WebDAV

Describe the bug / 问题描述

当我下载任何文件时,会出现500号错误,具体报错见Log。
内网可以正常下载,但是外部网络不行。
该站点使用Cloudflare解析,使用LightCDN,并使用LoCyanFrp映射公网(www.locyanfrp.cn)(是frp)。
已经测试过直接连接、CDN、Cloudflare代理,均会出现该问题

Reproduction / 复现链接

https://alist.yearnstudio.cn的任何下载,请不要使用打包下载

Config / 配置

{
"force": false,
"site_url": "https://alist.yearnstudio.cn",
"cdn": "",
"jwt_secret": "HIDE",
"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": 5244,
"https_port": 5245,
"force_https": false,
"cert_file": "data\cert.pem",
"key_file": "data\cert.key",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data\temp",
"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": 0,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1
},
"transfer": {
"workers": 5,
"max_retry": 2
},
"upload": {
"workers": 5,
"max_retry": 0
},
"copy": {
"workers": 5,
"max_retry": 2
}
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
"
"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}

Logs / 日志

例如:{"code":500,"message":"http request [https://webdav-1833307342.pd1.123pan.cn/webdav/alist/%E5%88%86%E4%BA%AB%E7%94%A8/%E7%B3%BB%E7%BB%9F%E9%95%9C%E5%83%8F/%E7%BD%91%E7%BB%9C%E6%94%B6%E9%9B%86/Setup.iso] failure,status: 401 response:","data":null}

@yearnstudio yearnstudio added the bug Something isn't working label Aug 14, 2024
@yearnstudio
Copy link
Author

我可以确定我使用的WebDAV接口和账号密码均正确,因为在内网环境下无论是http访问还是https均可以正常下载

@yearnstudio
Copy link
Author

对于外网,无论是http还是https协议均会出现此问题

@pongfcnkl
Copy link

pongfcnkl commented Aug 14, 2024

截图_20240814142240
正常下载

@yearnstudio
Copy link
Author

我想请问下这个速度能提高吗,我内网上传速度60Mbps,这根本不够

@pongfcnkl
Copy link

123开302会封多ip下载的,除非用他的直链流量,你还不如直接分享出来呢,不用alist

@yearnstudio
Copy link
Author

关键分享出来会要求登录,这挺影响人心情的。我内网下载速度可以到70MB/S左右,但是外网这个速度就很离谱。
我现在套了LightCDN,还在看速度。
还有什么办法吗
感谢大佬指导

@yearnstudio
Copy link
Author

image
您好大佬,这个问题又出现了,8月14 20:53左右出现

@yearnstudio
Copy link
Author

21:18左右恢复。

@pongfcnkl
Copy link

登录总比龟速下载好吧

Copy link

stale bot commented Sep 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale No activity for more than 30 days label Sep 28, 2024
Copy link

github-actions bot commented Oct 8, 2024

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for more than 30 days
Projects
None yet
Development

No branches or pull requests

2 participants