# Could not obtain directory: cURL error 7: Failed connect to acme-v02.api.letsencrypt.org:443; No route to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)

**URL:** <https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967>\
**Category:** Help\
**Created:** [October 30, 2022, 10:04pm UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967 "2022-10-30T22:04:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![resatyildiz](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@resatyildiz](https://community.letsencrypt.org/u/resatyildiz)\
**Post date:** [October 30, 2022, 10:04pm UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/1 "2022-10-30T22:04:32Z")

</div>

**I tried renew ssl certificates for my domains, I get this error** `'Could not obtain directory: cURL error 7: Failed connect to acme-v02.api.letsencrypt.org:443; No route to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)'`

Example  
My domain is: 7sdesign.com.tr

I ran this command: `curl -v https://acme-v02.api.letsencrypt.org/directory`

It produced this output:

```nohighlight
* About to connect() to acme-v02.api.letsencrypt.org port 443 (#0)
* Trying 172.65.32.248...
* Connection timed out
* Trying 2606:4700:60:0:f53d:5624:85c7:3a2c...
* No route to host
* Failed connect to acme-v02.api.letsencrypt.org:443; No route to host
* Closing connection 0
curl: (7) Failed connect to acme-v02.api.letsencrypt.org:443; No route to host

```

and

I ran this command: `echo | openssl s_client -connect google.com:443 | head`

It produced this output:

```nohighlight
depth=3 C = BE, O = GlobalSign nv-sa, OU = Root CA, CN = GlobalSign Root CA
verify return:1
depth=2 C = US, O = Google Trust Services LLC, CN = GTS Root R1
verify return:1
depth=1 C = US, O = Google Trust Services LLC, CN = GTS CA 1C3
verify return:1
depth=0 CN = *.google.com
verify return:1
CONNECTED(00000003)
---
Certificate chain
 0 s:/CN=*.google.com
   i:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
 1 s:/C=US/O=Google Trust Services LLC/CN=GTS CA 1C3
   i:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
 2 s:/C=US/O=Google Trust Services LLC/CN=GTS Root R1
   i:/C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA
---
DONE

```

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): **yes(plesk)**

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

---

<div class="post-metadata">

**Author:** ![Osiris](https://avatars.discourse-cdn.com/v4/letter/o/839c29/32.png) [@Osiris](https://community.letsencrypt.org/u/Osiris)\
**Post date:** [October 30, 2022, 10:32pm UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/2 "2022-10-30T22:32:59Z")

</div>

What if you'd try:

`curl -v4 https://acme-v02.api.letsencrypt.org/directory`

If that one succeeds, your IPv6 connectivity is broken.

---

<div class="post-metadata">

**Author:** ![resatyildiz](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@resatyildiz](https://community.letsencrypt.org/u/resatyildiz)\
**Post date:** [October 30, 2022, 10:48pm UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/3 "2022-10-30T22:48:02Z")

</div>

Thank you for your help,

I tried this

```nohighlight
curl -v4 https://acme-v02.api.letsencrypt.org/directory

```

and I got this

```nohighlight
* About to connect() to acme-v02.api.letsencrypt.org port 443 (#0)
* Trying 172.65.32.248...
* Connection timed out
* Failed connect to acme-v02.api.letsencrypt.org:443; Connection timed out
* Closing connection 0
curl: (7) Failed connect to acme-v02.api.letsencrypt.org:443; Connection timed out

```

---

<div class="post-metadata">

**Author:** ![resatyildiz](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@resatyildiz](https://community.letsencrypt.org/u/resatyildiz)\
**Post date:** [October 30, 2022, 11:28pm UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/4 "2022-10-30T23:28:57Z")

</div>

How can I find out if my ip address is blocked by letsencrypt? 🤔

---

<div class="post-metadata">

**Author:** ![webprofusion](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/webprofusion/32/85310_2.png) [@webprofusion](https://community.letsencrypt.org/u/webprofusion)\
**Post date:** [October 31, 2022, 12:56am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/5 "2022-10-31T00:56:33Z")

</div>

The system is undergoing maintenance, could be that [https://letsencrypt.status.io/](https://letsencrypt.status.io/)

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [October 31, 2022, 2:00am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/6 "2022-10-31T02:00:47Z")

</div>

Please show:  
`netstat -nr`

---

<div class="post-metadata">

**Author:** ![resatyildiz](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@resatyildiz](https://community.letsencrypt.org/u/resatyildiz)\
**Post date:** [October 31, 2022, 6:12am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/7 "2022-10-31T06:12:39Z")

</div>

I have this problem in a long time. I looked to a lot of document and solutions, but I couldn't solve this problem.

---

<div class="post-metadata">

**Author:** ![resatyildiz](https://avatars.discourse-cdn.com/v4/letter/r/c2a13f/32.png) [@resatyildiz](https://community.letsencrypt.org/u/resatyildiz)\
**Post date:** [October 31, 2022, 6:13am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/8 "2022-10-31T06:13:25Z")

</div>

Ok,

Here it is;

```nohighlight
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 185. **.**.1 0.0.0.0 UG 0 0 0 ens160
172.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 docker0
185. **.**.0 0.0.0.0 255.255.255.0 U 0 0 0 ens160

```

I wrote '\*' terms for security.

---

<div class="post-metadata">

**Author:** ![rg305](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/rg305/32/91314_2.png) [@rg305](https://community.letsencrypt.org/u/rg305)\
**Post date:** [October 31, 2022, 7:00am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/9 "2022-10-31T07:00:23Z")

</div>

I don't see a routing issue.  
Must be something else...

---

<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:** [November 30, 2022, 7:01am UTC](https://community.letsencrypt.org/t/could-not-obtain-directory-curl-error-7-failed-connect-to-acme-v02-api-letsencrypt-org-443-no-route-to-host-see-https-curl-haxx-se-libcurl-c-libcurl-errors-html/186967/10 "2022-11-30T07:01:05Z")

</div>

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