# Timeout during connect (likely firewall problem)

**URL:** <https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237>\
**Category:** Help\
**Created:** [January 5, 2024, 12:36pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237 "2024-01-05T12:36:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirmal.soundararajan](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/nirmal.soundararajan/32/76830_2.png) [@nirmal.soundararajan](https://community.letsencrypt.org/u/nirmal.soundararajan)\
**Post date:** [January 5, 2024, 12:36pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/1 "2024-01-05T12:36:48Z")

</div>

**My domain is:** imi.solutions

**I ran this command:** sudo /opt/letsencrypt/certbot-auto renew

**It produced this output:**

Your system is not supported by certbot-auto anymore.  
certbot-auto and its Certbot installation will no longer receive updates.  
You will not receive any bug fixes including those fixing server compatibility  
or security problems.  
Please visit [https://certbot.eff.org/](https://certbot.eff.org/) to check for other alternatives.  
Saving debug log to /var/log/letsencrypt/letsencrypt.log

* * *

Processing /etc/letsencrypt/renewal/robotime.imi.solutions.conf

* * *

Cert is due for renewal, auto-renewing...  
Plugins selected: Authenticator standalone, Installer None  
Renewing an existing certificate  
Performing the following challenges:  
http-01 challenge for robotime.imi.solutions  
Waiting for verification...  
Challenge failed for domain robotime.imi.solutions  
http-01 challenge for robotime.imi.solutions  
Cleaning up challenges  
Attempting to renew cert (robotime.imi.solutions) from /etc/letsencrypt/renewal/ robotime.imi.solutions.conf produced an unexpected error: Some challenges have f ailed.. Skipping.  
All renewal attempts failed. The following certs could not be renewed:  
/etc/letsencrypt/live/robotime.imi.solutions/fullchain.pem (failure)

* * *

All renewal attempts failed. The following certs could not be renewed:  
/etc/letsencrypt/live/robotime.imi.solutions/fullchain.pem (failure)

* * *

1 renew failure(s), 0 parse failure(s)

IMPORTANT NOTES:

- The following errors were reported by the server:

My web server is (include version): NGINX

The operating system my web server runs on is (include version): Ubuntu

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot):

---

<div class="post-metadata">

**Author:** ![nirmal.soundararajan](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/nirmal.soundararajan/32/76830_2.png) [@nirmal.soundararajan](https://community.letsencrypt.org/u/nirmal.soundararajan)\
**Post date:** [January 5, 2024, 12:40pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/2 "2024-01-05T12:40:23Z")

</div>

We migrated the VM from different Hosting provider so Public IP is now changed and that is when we started getting this error.

---

<div class="post-metadata">

**Author:** ![9peppe](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/9peppe/32/31596_2.png) [@9peppe](https://community.letsencrypt.org/u/9peppe)\
**Post date:** [January 5, 2024, 12:46pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/3 "2024-01-05T12:46:56Z")

</div>

> [@nirmal.soundararajan](#):
>
> We migrated the VM

and yet

> [@nirmal.soundararajan](#):
>
> certbot-auto and its Certbot installation will no longer receive updates.

Why?

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 5, 2024, 12:50pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/4 "2024-01-05T12:50:35Z")

</div>

> [@nirmal.soundararajan](#):
>
> Detail: 220.233.144.254: Fetching  
> [http://robotime.imi.solutions/.well-known/acme-challenge/SZ-oqd2uz7Xn4Rwo7adZ](http://robotime.imi.solutions/.well-known/acme-challenge/SZ-oqd2uz7Xn4Rwo7adZ) UIL\_9hYqSUKRToWgQFqWaxQ:  
> Timeout during connect (likely firewall problem)

Port 80 is filtered (blocked) by something. Port 443 is open and working although uses an expired cert. Probably why you are trying to renew it 🙂

In any case, you need to review your HTTP (port 80) network config with your new host.

Use [https://letsdebug.net](https://letsdebug.net) to test any changes to your comms

PS: Oh, and adding on to 9peppe's comment about certbot-auto is this notice from Dec 2020 (but this does not explain your blocked port 80)

> [@Certbot-auto deprecated: Explanation and Solutions!](https://community.letsencrypt.org/t/certbot-auto-deprecated-explanation-and-solutions/139821):
>
> W…

---

<div class="post-metadata">

**Author:** ![nirmal.soundararajan](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/nirmal.soundararajan/32/76830_2.png) [@nirmal.soundararajan](https://community.letsencrypt.org/u/nirmal.soundararajan)\
**Post date:** [January 5, 2024, 1:58pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/5 "2024-01-05T13:58:54Z")

</div>

The Firewall is ports are open for 80 and 443 for this VM

I don't see an issue form the firewall side?

Could there be an issue on the VM side? if so where should i look on the VM?

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 5, 2024, 2:11pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/6 "2024-01-05T14:11:47Z")

</div>

> [@nirmal.soundararajan](#):
>
> if so where should i look on the VM?

Oh, hang on. I just realized you have an nginx server but were trying to use the `--standalone` authenticator which needs exclusive use of port 80. You should instead make sure nginx can listen on port 80 and use `--webroot` method instead of `--standalone`. You could also use `--nginx` but you already have an HTTPS server block configured so webroot probably better.

But, you still need port 80 to be able to connect to your nginx server for the HTTP Challenge to succeed.

Are you able to connect using `http://robotime.imi.solutions` from outside your local network? Like using a mobile phone with wifi disabled to use your carrier network?

---

<div class="post-metadata">

**Author:** ![nirmal.soundararajan](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/nirmal.soundararajan/32/76830_2.png) [@nirmal.soundararajan](https://community.letsencrypt.org/u/nirmal.soundararajan)\
**Post date:** [January 6, 2024, 11:03am UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/7 "2024-01-06T11:03:14Z")

</div>

> [@MikeMcQ](#):
>
> [http://robotime.imi.solutions](http://robotime.imi.solutions)

Im not able to access the site using HTTP, ive just checked it?

Is there anything that i can make changes to the config to make it work

---

<div class="post-metadata">

**Author:** ![MikeMcQ](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/mikemcq/32/52772_2.png) [@MikeMcQ](https://community.letsencrypt.org/u/MikeMcQ)\
**Post date:** [January 6, 2024, 12:49pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/8 "2024-01-06T12:49:08Z")

</div>

> [@nirmal.soundararajan](#):
>
> Im not able to access the site using HTTP

HTTPS requests (port 443) to your domain work although are using an expired cert.

You need to see why your system handles port 80 differently.

Try using http from your _local_ network to make sure your nginx/express setup handles port 80. Try `curl http://(local-ip)` and use the IP on your local network. If that works then something is blocking or not routing port 80 requests to that server.

Since port 443 (HTTPS) is working (apart from the expired cert) you could use the DNS Challenge to get a cert. But, you really should figure out why port 80 is failing to allow the HTTP Challenge to work and to properly redirect visitors from HTTP to HTTPS.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [February 5, 2024, 12:49pm UTC](https://community.letsencrypt.org/t/timeout-during-connect-likely-firewall-problem/211237/9 "2024-02-05T12:49:58Z")

</div>

Closed on February 5, 2024, 12:49pm UTC

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