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

提示:加载异常 #22

Open
ljq7721 opened this issue Oct 6, 2024 · 8 comments
Open

提示:加载异常 #22

ljq7721 opened this issue Oct 6, 2024 · 8 comments
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@ljq7721
Copy link

ljq7721 commented Oct 6, 2024

刚上传都是正常加载,第二天发现全部加载异常,重启Alist、halo,都无法正常加载
image
我Alist挂载的为天翼网盘,文件在Alist里可正常预览

@ljq7721
Copy link
Author

ljq7721 commented Oct 6, 2024

新上传的可以使用,旧的依旧无法加载

@sucooer
Copy link

sucooer commented Oct 15, 2024

我也一样,上传了都没动什么设置第二天就加载异常了

@JohnNiang
Copy link
Contributor

建议查看一下“加载异常”的附件详情,看看完整的附件 URL 是什么。

/triage needs-information

@f2c-ci-robot f2c-ci-robot bot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Oct 15, 2024
@AR-26710
Copy link

AR-26710 commented Oct 25, 2024

我也遇到这个问题,个人觉得不可预览原因可能如下图所示。

测试使用的都是同一张图片,但不是同一url。

图中标注1使用的是附件库的url
图中标注2使用的是alist复制的url
Image

附件库的url
Image

alist复制的url
Image

@JohnNiang
Copy link
Contributor

请问当前 Halo 版本是 2.20 吗?

@AR-26710
Copy link

请问当前 Halo 版本是 2.20 吗?

嗯,是的,目前测试使用的是2.20.5版本。

@SOVLOOKUP
Copy link

SOVLOOKUP commented Oct 30, 2024

URL中时间戳过期,修改直接链有效期即可
Image

@JohnNiang
Copy link
Contributor

想要彻底解决这个问题,请参考这个 Issue:halo-dev/halo#6961

事实上不推荐使用网盘作为图床,很有可能对方开启了防盗链之后,所有的图片都无法使用。所以我推荐“只存不读”这种操作。

#29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

5 participants