Skip to content

附件上传后显示加载异常 #44

@Yeqingky

Description

@Yeqingky

配置信息:

存储策略为123云盘 Alist中开启了Web本地代理 已启用Https并配置有效证书

复现步骤:

1 在Halo中添加Alist存储
2 上传文件(有极大概率显示加载失败)

F12信息:

Image

此时访问Alist的目录

Image

手动点击右下角刷新后 上传的两个文件均正常显示

QQ2025421-17205.mp4

再回到Halo附件管理页面 刷新

QQ2025421-172059.mp4

如上视频 手动刷新目录后 再回到Halo附件管理 会正常显示

日志

Alist日志

[GIN] 2025/04/21 - 17:17:41 | 200 |      98.285µs |    IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:17:42 | 200 |    92.78138ms |    IP | POST     "/api/fs/remove"
[GIN] 2025/04/21 - 17:17:42 | 200 |      95.279µs |    IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:17:42 | 200 |   94.372514ms |    IP | POST     "/api/fs/remove"
[GIN] 2025/04/21 - 17:17:42 | 200 |     102.903µs |   IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:17:42 | 200 |   86.217109ms |    IP | POST     "/api/fs/remove"
[GIN] 2025/04/21 - 17:18:08 | 200 |      94.878µs |    IP | POST     "/api/auth/login"
�[33mWARN�[0m[2025-04-21 17:18:09] failed get /image/cs1/QQ2025421-171110.mp4: object not found 
[GIN] 2025/04/21 - 17:18:09 | 200 |  161.363838ms |    IP | POST     "/api/fs/get"
[GIN] 2025/04/21 - 17:18:16 | 200 |  7.719547132s |    IP | PUT      "/api/fs/put"
[GIN] 2025/04/21 - 17:18:17 | 200 |      96.942µs |    IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:18:17 | 200 |  115.447658ms |    IP | POST     "/api/fs/get"
[GIN] 2025/04/21 - 17:18:17 | 200 |      78.989µs |    IP | GET      "/api/me"
[GIN] 2025/04/21 - 17:18:17 | 200 |      94.648µs |    IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:18:17 | 200 |     190.066µs |    IP | POST     "/api/fs/get"
[GIN] 2025/04/21 - 17:18:18 | 200 |       74.49µs |    IP | GET      "/api/me"
�[31mERRO�[0m[2025-04-21 17:18:20] context canceled                             
[GIN] 2025/04/21 - 17:18:30 | 200 |      94.177µs |    IP | POST     "/api/auth/login"
�[33mWARN�[0m[2025-04-21 17:18:30] failed get /image/cs1/ea055268c8792945de3b9c8d00e1cd08 (1).jpeg: object not found 
[GIN] 2025/04/21 - 17:18:30 | 200 |     194.145µs |    IP| POST     "/api/fs/get"
[GIN] 2025/04/21 - 17:18:31 | 200 |  643.806956ms |    IP| PUT      "/api/fs/put"
[GIN] 2025/04/21 - 17:18:31 | 200 |     125.726µs |    IP | POST     "/api/auth/login"
[GIN] 2025/04/21 - 17:18:56 | 200 |     233.339µs |    IP| POST     "/api/fs/get"
[GIN] 2025/04/21 - 17:19:17 | 200 |        95.9µs |    IP| POST     "/api/auth/login"
�[33mWARN�[0m[2025-04-21 17:19:17] failed get /image/cs1/ea055268c8792945de3b9c8d00e1cd08 (1).jpeg: object not found 
[GIN] 2025/04/21 - 17:19:17 | 200 |     275.366µs |    IP| POST     "/api/fs/get"

Halo相关日志

log1.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions