# UI not rendering in Chrome/Firefox due to CloudFlare rocket loader

**URL:** https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631
**Category:** Support
**Created:** [March 8, 2020, 1:08am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631 "2020-03-08T01:08:38Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![urbaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/urbaman/32/171971_2.png) [@urbaman](https://meta.discourse.org/u/urbaman)
#### Post date: [March 8, 2020, 1:08am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/1 "2020-03-08T01:08:38Z")

</div>

Hi,

I installed Discourse (Plesk, Cloudflare), installed come plugins, and suddenly it is not working on Chrome or Firefox (not rendering the UI), but it’s still working on Edge/Explorer.

Edit: in Chrome/Firefox all of the UI is wrapped in a html tag, while it is not in Egde.

Is there a way to properly debug this behaviour?

Thanks.

---

<div class="post-metadata">

### Author: ![omarfilip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/omarfilip/32/208019_2.png) [@omarfilip](https://meta.discourse.org/u/omarfilip)
#### Post date: [March 8, 2020, 3:05am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/2 "2020-03-08T03:05:38Z")

</div>

> [@urbaman](#):
>
> installed come plugins, and suddenly it is not working

Begin troubleshooting with [safe mode](https://meta.discourse.org/t/53504?silent=true):

> [@Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504):
>
> bookmark This guide explains how to use Discourse’s [Safe Mode](https://meta.discourse.org/t/53504?silent=true) to troubleshoot issues with themes and plugins. person_raising_hand Required user level: All users Discourse offers a “JavaScript [Safe Mode](https://meta.discourse.org/t/53504?silent=true)” that allows any user to isolate the root cause of JavaScript issues caused by plugins, themes, or theme components. This feature is particularly useful for troubleshooting problems on your Discourse site. Accessing [Safe Mode](https://meta.discourse.org/t/53504?silent=true) To access [Safe Mode](https://meta.discourse.org/t/53504?silent=true), follow these steps: Open a new browse…

---

<div class="post-metadata">

### Author: ![Justin\_Vega](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/justin_vega/32/159021_2.png) [@Justin\_Vega](https://meta.discourse.org/u/Justin_Vega)
#### Post date: [March 8, 2020, 4:09am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/3 "2020-03-08T04:09:15Z")

</div>

> [@urbaman](#):
>
> it’s still working on Edge/Explorer.

> [@urbaman](#):
>
> all of the UI is wrapped in a html tag, while it is not in Egde.

Are you referring to the legacy version of Edge or the Chromium version of Edge?

---

<div class="post-metadata">

### Author: ![urbaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/urbaman/32/171971_2.png) [@urbaman](https://meta.discourse.org/u/urbaman)
#### Post date: [March 8, 2020, 9:11am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/4 "2020-03-08T09:11:05Z")

</div>

I’m talking of Microsoft Edge, and in [safe mode](https://meta.discourse.org/t/53504?silent=true) (disabling everything) it works in a limited way, saying I should enable Javascript, even if it’s alrrady enabled.

I’m starting to think Chrome and Firefox are reacting to some security problem with the SSL certificate, I’ll probably start checking on that: Cloudflare and such.

Is there a good guide to follow for Cloudflare configuration?  
Thank you.

---

<div class="post-metadata">

### Author: ![urbaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/urbaman/32/171971_2.png) [@urbaman](https://meta.discourse.org/u/urbaman)
#### Post date: [March 8, 2020, 10:12am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/5 "2020-03-08T10:12:24Z")

</div>

Ok, I finally un-proxied Cloudflare and it started to work again, so the noscript problem came from there, something to do with strict SSL and/or origin pull.

I’ll try to debug it further, but if there is a good walkthough for Cloudflare and Discourse it would be awesome

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [March 8, 2020, 11:57am UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/6 "2020-03-08T11:57:43Z")

</div>

> [@urbaman](#):
>
> if there is a good walkthough for Cloudflare and Discourse it would be awesome

Unless you have reason to believe that you are a likely target for ddos attacks, the advice is to disable the orange cloud. If you search there is much discussion.

---

<div class="post-metadata">

### Author: ![urbaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/urbaman/32/171971_2.png) [@urbaman](https://meta.discourse.org/u/urbaman)
#### Post date: [March 8, 2020, 2:08pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/7 "2020-03-08T14:08:49Z")

</div>

It seems all of the problems where with Rocket Loader.

Thanks to having Plesk’s nginx in front of Discourse, I am able to use orange DNS, full (strict) SSL, pull origin certs on Cloudflare, and full https on Discourse.

Now everything is working, let’s see if it’s stable.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [March 8, 2020, 3:23pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/8 "2020-03-08T15:23:18Z")

</div>

If you insist on using Cloudflare in front of discourse you need a page rule for your Discourse domain set to “disable performance”. This will shut off all the Cloudflare features known to break Discourse.

---

<div class="post-metadata">

### Author: ![urbaman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/urbaman/32/171971_2.png) [@urbaman](https://meta.discourse.org/u/urbaman)
#### Post date: [March 8, 2020, 3:32pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/9 "2020-03-08T15:32:49Z")

</div>

Thank you for the tip, I’ll keep it in mind if I’ll face other issues!

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [March 8, 2020, 6:26pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/10 "2020-03-08T18:26:35Z")

</div>

Good idea, without it we can’t offer you any support whatsoever.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [February 23, 2024, 6:31pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/11 "2024-02-23T18:31:40Z")

</div>



---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [February 24, 2024, 5:56pm UTC](https://meta.discourse.org/t/ui-not-rendering-in-chrome-firefox-due-to-cloudflare-rocket-loader/143631/12 "2024-02-24T17:56:56Z")

</div>


