Cant login to the dashboard

I am trying to log in to the dashboard and this error came

Your server had a problem connecting to WPMU DEV: "cURL error 28: Operation
timed out after 15001 milliseconds with 0 bytes received". Please try again.

If this problem continues, please contact your host with this error message
and ask:

*"Is php on my server properly configured to be able to contact
https://premium.wpmudev.org/api/dashboard/v1/
<https://premium.wpmudev.org/api/dashboard/v1/> with a POST HTTP request
via fsockopen or CURL?"*

I contacted the hosting and this is what they told me
root@aws.goalivemedia.com [public_html]# cat file.php
<?php
if(function_exists('fsockopen')) {

echo "fsockopen function is enabled";

}else {

echo "fsockopen is not enabled";

}
?>
root@aws.goalivemedia.com [public_html]# php file.php
fsockopen function is enabled
root@aws.goatail -n3 error_log
[01-Aug-2017 21:06:25 UTC] [WPMUDEV API Error] 4.2.1 | cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received ((unknown URL) [500])
[01-Aug-2017 22:06:26 UTC] [WPMUDEV API Error] 4.3.2 | cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received ((unknown URL) [500])
[01-Aug-2017 23:06:41 UTC] [WPMUDEV API Error] 4.3.2 | cURL error 28: Operation timed out after 15001 milliseconds with 0 bytes received ((unknown URL) [500])
root@aws.goalivemedia.com [public_html]# curl -IL https://premium.wpmudev.org/api/dashboard/v1/
HTTP/1.1 200 OK
Date: Tue, 01 Aug 2017 23:30:58 GMT
Content-Type: application/json; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=d3363ac04af16ed3da524ebe1279f17261501630257; expires=Wed, 01-Aug-18 23:30:57 GMT; path=/; domain=.wpmudev.org; HttpOnly
X-Robots-Tag: noindex
Link: <https://premium.wpmudev.org/api/>; rel="https://api.w.org/"
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
Access-Control-Allow-Headers: Authorization, Content-Type
Allow: GET
Content-Security-Policy: default-src https: data: wss: blob: 'unsafe-eval' 'unsafe-inline'
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Server: cloudflare-nginx
CF-RAY: 387c96973c8e7906-LAX

The error appears to stem from the URL it's trying to curl being unknown, the server can certainly connect via curl though. I also tried updating the max_execution_time to 300 just to see if this would change anything, it unfortunately did not.

So let me know how to get this resolved and help me use the dashboard and unlock the plugins