title: Google Api Php Client - cURL error 6: Could not resolve host:
body: <p>i'm using the Google APi PHP Client to verfiy Google Play Logins from my Android Application. Out of nowhere the service stopped working and gives me this error.</p>
  
  <blockquote>
    <p>Fatal error>:  Uncaught exception
    'GuzzleHttp\Exception\ConnectException' with message 'cURL error 6:
    Could not resolve host: www.googleapis.com (see
    <a href="http://curl.haxx.se/libcurl/c/libcurl-errors.html" rel="nofollow noreferrer">http://curl.haxx.se/libcurl/c/libcurl-errors.html</a>)' in
    /var/www/vhosts/smokah.one/api.smokah.one/csgo/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
    Stack trace:
    0 /var/www/vhosts/smokah.one/api.smokah.one/csgo/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle),
    Array)
    1 /var/www/vhosts/smokah.one/api.smokah.one/csgo/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(103): GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler),
    Object(GuzzleHttp\Handler\EasyHandle),
    Object(GuzzleHttp\Handler\CurlFactory))
    2 /var/www/vhosts/smokah.one/api.smokah.one/csgo/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43):
    GuzzleHttp\Handler\CurlFactory::finish(Object( in
    /var/www/vhosts/smokah.one/api.smokah.one/csgo/google-api-php-client/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
    on line <b>186</b><br /></p>
  </blockquote>
  
  <p>It happend out of nowhere. </p>
  
  <p>Sincerely Elias</p>