This message validation failed on the message sent to STDOUT, RR docs: https://docs.roadrunner.dev/docs, invalid message: ...
means that you or some application sent a non-correct message (raw) to the STDOUT
.
Process STDOUT
is reserved for the RR communication with the PHP process via the goridge
protocol (v3
).
How to fix that?
- Check your application. All dependencies should send their messages to the
STDERR
instead ofSTDOUT
. You may see the output after theinvalid message
. It might be shrunk onwindows
. - Check
dd
,echo
inserted by you. PHP workers can redirectecho
automatically from theSTDOUT
toSTDERR
but only after the worker is initialized fully. - Worker from the RRv1 was used. To update, see: link
- OPcache is enabled with JIT, but some extensions don't support it, which leads to the warnings. Tune the
error_reporting
configuration option (use only errors): issue - If you use a Symfony runtime, do not forget to add
APP_RUNTIME
to the server environment variables, as described here: https://github.com/php-runtime/roadrunner-symfony-nyholm.