首頁 > 後端開發 > php教程 > laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout

laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout

WBOY
發布: 2016-06-06 20:20:48
原創
1510 人瀏覽過

<code>n Connection.php 114 line $responseLine = $socket->getLine(); 这里的返回值为NULL

Unhandled response: HTTP/1.1 408 Request Timeout
in PutCommand.php line 110
at PutCommand->parseResponse('HTTP/1.1 408 Request Timeout', null) in Connection.php line 150
at Connection->dispatchCommand(object(PutCommand)) in Pheanstalk.php line 393
at Pheanstalk->_dispatch(object(PutCommand)) in Pheanstalk.php line 235
at Pheanstalk->put('{"job":"Illuminate\Queue\CallQueuedHandler@call","data":{"command":"O:21:\"App\Jobs\sendEmailJob\":4:{s:9:\"\u0000\u0000_event\";N;s:5:\"queue\";N;s:5:\"delay\";N;s:6:\"\u0000\u0000job\";N;}"}}', '1024', '0', '60') in BeanstalkdQueue.php line 86
at BeanstalkdQueue->pushRaw('{"job":"Illuminate\Queue\CallQueuedHandler@call","data":{"command":"O:21:\"App\Jobs\sendEmailJob\":4:{s:9:\"\u0000\u0000_event\";N;s:5:\"queue\";N;s:5:\"delay\";N;s:6:\"\u0000\u0000job\";N;}"}}', null) in BeanstalkdQueue.php line 63
at BeanstalkdQueue->push(object(sendEmailJob)) in Dispatcher.php line 270
at Dispatcher->pushCommandToQueue(object(BeanstalkdQueue), object(sendEmailJob)) in Dispatcher.php line 245
at Dispatcher->dispatchToQueue(object(sendEmailJob)) in Dispatcher.php line 175
at Dispatcher->dispatch(object(sendEmailJob)) in DispatchesJobs.php line 17


在console 里面 php artisan queue:listen  的时候
[ErrorException]</code>
登入後複製
登入後複製

Argument 1 passed to Illuminate\Queue\Jobs\Job::resolveAndFire() must be of the type arra
y, null given, called in F:\wamp\www\learn\vendor\laravel\framework\src\Illuminate\Queue\
Jobs\BeanstalkdJob.php on line 54 and defined

回复内容:

<code>n Connection.php 114 line $responseLine = $socket->getLine(); 这里的返回值为NULL

Unhandled response: HTTP/1.1 408 Request Timeout
in PutCommand.php line 110
at PutCommand->parseResponse('HTTP/1.1 408 Request Timeout', null) in Connection.php line 150
at Connection->dispatchCommand(object(PutCommand)) in Pheanstalk.php line 393
at Pheanstalk->_dispatch(object(PutCommand)) in Pheanstalk.php line 235
at Pheanstalk->put('{"job":"Illuminate\Queue\CallQueuedHandler@call","data":{"command":"O:21:\"App\Jobs\sendEmailJob\":4:{s:9:\"\u0000\u0000_event\";N;s:5:\"queue\";N;s:5:\"delay\";N;s:6:\"\u0000\u0000job\";N;}"}}', '1024', '0', '60') in BeanstalkdQueue.php line 86
at BeanstalkdQueue->pushRaw('{"job":"Illuminate\Queue\CallQueuedHandler@call","data":{"command":"O:21:\"App\Jobs\sendEmailJob\":4:{s:9:\"\u0000\u0000_event\";N;s:5:\"queue\";N;s:5:\"delay\";N;s:6:\"\u0000\u0000job\";N;}"}}', null) in BeanstalkdQueue.php line 63
at BeanstalkdQueue->push(object(sendEmailJob)) in Dispatcher.php line 270
at Dispatcher->pushCommandToQueue(object(BeanstalkdQueue), object(sendEmailJob)) in Dispatcher.php line 245
at Dispatcher->dispatchToQueue(object(sendEmailJob)) in Dispatcher.php line 175
at Dispatcher->dispatch(object(sendEmailJob)) in DispatchesJobs.php line 17


在console 里面 php artisan queue:listen  的时候
[ErrorException]</code>
登入後複製
登入後複製

Argument 1 passed to Illuminate\Queue\Jobs\Job::resolveAndFire() must be of the type arra
y, null given, called in F:\wamp\www\learn\vendor\laravel\framework\src\Illuminate\Queue\
Jobs\BeanstalkdJob.php on line 54 and defined

相關標籤:
來源:php.cn
本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板