> 백엔드 개발 > PHP 튜토리얼 > laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout

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

WBOY
풀어 주다: 2016-06-06 20:20:48
원래의
1512명이 탐색했습니다.

<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으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