Seldaek / monolog

Sends your logs to files, sockets, inboxes, databases and various web services

Home Page:https://seldaek.github.io/monolog/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP 7.3 Runtime Exception

rhzs opened this issue · comments

commented

Monolog version 2 from Lumen 7.2.* implementation, PHP 7.3.20 with Opcache enabled.

I got the following Runtime Exception from my slack channel

{
    "class": "RuntimeException",
    "message": "Curl error (code 16): ",
    "code": 0,
    "file": "/var/www/vendor/monolog/monolog/src/Monolog/Handler/Curl/Util.php:53",
    "trace": [
        "/var/www/vendor/monolog/monolog/src/Monolog/Handler/SlackWebhookHandler.php:112",
        "/var/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:42",
        "/var/www/vendor/monolog/monolog/src/Monolog/Logger.php:325",
        "/var/www/vendor/monolog/monolog/src/Monolog/Logger.php:504",
        "/var/www/vendor/illuminate/log/Logger.php:174",
        "/var/www/vendor/illuminate/log/Logger.php:123",
        "/var/www/vendor/illuminate/log/LogManager.php:591",
        "/var/www/vendor/illuminate/support/Facades/Facade.php:261",
        "/var/www/app/Console/Commands/FetchResponseTimeCommand.php:19",
        "/var/www/vendor/illuminate/container/BoundMethod.php:37",
        "/var/www/vendor/illuminate/container/Util.php:37",
        "/var/www/vendor/illuminate/container/BoundMethod.php:95",
        "/var/www/vendor/illuminate/container/BoundMethod.php:39",
        "/var/www/vendor/illuminate/container/Container.php:596",
        "/var/www/vendor/illuminate/console/Command.php:134",
        "/var/www/vendor/symfony/console/Command/Command.php:258",
        "/var/www/vendor/illuminate/console/Command.php:121",
        "/var/www/vendor/symfony/console/Application.php:916",
        "/var/www/vendor/symfony/console/Application.php:264",
        "/var/www/vendor/symfony/console/Application.php:140",
        "/var/www/vendor/illuminate/console/Application.php:93",
        "/var/www/vendor/laravel/lumen-framework/src/Console/Kernel.php:116",
        "/var/www/artisan:35"
    ]
}

Sorry but not sure what to do about this.. Have you figured it out by any chance?

cURL error 16 btw is this, which isn't super helpful:

A problem was detected in the HTTP2 framing layer. This is somewhat generic and can be one out of several problems, see the error buffer for details.

Clearing the data stored in the ram memory during each process can solve this. I'm not quite sure, but I'll take a look.

Why is this issue called "PHP 7.3 Runtime Exception" ?

How to reproduce this?

@rhzs do you have more info about this? otherwise , can this be close?