Skip to content

Instantly share code, notes, and snippets.

@xandros15
Last active December 6, 2016 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xandros15/4143e02ed703df97ae88dff7e31482d1 to your computer and use it in GitHub Desktop.
Save xandros15/4143e02ed703df97ae88dff7e31482d1 to your computer and use it in GitHub Desktop.
* Hostname was NOT found in DNS cache
* Trying 151.101.36.193...
* Connected to api.imgur.com (151.101.36.193) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
* subject: C=US; ST=California; L=San Francisco; O=Imgur, Inc.; CN=*.imgur.com
* start date: 2016-10-20 00:00:00 GMT
* expire date: 2017-12-08 12:00:00 GMT
* subjectAltName: api.imgur.com matched
* issuer: C=US; O=DigiCert Inc; CN=DigiCert SHA2 Secure Server CA
* SSL certificate verify ok.
> POST /3/image HTTP/1.1
User-Agent: GuzzleHttp/6.2.1 curl/7.38.0 PHP/7.0.13-1~dotdeb+8.1
Content-Type: multipart/form-data; boundary=58474c666108d
Host: api.imgur.com
Authorization: Bearer *******************************************
Content-Length: 9456
* upload completely sent off: 9456 out of 9456 bytes
* SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
* Closing connection 0
{
"message": "Slim Application Error",
"exception": [
{
"type": "GuzzleHttp\\Exception\\RequestException",
"code": 0,
"message": "cURL error 56: SSL read: error:00000000:lib(0):func(0):reason(0), errno 104 (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)",
"file": "/var/www/aigisu/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 187,
"trace": [
"#0 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(150): GuzzleHttp\\Handler\\CurlFactory::createRejection(Object(GuzzleHttp\\Handler\\EasyHandle), Array)",
"#1 /var/www/aigisu/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/aigisu/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43): GuzzleHttp\\Handler\\CurlFactory::finish(Object(GuzzleHttp\\Handler\\CurlHandler), Object(GuzzleHttp\\Handler\\EasyHandle), Object(GuzzleHttp\\Handler\\CurlFactory))",
"#3 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28): GuzzleHttp\\Handler\\CurlHandler->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#4 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#5 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(72): GuzzleHttp\\Handler\\Proxy::GuzzleHttp\\Handler\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#6 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Middleware.php(30): GuzzleHttp\\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#7 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(68): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#8 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Middleware.php(59): GuzzleHttp\\RedirectMiddleware->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#9 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#10 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Client.php(275): GuzzleHttp\\HandlerStack->__invoke(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#11 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Client.php(96): GuzzleHttp\\Client->transfer(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#12 /var/www/aigisu/vendor/guzzlehttp/guzzle/src/Client.php(104): GuzzleHttp\\Client->sendAsync(Object(GuzzleHttp\\Psr7\\Request), Array)",
"#13 /var/www/aigisu/src/Components/Imgur/Client.php(47): GuzzleHttp\\Client->send(Object(GuzzleHttp\\Psr7\\Request))",
"#14 /var/www/aigisu/src/Components/Imgur/Image.php(54): Aigisu\\Components\\Imgur\\Client->execute(Object(GuzzleHttp\\Psr7\\Request))",
...,
"#68 {main}"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment