Skip to content

CC-14 - Guzzle Error if querying 3+ coins #21

@sjason19

Description

@sjason19

Context: If we compare more than 3 coins I think the API is getting throttled and then we get a Guzzle HTTP error:
Fatal error: Uncaught GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 3004 milliseconds with 0 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in /Users/Documents/GitHub/crypto-currency-manual-trader-bot/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:186
Stack trace:

#0 /Users/Documents/GitHub/crypto-currency-manual-trader-bot/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle), Array)
#1 /Users/Documents/GitHub/crypto-currency-manual-trader-bot/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 /Users/Documents/GitHub/crypto-currency-manual-trader-bot/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\Cur in /Users/Documents/GitHub/crypto-currency-manual-trader-bot/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php on line 186

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions