# Cloudflare with Discourse

**URL:** https://meta.discourse.org/t/cloudflare-with-discourse/137456
**Category:** Self-hosting
**Created:** [December 31, 2019, 4:36pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456 "2019-12-31T16:36:44Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 12:54pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/21 "2020-01-02T12:54:10Z")

</div>

server down, I feel no one is interested in helping me. 😕

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 1:29pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/22 "2020-01-02T13:29:23Z")

</div>

forum.meuxbox.com.br

Cloudflare cloud is off

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 2, 2020, 2:13pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/23 "2020-01-02T14:13:18Z")

</div>

We are trying to help.  
We have to understand the issue first. There can be any number of reasons that may cause discourse to not be able to install or not be displayed.

We need to figure out the exact issue before suggesting a solution.

I have the vultr+cloudflare hosted discourse for a client and it is working fine so this has something to do with the way you are installing discourse.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 5:01pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/24 "2020-01-02T17:01:04Z")

</div>

installed it is in the air forum.meuxbox.com.br

How can I check if everything is ok?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [January 2, 2020, 6:24pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/25 "2020-01-02T18:24:08Z")

</div>

First thing to check is if your installation actually succeed?  
Were there any errors or did the installer exit successfully?

Is there a firewall blocking connections?

Did your IP address change in the process? Your subdomain is now replying with a different IP address

```plaintext
PING 45.77.116.206 (45.77.116.206) 56(84) bytes of data.
64 bytes from 45.77.116.206: icmp_seq=1 ttl=41 time=25.0 ms
64 bytes from 45.77.116.206: icmp_seq=2 ttl=41 time=25.0 ms
64 bytes from 45.77.116.206: icmp_seq=3 ttl=41 time=25.0 ms

--- 45.77.116.206 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 25.007/25.024/25.034/0.183 ms

```

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 7:52pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/26 "2020-01-02T19:52:52Z")

</div>

Yes, I changed the IP and did a new installation. you can access forum.meuxbox.com.br

I’m trying to access but I get the same error.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 7:58pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/27 "2020-01-02T19:58:42Z")

</div>

I did an installation following the guide.  
[discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)

45.77.116.206 For the domain forum.meuxbox.com.br

But when accessing the link, it does not show the installation screen.

The same mistake that happens with a one click digitalocean

how to verify that it is installed correctly

 ![install discourse](https://global.discourse-cdn.com/meta/original/3X/c/f/cf0acec47b0ba6ef7ce391e9cc4a043c44fd609b.png)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 2, 2020, 9:29pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/28 "2020-01-02T21:29:59Z")

</div>

It would be helpful to see the end of the `./discourse-setup` output. All we’re seeing in your screenshots at the moment is memory stats.

If you didn’t save that output, try running the following, and sharing the end of that output.

```plaintext
cd /var/discourse
./launcher rebuild app

```

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 10:05pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/29 "2020-01-02T22:05:01Z")

</div>

![discoursee](https://global.discourse-cdn.com/meta/original/3X/f/b/fb59664aaf2fdf13bdb27ec67cb19bd96cc0bda2.png)

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 2, 2020, 10:26pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/30 "2020-01-02T22:26:01Z")

</div>

That looks normal from what I can see. Do note that you’re going to need to change your SMTP password as it is shown in the screenshot.

As Bhanu previously suggested, I’m leaning towards a firewall, or other networking issue. DNS looks good, assuming your current server is at `45.77.116.206`, but the connection is being refused, which means the request is never making it into the server itself.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 2, 2020, 10:55pm UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/31 "2020-01-02T22:55:08Z")

</div>

I’m using 45.77.116.206

I already installed it on vultr, digitalocean and also with a click on digitalocean.  
Also tested with 4GB  
the errors were the same, I can’t enter

---

<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: [January 3, 2020, 1:50am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/32 "2020-01-03T01:50:06Z")

</div>

How many times have you installed it?

**If** you’ve exhausted the certificate issuance limit for your domain you will need a week before Let’s Encrypt will issue a certificate.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 3, 2020, 1:56am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/33 "2020-01-03T01:56:56Z")

</div>

