# Forum doesn't load after enabling SSL with Let's Encrypt

**URL:** https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809
**Category:** Self-hosting
**Created:** [August 2, 2018, 9:59pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809 "2018-08-02T21:59:13Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![pidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pidge/32/119702_2.png) [@pidge](https://meta.discourse.org/u/pidge)
#### Post date: [August 2, 2018, 9:59pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/1 "2018-08-02T21:59:13Z")

</div>

Hey,

So I’m just starting a community with Discourse and after enabling SSL with [this tutorial](https://meta.discourse.org/t/setting-up-lets-encrypt/) and after enabling it my forum just doesn’t load. My browser just says ‘(web address) refused to connect’.

I checked and I’ve followed every step of the tutorial, any suggestions?

Thanks, Matt

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [August 2, 2018, 10:35pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/2 "2018-08-02T22:35:24Z")

</div>

Based on what you’ve given us, the only thing that can be said for sure is, “something went wrong”. You’ll need to examine (and possibly share) the output of the rebuild, and potentially [the logs](https://meta.discourse.org/t/where-are-all-the-discourse-logs/58022), in order for anyone to be able to provide you with useful assistance.

---

<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: [August 5, 2018, 4:36pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/3 "2018-08-05T16:36:19Z")

</div>

You might try running `./discourse-doctor` and see if it offers any clues.

---

<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: [August 5, 2018, 5:08pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/4 "2018-08-05T17:08:05Z")

</div>

> [@pidge](#):
>
> Hey,
> 
> So I’m just starting a community with Discourse and after enabling SSL with [this tutorial](https://meta.discourse.org/t/setting-up-lets-encrypt/) and after enabling it my forum just doesn’t load. My browser just says ‘(web address) refused to connect’.
> 
> I checked and I’ve followed every step of the tutorial, any suggestions?
> 
> Thanks, Matt

- Is this a DigitalOcean install following the guide?
- is there anything else on the machine?
- are you using cloudflare?

---

<div class="post-metadata">

### Author: ![pidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pidge/32/119702_2.png) [@pidge](https://meta.discourse.org/u/pidge)
#### Post date: [August 5, 2018, 5:10pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/5 "2018-08-05T17:10:45Z")

</div>

Sorry, just seen the replies now.

> [@Stephen](#):
>
> Is this a DigitalOcean install following the guide?

I used the DigitalOcean 1 click install then connected to it via SSH and completed the setup

> [@Stephen](#):
>
> is there anything else on the machine?

No, I haven’t installed anything else.

> [@Stephen](#):
>
> are you using cloudflare?

No, I’m not.

> [@pfaffman](#):
>
> You might try running `./discourse-doctor` and see if it offers any clues.

I’ve just ran it, what am I looking for?

---

<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: [August 5, 2018, 10:43pm UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/6 "2018-08-05T22:43:27Z")

</div>

What output did it give you?

---

<div class="post-metadata">

### Author: ![pidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pidge/32/119702_2.png) [@pidge](https://meta.discourse.org/u/pidge)
#### Post date: [August 6, 2018, 8:01am UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/7 "2018-08-06T08:01:45Z")

</div>

Is there anything specific? I don’t want to post the whole thing.

---

<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: [August 6, 2018, 10:26am UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/8 "2018-08-06T10:26:24Z")

</div>

Did it print anything that made a suggestion or that something was wrong?

You could pm it or the url to me.

The script redacts sensitive information. What is there that you don’t want to share?

---

<div class="post-metadata">

### Author: ![pidge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pidge/32/119702_2.png) [@pidge](https://meta.discourse.org/u/pidge)
#### Post date: [August 6, 2018, 11:48am UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/9 "2018-08-06T11:48:21Z")

</div>

This is the output, it had my admin password and stuff in it so that’s removed. Any clues?

```
DISCOURSE DOCTOR Mon Aug 6 11:45:50 UTC 2018
OS: Linux Discourse-IFN 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:53:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Found containers/app.yml

==================== YML SETTINGS ====================
DISCOURSE_HOSTNAME= ****
SMTP_ADDRESS= ****
DEVELOPER_EMAILS=me@example.com, ***********************
SMTP_PASSWORD= **********
SMTP_PORT=587
SMTP_USER_NAME= ****
LETSENCRYPT_ACCOUNT_EMAIL= **** LETSENCRYPT_ACCOUNT_EMAIL

==================== DOCKER INFO ====================
DOCKER VERSION: Docker version 18.03.1-ce, build 9ee9f40

DOCKER PROCESSES (docker ps -a)

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
75595ba274d6 local_discourse/app "/sbin/boot" 21 seconds ago Up 20 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp app

75595ba274d6 local_discourse/app "/sbin/boot" 21 seconds ago Up 20 seconds 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp app

Discourse container app is running

==================== PLUGINS ====================
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-staff-notes.git
          - git clone https://github.com/angusmcleod/discourse-quick-messages.git
          - git clone https://github.com/discourse/discourse-spoiler-alert.git
          - git clone https://github.com/discourse/discourse-cakeday.git
          - git clone https://github.com/discourse/discourse-adplugin.git
          - git clone https://github.com/featheredtoast/discourse-pwned-passwords.git
          - git clone https://github.com/angusmcleod/discourse-locations.git
          - git clone https://github.com/discourse/discourse-canned-replies.git

WARNING:
You have what appear to be non-official plugins.
If you are having trouble, you should disable them and try rebuilding again.

See https://github.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.

========================================
Discourse version at ***: NOT FOUND

```

---

<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: [August 8, 2018, 7:41am UTC](https://meta.discourse.org/t/forum-doesnt-load-after-enabling-ssl-with-lets-encrypt/93809/10 "2018-08-08T07:41:42Z")

</div>

The URL it offers has the password data redacted, but I should remove it from the file in /tmp as well.

Like there are two docker containers running. Is that true?

If you stop the app and then run it, the will also be in the discourse-doctor log file.
