Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors reported when using RoadRunner #713

Closed
michael-rubel opened this issue Jul 4, 2023 · 3 comments
Closed

Errors reported when using RoadRunner #713

michael-rubel opened this issue Jul 4, 2023 · 3 comments
Assignees

Comments

@michael-rubel
Copy link

michael-rubel commented Jul 4, 2023

Octane Version

2.0.1

Laravel Version

10.14.1

PHP Version

8.2.3

What server type are you using?

Roadrunner

Server Version

v2023.1.5

Description

local.ERROR: Unable to read frame header: Incorrect header size {"exception":"[object] (Spiral\\Goridge\\Exception\\HeaderException(code: 0): Unable to read frame header: Incorrect header size at /var/www/laravel/vendor/spiral/goridge/src/StreamRelay.php:78)
[stacktrace]
#0 /var/www/laravel/vendor/spiral/roadrunner-worker/src/Worker.php(83): Spiral\\Goridge\\StreamRelay->waitFrame()
roadrunner-php/worker#1 /var/www/laravel/vendor/spiral/roadrunner-http/src/HttpWorker.php(69): Spiral\\RoadRunner\\Worker->waitPayload()
roadrunner-php/worker#2 /var/www/laravel/vendor/spiral/roadrunner-http/src/PSR7Worker.php(102): Spiral\\RoadRunner\\Http\\HttpWorker->waitRequest()
roadrunner-php/worker#3 /var/www/laravel/vendor/laravel/octane/bin/roadrunner-worker(39): Spiral\\RoadRunner\\Http\\PSR7Worker->waitRequest()
roadrunner-php/worker#4 /var/www/laravel/vendor/bin/roadrunner-worker(120): include('...')
roadrunner-php/worker#5 {main}
local.ERROR: Uncaught ErrorException: file_put_contents(): Write of 811876 bytes failed with errno=32 Broken pipe in /var/www/laravel/vendor/spiral/roadrunner-worker/src/Internal/StdoutHandler.php:83
Stack trace:
#0 /var/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(254): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
roadrunner-php/worker#1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
roadrunner-php/worker#2 /var/www/laravel/vendor/spiral/roadrunner-worker/src/Internal/StdoutHandler.php(83): file_put_contents()
roadrunner-php/worker#3 /var/www/laravel/vendor/symfony/http-foundation/Response.php(364): Spiral\RoadRunner\Internal\StdoutHandler::Spiral\RoadRunner\Internal\{closure}()
roadrunner-php/worker#4 /var/www/laravel/vendor/symfony/http-foundation/Response.php(377): Symfony\Component\HttpFoundation\Response->sendContent()
roadrunner-php/worker#5 /var/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(217): Symfony\Component\HttpFoundation\Response->send()
roadrunner-php/worker#6 /var/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(194): Illuminate\Foundation\Bootstrap\HandleExceptions->renderHttpResponse()
roadrunner-php/worker#7 /var/www/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(254): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
roadrunner-php/worker#8 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
roadrunner-php/worker#9 {main}

Steps To Reproduce

Install fresh Laravel & Octane with Roadrunner as described in roadrunner-php/issues#16

Member of roadrunner states that this is probably the issue with Octane in roadrunner-php/issues#16

@mariandomanik
Copy link

We are receiving the same exceptions after updating Octane to v1.4.3 and Roadrunner

spiral/roadrunner | v2.12.3
spiral/roadrunner-cli | v2.4.0
spiral/roadrunner-http | v2.2.0
spiral/roadrunner-worker | v2.3.0

these exceptions are generated massively during deploy, when the current workers are being shut down.

@driesvints
Copy link
Member

Thanks all. Most likely we won't get to this before Laracon so please bear with us until after the event/week.

@driesvints
Copy link
Member

We merged a Pr for this thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants