Hello everyone. I am running docker on a Ubuntu 16.04 server. I’m trying to get a cert for my Home Assistant instance but I keep getting this error:
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: mcelroy-home.duckdns.org
Type: connection
Detail: Fetching
http://mcelroy-home.duckdns.org/.well-known/acme-challenge/SI55_-5annVg3DT1InySMNDtXDJmgl6a8-hXZQiZC7E:
Timeout
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
I have port 80:80 and 443:443 but still no luck. Does anyone have any ideas?
Please post a lot more information about HOW you're trying to get a certificate. So you're running docker. And you're trying to get a certificate for HA. But HOW? Which commands are you running? How is the docker instance set up? Which client?
We need a lot more information, because crystal globes are a myth.
I have both port 80 and 443 open on my router, and I am using docker compose to start everything up. Sorry I am a complete noob at all of this stuff so I’m not very good at explaining everything!
I have turned off all firewalls. For some reason when I forward port 8123 I can reach it by http://mcelroy-home.duckdns.org:8123 out side of my network.
I'm not getting a connection refused error when trying to connect. This would normally happen when there isn't a server (webserver or certbot) running on a specific port. In stead I'm getting a time out.
Could it be port 80 is being blocked by your internet service provider?