未知原因导致的521错误

What is the name of the domain?

www.adashima.fun

What is the error number?

521

What is the error message?

Web server is down

What is the issue you’re encountering

html页面正常加载,但javascript,css和网站图标无法加载,显示521

What steps have you taken to resolve the issue?

我检查了所有的连接问题,包括创建了相同配置(但是连接到我服务器上)的另一个连接,该连接正常工作,未出现521错误或任何错误。

What are the steps to reproduce the issue?

访问https://www.adashima.fun正常
访问https://www.adashima.fun/image/icon.ico出现521错误
访问https://upload.adashima.fun:8443/image/icon.ico无错误

sorry 正常的链接应该是 https://upload.adashima.fun:8443/images/icon.ico
少输入了一个s

檢查一下SSL/TLS 回源是使用靈活還是完整(嘗試切換看看),另外確保源站主機沒有將cloudflare的ip給阻擋掉了。

这些我全都检查过了,我SSL使用的是完整的,我的服务器这边配置也检查过了,而且对8443端口没有做任何阻挡,所有ip都可以访问。我配置了一个origin rules以把443端口重定向到8443.

啊,对不起,我终于找到问题所在了。
我在自定义主机名中配置了我的域名,但是不知什么原因,ddns修改记录时将原来的记录保留了下来,导致cdn服务器访问了我的旧ip地址。

1 Like

我這邊嘗試目前看起來都能正常顯示,如果你沒有做任何的變動,那我推測可能是通用的SSL憑證剛剛尚未產出的關係。

https://www.adashima.fun/
https://www.adashima.fun/images/icon.ico

好的,謝謝分享。

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.