Connection timeout to nginx in docker using certbot

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: payfazt.mepspay.com
Type: connection
Detail: 185.57.120.23: Fetching http://payfazt.mepspay.com/.well-known/acme-challenge/xyO9iecxyv34EmWvEi2hulosk4m6tvQfjzN-555yG7Y: Timeout during connect (likely firewall problem)

I have multiple docker containers one for certbot and another for nginx i am unable to verify acme challenge. certbot returns 504 time out error

Your nginx container is not responding to http requests (timeout). You must have a working http site to be able to use the http challenge.

Make sure you forwarded port 80 from your host to your nginx docker container.

It may also be easier to run certbot on the host. Then your nginx container uses the certs from the host using a mapped volume. There are many ways to use docker this is just one possibility.

4 Likes

Hi @nisarg, just wanted to welcome you to the LE community forum :slight_smile:

You are in good hands with @MikeMcQ

4 Likes

443 is open.
Gotta fix this.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.