AlistGo / AlistGo/alist

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

Abierto
#7,060 4 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
50.2k
Forks
7.9k
Merge medio
7 d 21 h
PR fusionados (30 d)
6

Descripción

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

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

- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

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

### AList Version / AList 版本

v3.36

### Driver used / 使用的存储驱动

本地和Onedrive分享链接

### Describe the bug / 问题描述

在站点A中使用B站点(Alist)的图片,会存在部分无法加载的问题(新标签页中一张一张的查看无问题),浏览器控制台查看返回的是200
使用ctrl+f5
第一次刷新(未使用代理)
![QQ_1724247701041](https://github.com/user-attachments/assets/119ae089-ed4f-464e-97f7-ea71dec921c9)
![66a5202f22ac4cca40157c3a0229dfd4_720](https://github.com/user-attachments/assets/bb31a022-c839-487b-9e00-e5809b2ab97c)
![QQ_1724248082668](https://github.com/user-attachments/assets/99e34411-b78c-47a6-93c3-e91670189f9a)
![QQ_1724248097918](https://github.com/user-attachments/assets/ea32e43d-6802-4eef-ac9a-5b965ebb7795)

第二次刷新(使用代理)
![QQ_1724247873516](https://github.com/user-attachments/assets/27661891-69f0-4f36-b04b-73bebcd11488)
![QQ_1724247933804](https://github.com/user-attachments/assets/e79ccdca-4694-4194-8cff-f38e9e47ca6d)
![QQ_1724247955587](https://github.com/user-attachments/assets/8958bfb5-7e80-4a76-b134-1f282eb5027f)

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

### Reproduction / 复现链接

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

### Config / 配置

{
"force": false,
"site_url": "https://download.***.love",
"cdn": "",
"jwt_secret": "qXURz***HE10zP",
"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": -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](https://github.com/user-attachments/assets/c8b5f5e2-b7f8-4797-aae6-7de88b18f2e5)
![QQ_1724248811055](https://github.com/user-attachments/assets/53cbf4e6-127c-4e4a-9196-666021421648)

### Logs / 日志

nginx
![QQ_1724248334657](https://github.com/user-attachments/assets/6d20887f-5fc9-47e5-896d-930f66dc3fa0)
![QQ_1724248506115](https://github.com/user-attachments/assets/f5ef4be3-f4e5-4a08-8197-abe8fcdfdd2f)
![QQ_1724248576812](https://github.com/user-attachments/assets/d88f4ff3-c83a-429a-92cd-4ba39a7b0d0a)
alist
![QQ_1724248704419](https://github.com/user-attachments/assets/6043292a-00d4-49e1-9f83-982c722c392b)

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.