Guzzle: cURL error 6: Could not resolve host

Created on 16 Oct 2015  路  3Comments  路  Source: guzzle/guzzle

One of the project using GuzzleHttp to handle the Http request but I do not know for whatever reason that cURL error jump out on certain environment.

Any idea how to test it and solve it?

Most helpful comment

@SharkIng can you please share the knowledge what exactly was incorrectly?

All 3 comments

It depends... If it happens consistently, then there's a networking problem with your server or with the remote server. If it happens periodically, then there's still a networking error somewhere, but you could try retrying the request to work around the issue. See https://github.com/guzzle/guzzle/blob/master/src/RetryMiddleware.php

I have found the issue.

It is because the cURL PHP library its not install currectly. Thanks anyway.

@SharkIng can you please share the knowledge what exactly was incorrectly?

Was this page helpful?
0 / 5 - 0 ratings