# 升级 Discourse 到 3.5.0.beta8-dev 后出现 Cloudflare 521 错误

**URL:** <https://meta.discourse.org/t/getting-cloudflare-521-error-after-upgrade-to-3-5-0-beta8-dev/375963>\
**Category:** Support\
**Tags:** cloudflare\
**Created:** [2025年七月26日 18:22 UTC](https://meta.discourse.org/t/getting-cloudflare-521-error-after-upgrade-to-3-5-0-beta8-dev/375963 "2025-07-26T18:22:08Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LW2333](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lw2333/32/511642_2.png) [@LW2333](https://meta.discourse.org/u/LW2333)\
**Post date:** [2025年七月26日 18:22 UTC](https://meta.discourse.org/t/getting-cloudflare-521-error-after-upgrade-to-3-5-0-beta8-dev/375963/1 "2025-07-26T18:22:08Z")

</div>

大家好，

在将我的 Discourse 站点更新到 3.5.0.beta8-dev 后，通过 Cloudflare 访问站点时突然出现 521 “Web 服务器已关闭”错误。这出乎我的意料，因为我之前是按照[本指南](https://meta.discourse.org/t/using-discourse-with-cloudflare-best-practices/293405/11)配置的，并且在此之前一直运行良好。

然后我尝试将 Cloudflare 中的 **SSL/TLS 加密模式** 从 \*\*完全（严格）\*\*更改为 **灵活** ，站点又重新加载了。

有人知道为什么更新后会出现这种情况吗？  
`3.5.0.beta8-dev` 中是否有任何可能影响 Cloudflare 兼容性或 HTTPS 处理的新内容？

非常感谢任何帮助或建议！

提前致谢！

---

_[View the full topic](https://meta.discourse.org/t/getting-cloudflare-521-error-after-upgrade-to-3-5-0-beta8-dev/375963)._
