laravel 中队列驱动用 beanstalkd 时 HTTP/1.1 408 Request Timeout
程序员文章站
2022-04-17 15:16:54
...
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]
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
回复内容:
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]
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