This error usually indicates a DNS related problem. Check the DNS settings on your device and confirm that you can browse the Internet using Safari or another browser (double check by visiting a site that you have not visited before to make sure it is not cached).
If there is a URL, you can GET (instead of POST) on the same server, try visiting it directly in Safari on the device.
source share