# Failed to connect to api.ipify.org at port 443: [Errno 8] nodename nor - DNSCRYPT

**URL:** https://discourse.roots.io/t/failed-to-connect-to-api-ipify-org-at-port-443-errno-8-nodename-nor-dnscrypt/16015
**Category:** trellis
**Created:** 2019-07-04T00:06:45Z
**Posts:** 4

## Post 1 by @kebie — 2019-07-04T00:06:45Z

I am trying to to push launch my staging server on a blank Ubuntu digitalocean droplet following the guide. And I get the following error.

```
TASK [common : ipify_facts] **********************************************************************************************************************************************************************************************************************************************************************
System info:
  Ansible 2.7.5; Darwin
  Trellis 1.0.3: April 30th, 2019
---------------------------------------------------
Failed to connect to api.ipify.org at port 443: [Errno 8] nodename nor
servname provided, or not known
fatal: [159.203.54.64 -> localhost]: FAILED! => {"changed": false}

TASK [common : fail] *****************************************************************************************************************************************************************************************************************************************************************************
System info:
  Ansible 2.7.5; Darwin
  Trellis 1.0.3: April 30th, 2019
---------------------------------------------------
External IP resolution failed. Check that your DNS servers are working. Try
to disable DNSCrypt if you are using it.
fatal: [159.203.54.64]: FAILED! => {"changed": false}
	to retry, use: --limit @/Users/xxxxxx/Development/xxx.xxx.xx/trellis/server.retry

PLAY RECAP ***************************************************************************************************************************************************************************************************************************************************************************************
159.203.54.64 : ok=11 changed=0 unreachable=0 failed=2   
localhost : ok=0 changed=0 unreachable=0 failed=0
```

I found some thing about it at the github [https://github.com/roots/trellis/issues/949](https://github.com/roots/trellis/issues/949) so I went on the Ubuntu server and found the DNSCrypt package was installed and removed it, reset the server and still the same error. I don’t even understand if it means my local machine or the server, I don’t have it on either now that I can find running anywhere. It something I would install on my own. Also if this is part of setting up a base Droplet should the droplet guide be updated?

---

## Post 2 by @kebie — 2019-07-04T16:17:36Z

I read more about this, it is trying to run from my local machine and connect to [http://api.ipify.org](http://api.ipify.org) which seems down or is not a url anymore when their website says to use [http://api6.ipify.org](http://api6.ipify.org) ?

---

## Post 3 by @kebie — 2019-07-04T16:40:02Z

If anyone read all this, [api.ipify.org](http://api.ipify.org) is straight up blocked by the university campus network I am on. Works on my phone.

---

## Post 4 by @system — 2019-08-15T00:06:46Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
