Connection timeout to nginx in docker using certbot

Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Type: connection
Detail: Fetching 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.


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

You are in good hands with @MikeMcQ


443 is open.
Gotta fix this.


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