# Site throws a blank screen after trying to enable LetsEncrypt

**URL:** https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514
**Category:** Support
**Created:** [2017年三月20日 02:46 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514 "2017-03-20T02:46:37Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://meta.discourse.org/u/arun)
#### Post date: [2017年三月20日 02:46 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/1 "2017-03-20T02:46:37Z")

</div>

I tried to follow the guide mentioned [on this page](https://meta.discourse.org/t/setting-up-lets-encrypt/40709?source_topic_id=54213) but the site shows me a white screen on http:// version and throws a “unable to connect” error on https:// version. I am not sure what problem is. Can someone help me here? Thanks!

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月20日 03:01 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/2 "2017-03-20T03:01:13Z")

</div>

Have you gone through the debugging steps?

---

<div class="post-metadata">

### Author: ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://meta.discourse.org/u/arun)
#### Post date: [2017年三月20日 03:20 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/3 "2017-03-20T03:20:49Z")

</div>

Well, I tried to see if certs were installed right. It showed **total: 0**. I tried **Manually reissue the cert** next and got it installed right. It shows **total: 4** now.

But now, even the http:// version is messy now. Shows me “unable to connect” error. I do not understand the logs completely, but AFAIK, it shows that there is something messy with the cert installation.

Any leads here? Thanks!

 ![](https://global.discourse-cdn.com/meta/original/3X/5/3/530fd6267c1d100533113fc45824c89bf2fd3933.png)

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月20日 03:42 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/4 "2017-03-20T03:42:31Z")

</div>

Can you try the following commands?

```plaintext
./launcher enter app
sv reload nginx

```

---

<div class="post-metadata">

### Author: ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://meta.discourse.org/u/arun)
#### Post date: [2017年三月20日 03:45 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/6 "2017-03-20T03:45:13Z")

</div>

> [@tgxworld](#):
>
> ./launcher enter app

Now it shows **Error response from daemon: Container app is not running** when I run this.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月20日 03:48 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/7 "2017-03-20T03:48:01Z")

</div>

What does `docker ps` show?

---

<div class="post-metadata">

### Author: ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://meta.discourse.org/u/arun)
#### Post date: [2017年三月20日 03:49 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/8 "2017-03-20T03:49:27Z")

</div>

It shows this?

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

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [2017年三月20日 04:11 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/9 "2017-03-20T04:11:48Z")

</div>

You need to start the container again before running those commands.

---

<div class="post-metadata">

### Author: ![arun](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@arun](https://meta.discourse.org/u/arun)
#### Post date: [2017年三月20日 10:50 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/10 "2017-03-20T10:50:53Z")

</div>

I have no idea what just happened. But, I rebuilt the app and now, my Discourse setup is on HTTPS! The certs seems to be installed just right too. Thank you so much on the help, @tgxworld! 😃

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2024年六月8日 12:44 UTC](https://meta.discourse.org/t/site-throws-a-blank-screen-after-trying-to-enable-letsencrypt/59514/11 "2024-06-08T12:44:51Z")

</div>

此主题已在 2637 天后自动关闭。不再允许回复。
