Closed incidentist closed 5 years ago
Sorry about it. The above error occurs because of a problem with the method of obtaining geographic location through an IP address (obtained by accessing http://www.cip.cc).
Please show the response of the following command:
ping www.cip.cc
> ping www.cip.cc
ping: cannot resolve www.cip.cc: Unknown host
I run a PiHole adblocker on my local network, and when I disabled it, the install worked. I verified that cip.cc isn't blacklisted, so I'm not sure what's going on there, but it does seem like the script should minimize the number of servers it absolutely needs to access in order for the install to work.
Yes, you're right, but the script still has to consider the geographical differences, I will continue to optimize the script, thank you for your advice.
Please show the response of the following command:
curl http://api.db-ip.com/v2/free/self/ipAddress
Discarded cip.cc
changed to api.db-ip.com
I'm trying to install flutter via homebrew using this tap, but the install fails because the
cip.cc
url it's trying to reach is not found. This should be wrapped in a try/catch that doesn't stop the install.