# Preview of post not loading because force https was not set

**URL:** https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023
**Category:** Support
**Created:** [January 15, 2018, 2:31am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023 "2018-01-15T02:31:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![thwright](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@thwright](https://meta.discourse.org/u/thwright)
#### Post date: [January 15, 2018, 2:31am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/1 "2018-01-15T02:31:42Z")

</div>

On writing a new post or editing an old post, the editor is not showing the preview of a post. The option to hide the preview still exists; similar topics continue to load as normal.

I have been trying to track down what the source of this issue is but haven’t found it yet. I have reproduced this on my machine, in different browser, and other on a quite different network.

Recent changes to the install include:

1. Updating from 1.8.9 to 1.9.0 and then to 1.9.1
2. Installed the following plugins.

- [GitHub - discourse/discourse-steam-login: Allows user authentication with discourse via the Steam user API · GitHub](https://github.com/defaye/discourse-steam-login.git)
- [GitHub - featheredtoast/discourse-plugin-discord-auth: A Discourse plugin to login over Discord · GitHub](https://github.com/featheredtoast/discourse-plugin-discord-auth.git)

1. Enabled Google OAuth
2. Enabled comment embedding for the site’s associated blog
3. made some adjustments to the headers by loading in some scripts and CSS. (Found at: [(Deprecated) Display a "Discord Widget" in a dropdown button](https://meta.discourse.org/t/how-to-display-discord-widget-in-a-dropdown-button/73719))

Wondering if perhaps something went wrong in the previous rebuild when installing the plugins, I tried to rebuild the container without any changes, which resulted in the same behavior.

I have disabled the above plugins, removed the new header scripts, and rebuilt the container, but the editing preview continues to not load.

I searched through the settings but couldn’t find an option that seemed pertinent.

The docker install is running on an Ubuntu 16.04 server, Docker version 17.05.0-ce, build 89658be, plenty of disk space is available, and no heavy resource usage is being logged. The docker install is being proxied to by an Nginx 1.13.8 install.

I am wondering if there is something I have missed. If I can provide any further information, please feel free to let me know! Any help would be appreciated!

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 15, 2018, 2:32am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/2 "2018-01-15T02:32:47Z")

</div>

> [@thwright](#):
>
> On writing a new post or editing an old post, the editor is not showing the preview of a post.

Try: [Using Safe Mode to troubleshoot issues with themes and plugins](https://meta.discourse.org/t/how-to-use-discourse-safe-mode/53504) that would be my first go.

---

<div class="post-metadata">

### Author: ![thwright](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@thwright](https://meta.discourse.org/u/thwright)
#### Post date: [January 15, 2018, 2:36am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/3 "2018-01-15T02:36:52Z")

</div>

> [@sam](#):
>
> Try: How to use Discourse [Safe Mode](https://meta.discourse.org/t/53504?silent=true) that would be my first go.

Everything disabled, no change. Any other pointers? 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 15, 2018, 2:38am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/4 "2018-01-15T02:38:26Z")

</div>

Look at chrome dev tools, what is the error, are any assets not loading?

If you are running an HTTPS site, be sure to tick force\_https site setting.

---

<div class="post-metadata">

### Author: ![thwright](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@thwright](https://meta.discourse.org/u/thwright)
#### Post date: [January 15, 2018, 2:44am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/5 "2018-01-15T02:44:19Z")

</div>

The site is running HTTPS; I could have sworn the option had been selected, but it was off. Turned it on, no change.

Only errors in console are for Google Analytics, but that is being blocked at the network.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 15, 2018, 2:45am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/6 "2018-01-15T02:45:03Z")

</div>

> [@thwright](#):
>
> Turned it on, no change.

hmmm, I would try restarting browser that may have a 404 cached and even doing another rebuild.

---

<div class="post-metadata">

### Author: ![thwright](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@thwright](https://meta.discourse.org/u/thwright)
#### Post date: [January 15, 2018, 3:04am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/7 "2018-01-15T03:04:01Z")

</div>

The rebuild got it that time. I’m seeing the previews now. Hmm…

Thank you, @sam! Appreciate it. Time to test until it breaks 😉

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 15, 2018, 5:35am UTC](https://meta.discourse.org/t/preview-of-post-not-loading-because-force-https-was-not-set/78023/8 "2018-01-15T05:35:44Z")

</div>


