Time out error from go daddy server

Hello all,
I am trying to run a docker file, and something inside is using letsencrypt to get a cert. the issue is that on godaddy’s servers I get the following error:

http: TLS handshake error from 50.210.91.166:34995: Get "https://acme-v02.api.letsencrypt.org/directory": dial tcp 172.65.32.248:443: i/o timeout

Anyone have any ideas as to how to fix this? I have tried to run wget from the server on the url: https://acme-v02.api.letsencrypt.org/directory
and I do get the JSON response:
{
“keyChange”: “https://acme-v02.api.letsencrypt.org/acme/key-change”,
“meta”: {
“caaIdentities”: [
letsencrypt.org
],
“termsOfService”: “https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf”,
“website”: “https://letsencrypt.org
},
“nSzpb2tklis”: “Adding random entries to the directory”,
“newAccount”: “https://acme-v02.api.letsencrypt.org/acme/new-acct”,
“newNonce”: “https://acme-v02.api.letsencrypt.org/acme/new-nonce”,
“newOrder”: “https://acme-v02.api.letsencrypt.org/acme/new-order”,
“revokeCert”: “https://acme-v02.api.letsencrypt.org/acme/revoke-cert
}

any help would be much appreciated!

1 Like

Can you run the same wget inside the Docker container (using --entrypoint or docker exec)?

1 Like

It is failing.
Do you know how I can get it to connect from within the container?
/ $ wget https://acme-v02.api.letsencrypt.org/directory
Connecting to acme-v02.api.letsencrypt.org (172.65.32.248:443)
wget: can't connect to remote host (172.65.32.248): Operation timed out

How about google.com?

Docker’s default networking bridge should just work out of the box, you shouldn’t need to do anything. I guess that something is going on on the Docker host with configuration or firewall.

1 Like

I have attempted the same call from the host, and it works great. That is why I am wondering if it could have something to do with the setup of the docker, sadly, i don’t know much about docker.

1 Like

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