alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.46k stars 5.49k forks source link

外站引用图片无法正确加载 #7060

Open qxa22k52 opened 1 month ago

qxa22k52 commented 1 month ago

Please make sure of the following things

AList Version / AList 版本

v3.36

Driver used / 使用的存储驱动

本地和Onedrive分享链接

Describe the bug / 问题描述

在站点A中使用B站点(Alist)的图片,会存在部分无法加载的问题(新标签页中一张一张的查看无问题),浏览器控制台查看返回的是200 使用ctrl+f5 第一次刷新(未使用代理) QQ_1724247701041 66a5202f22ac4cca40157c3a0229dfd4_720 QQ_1724248082668 QQ_1724248097918

第二次刷新(使用代理) QQ_1724247873516 QQ_1724247933804 QQ_1724247955587

尝试过手机数据、WiFi,电脑使用手机数据、WiFi无变化

Reproduction / 复现链接

https://cdn.5291.love/article/ubtser-in.html

Config / 配置

{ "force": false, "site_url": "https://download.***.love", "cdn": "", "jwt_secret": "qXURzHE10zP", "token_expires_in": 48, "database": { "type": "sqlite3", "host": "", "port": 0, "user": "", "password": "", "name": "", "db_file": "data/data.db", "tableprefix": "x", "ssl_mode": "", "dsn": "" }, "meilisearch": { "host": "http://localhost:7700", "api_key": "", "index_prefix": "" }, "scheme": { "address": "0.0.0.0", "http_port": 5244, "https_port": -1, "force_https": false, "cert_file": "/etc/nginx/conf.d/.crt", "key_file": "/etc/nginx/conf.d/**.key", "unix_file": "/run/alist.socked", "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 } }

nginx QQ_1724248776923 QQ_1724248811055

Logs / 日志

nginx QQ_1724248334657 QQ_1724248506115 QQ_1724248576812 alist QQ_1724248704419

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the issue template!

Simonzhang8 commented 1 month ago

感觉是你用OneDrive又用本机代理导致的,OneDrive速度本来就不快再套个本机代理,响应太慢导致的😂 可以把OneDrive改成302试试看看会不会好一些

qxa22k52 commented 1 month ago

我将Onedrive禁用后重启服务,测试发现依然存在加载不出来的问题,更换别的页面也同样存在这个问题 异地测试也同样存在

im-dashan commented 4 days ago

音频播放器默认音频封面,引用也是加载不出来,希望尽快解决