Rumah >pembangunan bahagian belakang >tutorial php >laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout

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

WBOY
WBOYasal
2016-06-06 20:20:481509semak imbas

<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

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn