airbrake / phpbrake

The official Airbrake PHP error notifier
https://airbrake.io
MIT License
48 stars 36 forks source link

cURL error 60: SSL certificate problem: unable to get local issuer certificate #99

Closed TheBlackPlague closed 3 years ago

TheBlackPlague commented 4 years ago

Occurred on a local PC running Windows 10.

[Server thread/CRITICAL]: GuzzleHttp\Exception\RequestException: "cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)" (EXCEPTION) in ".../vendor/guzzlehttp/guzzle/src/Handler/CurlFactory" at line 201

Relevant Stack Trace:

[17:07:14] [Server thread/DEBUG]: #0 .../vendor/guzzlehttp/guzzle/src/Handler/CurlFactory(155): GuzzleHttp\Handler\CurlFactory::createRejection(object GuzzleHttp\Handler\EasyHandle, array[41])
[17:07:14] [Server thread/DEBUG]: #1 .../vendor/guzzlehttp/guzzle/src/Handler/CurlFactory(105): GuzzleHttp\Handler\CurlFactory::finishError(object GuzzleHttp\Handler\CurlHandler, object GuzzleHttp\Handler\EasyHandle, object GuzzleHttp\Handler\CurlFactory)
[17:07:14] [Server thread/DEBUG]: #2 .../vendor/guzzlehttp/guzzle/src/Handler/CurlHandler(43): GuzzleHttp\Handler\CurlFactory::finish(object GuzzleHttp\Handler\CurlHandler, object GuzzleHttp\Handler\EasyHandle, object GuzzleHttp\Handler\CurlFactory)
[17:07:14] [Server thread/DEBUG]: #3 .../vendor/guzzlehttp/guzzle/src/Handler/Proxy(28): GuzzleHttp\Handler\CurlHandler->__invoke(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #4 .../vendor/guzzlehttp/guzzle/src/Handler/Proxy(51): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #5 .../vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware(37): GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #6 .../vendor/guzzlehttp/guzzle/src/Middleware(29): GuzzleHttp\PrepareBodyMiddleware->__invoke(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #7 .../vendor/guzzlehttp/guzzle/src/RedirectMiddleware(70): GuzzleHttp\Middleware::GuzzleHttp\{closure}(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #8 .../vendor/guzzlehttp/guzzle/src/Middleware(57): GuzzleHttp\RedirectMiddleware->__invoke(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #9 .../vendor/guzzlehttp/guzzle/src/HandlerStack(71): GuzzleHttp\Middleware::GuzzleHttp\{closure}(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #10 .../vendor/guzzlehttp/guzzle/src/Client(361): GuzzleHttp\HandlerStack->__invoke(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #11 .../vendor/guzzlehttp/guzzle/src/Client(113): GuzzleHttp\Client->transfer(object GuzzleHttp\Psr7\Request, array[11])
[17:07:14] [Server thread/DEBUG]: #12 .../vendor/guzzlehttp/guzzle/src/Client(130): GuzzleHttp\Client->sendAsync(object GuzzleHttp\Psr7\Request, array[12])
[17:07:14] [Server thread/DEBUG]: #13 .../vendor/airbrake/phpbrake/src/Notifier(337): GuzzleHttp\Client->send(object GuzzleHttp\Psr7\Request, array[2])
[17:07:14] [Server thread/DEBUG]: #14 .../vendor/airbrake/phpbrake/src/Notifier(308): Airbrake\Notifier->sendRequest(object GuzzleHttp\Psr7\Request)
[17:07:14] [Server thread/DEBUG]: #15 .../vendor/airbrake/phpbrake/src/Notifier(386): Airbrake\Notifier->sendNotice(array[2])
[17:07:14] [Server thread/DEBUG]: #16 .../vendor/airbrake/phpbrake/src/Instance(46): Airbrake\Notifier->notify(object Exception)
[17:07:14] [Server thread/DEBUG]: #17 .../internal/ErrorTracker(68): Airbrake\Instance::notify(object Exception)

The ... has been done as the project directory names are private. Thanks for understanding, all relevant information has been provided.

nebez commented 3 years ago

This isn't a bug.

TheBlackPlague commented 3 years ago

This isn't a bug.

I mean now it doesn't really matter because you're replying almost a year later.