Home > Backend Development > PHP Tutorial > laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout

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

WBOY
Release: 2016-06-06 20:20:48
Original
1511 people have browsed it

<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>
Copy after login
Copy after login

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>
Copy after login
Copy after login

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template