webapp blocked by DNS
In some networks the API domain name is blocked by DNS. So connections to the IP address works, but the domain name doesn't resolve. We know of Iran doing that for api.black.riseup.net.
Let's explore how to make a work around.