Curl is probably trying to get the DNS server back and, as it cannot, it just hangs there, waiting for a timeout.
If the timeout is set to IPV6, you can try CURL_IPRESOLVE_V4 to bypass it completely. It really depends on the configuration of your computer and is more related to the problem with the server.
source share