The cloud is off, I’m not using SSL.

 ![cloudflare 4](https://global.discourse-cdn.com/meta/original/3X/7/5/75602ea1e1abaa9d99867b75b599dd95991d9a5b.png)

---

<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: [January 3, 2020, 2:00am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/34 "2020-01-03T02:00:02Z")

</div>

Let’s Encrypt isn’t Cloudflare.

Let’s Encrypt is free SSL, Cloudflare is DNS, CDN and anti-DDOS.

If there was any VPS firewall policy in place preventing you from accessing the server, and you reinstalled multiple times, then you likely exhausted the certificate issuance quota for seven days, and are now on cooldown.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 3, 2020, 2:04am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/35 "2020-01-03T02:04:47Z")

</div>

> [@Stephen](#):
>
> Let’s Encrypt isn’t Cloudflare.
> 
> Let’s Encrypt is free SSL, Cloudflare is DNS, CDN and anti-DDOS.
> 
> If there was any VPS firewall policy in place preventing you from accessing the server, and you reinstalled multiple times, then you likely exhausted the certificate issuance quota for seven days, and are now on cool down.

The error occurs from the first time.  
Where can I check for certificate issuance?  
Which makes no sense since the cloud is down, ssl is not active.

---

<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: [January 3, 2020, 2:06am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/36 "2020-01-03T02:06:36Z")

</div>

This:

> [@Eduardo\_Braga](#):
>
> the cloud is down

Doesn’t mean this:

> [@Eduardo\_Braga](#):
>
> ssl is not active

If you entered an email to enable Let’s Encrypt, then **the server would request a certificate from Let’s Encrypt**.

If you exhaust the number of requests, Let’s Encrypt won’t issue a new certificate for seven days.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 3, 2020, 2:07am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/37 "2020-01-03T02:07:20Z")

</div>

Yes I can insert, but to my knowledge the discourse works without ssl.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 3, 2020, 2:18am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/38 "2020-01-03T02:18:25Z")

</div>

> [@Stephen](#):
>
> If you entered an email to enable Let’s Encrypt, then **the server would request a certificate from Let’s Encrypt**.
> 
> If you exhaust the number of requests, Let’s Encrypt won’t issue a new certificate for seven days.

SSL

 ![ssl](https://global.discourse-cdn.com/meta/original/3X/1/f/1fe7866d00ab6ef46eb2951b233b23480761cbee.png)

 ![ssl ativo](https://global.discourse-cdn.com/meta/original/3X/a/a/aa46fab74046801239989978c442c108b323b862.png)

forum.meuxbox.com.br I still can’t have access

---

<div class="post-metadata">

### Author: ![danb35](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@danb35](https://meta.discourse.org/u/danb35)
#### Post date: [January 3, 2020, 2:33am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/39 "2020-01-03T02:33:08Z")

</div>

> [@Eduardo\_Braga](#):
>
> forum.meuxbox.com.br

So yes, you are requesting a SSL certificate. However, this report:

> **[Make your website better](https://check-your-website.server-daten.de/?q=forum.meuxbox.com.br#ct-logs)**
>
>   | Check your redirects http - https, your preferred version (www vs. non-www), certificates, connections and your html-content. A ranking system shows, if your domain is A+ (no errors + preload), has errors (https - http) or loops.

…indicates that you’ve created five identical certificates within the last week–in fact, all of them were created on 27 Dec, within a span of 45 minutes:

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/6/166e416c603db97dba00416f95d3e34c1b4683c6.png)  
Let’s Encrypt won’t issue another cert until tomorrow. And since the web server configuration requires the cert, it won’t start, which is why you’re getting the “connection refused” error.

Wait until tomorrow after 0230Z (which, if I have my math right, is about an hour from now) and re-run the installation. The cert should create properly, and then you should be good to go.

---

<div class="post-metadata">

### Author: ![Eduardo\_Braga](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eduardo_braga/32/110348_2.png) [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)
#### Post date: [January 3, 2020, 2:36am UTC](https://meta.discourse.org/t/cloudflare-with-discourse/137456/40 "2020-01-03T02:36:05Z")

</div>

I have to redo the installation?  
but can I continue with the same IP? Or create a new server?

I don’t think it’s the certificate problem, the error happens since the first time I installed the certificate.

I tried several different servers and configurations.

[Previous page](https://meta.discourse.org/t/cloudflare-with-discourse/137456.md?page=1)

[Next page](https://meta.discourse.org/t/cloudflare-with-discourse/137456.md?page=3)
