avto-dev / roadrunner-laravel

[ABANDONED] Moved to https://github.com/spiral/roadrunner-laravel
MIT License
120 stars 15 forks source link

Got Error with Laravel #33

Closed litan1106 closed 4 years ago

litan1106 commented 4 years ago

Laravel Version v6.16

RR Version RoadRunner v1.6.1

Roadrunner-laravel Version v3.0.2

.rr.yaml rpc: enable: false http: address: 0.0.0.0:9090 workers: command: 'php ./vendor/bin/rr-worker' static: dir: 'public'

DEBU[0000] [rpc]: disabled DEBU[0000] [metrics]: disabled DEBU[0000] [headers]: disabled DEBU[0000] [health]: disabled DEBU[0000] [http]: started ERRO[0000] [http]: unable to connect to worker: unexpected response, header is missing: signal: killed Error: [http]: unable to connect to worker: unexpected response, header is missing: signal: killed

tarampampam commented 4 years ago

Can you attach application logs?

tarampampam commented 4 years ago

And what you see after execution php ./vendor/bin/rr-worker in shell?

litan1106 commented 4 years ago

And what you see after execution php ./vendor/bin/rr-worker in shell?

I only noticed the blank spaces. No stderr

litan git:(master) php ./vendor/bin/rr-worker

eldario commented 4 years ago

I also encountered such a problem. Do you have a valid APP_KEY?

litan1106 commented 4 years ago

yes, I ran both nginx-fpm and rr -c .rr.yaml serve -d -v last week (it was fine.)

somehow, I ran into the error this week. ERRO[0000] [http]: unable to connect to worker: unexpected response, header is missing: signal: killed

tarampampam commented 4 years ago

Application starts in docker? If yes - do you use docker volumes? If yes - are sure what all composer dependencies installed?

litan1106 commented 4 years ago

I couldn't reproduce with a fresh laravel. It must be some conflict with other laravel packages.