Closed sergey-yabloncev closed 3 years ago
Does manual php worker.php
work and does not produce any output until you type anything in CLI?
Check Troubleshooting here https://roadrunner.dev/docs/php-worker
if you log in to the container and run it in manual mode
bash-5.1$ php ./vendor/bin/rr-worker
Warning: JIT is incompatible with third party extensions that override zend_execute_ex(). JIT disabled. in Unknown on line 0
if start server
bash-5.1$ //usr/local/bin/rr serve -c /var/www/.rr.yml -w /var/www -d
ERRO[0000] [http]: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed
Error: [http]: unable to connect to worker: invalid data found in the buffer (possible echo): signal: killed
if disable JIT in PHP, all work well, but I think its not correct behavior. If start script in PHP CLI JIT disabled and we see the warning
Sounds like your version of xDebug conflicts with JIT, RR has nothing to do with it. But such behavior breaks the communication protocol. You can try to use Unix pipes but the problem still is there.
Thank's!
@sergey-yabloncev If your problem was solved, feel free to close the issue :)
I use RoadRunner for a project on laravel in docker. When I add extension xdebug server not work. But if I remove extension xdebug all working well.
Errortrace, Backtrace or Panictrace
Dockerfile
docker-compose
.rr.yaml
System information
PHP version 8,0,1 roadrunner-laravel 3.7 RoadRunner version 1.9.2 Environment docker