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

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 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?

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

If anyone read all this, api.ipify.org is straight up blocked by the university campus network I am on. Works on my phone.

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