The user MihaVuk encountered an error during Let’s Encrypt HTTPS setup on a self-hosted Docker Discourse instance, with the ACME challenge failing due to a timeout. The issue was traced to port 80 being blocked by the company firewall, preventing access to the challenge file at /.well-known/acme-challenge/. Despite attempts to fix it via discourse-setup and manual edits, the problem persisted until the firewall was adjusted. MihaVuk initially suspected a configuration issue, but pfaffman pointed out the need for a standard install and potential port blocking. supermathie confirmed the issue via curl tests. Ultimately, MihaVuk resolved it by allowing ACME traffic through the firewall. MihaVuk confirmed the fix.
○ → curl http://discourse-test3.docentric.com/srv/status
ok
○ → timeout -v 5s curl http://discourse-test3.docentric.com/.well-known/acme-challenge/iEFjgyseuVL1IzIrTjmfhwv0HqV7EgUmQUVhy1nmnCE
timeout: sending signal TERM to command ‘curl’
I’m not sure what would cause that if it’s a standard setup.
It is an old test installation without HTTPS and now I would like to enable HTTPS.
I have tried to edit app.yml manually and also to run discourse-setup. In both cases the same error.
I have also tried to delete Discourse (containers and files) and install from scratch, but the result is the same.
I agree that it looks that port 80 in not available, but if I comment the following two lines in app.yml, the forum runs on HTTP without problem.