网络重连时,redis队列进程会退出,重新创建新进程?

liuqing

问题描述

redis重连会导致进程退出,重新创建新进程且报错?

报错信息

截图
截图

2024-01-05 20:22:51 pid:179 RuntimeException: NOAUTH Authentication required. in /app/vendor/workerman/redis-queue/src/Client.ph
Stack trace:                                                                                                                    
#0 /app/vendor/workerman/redis/src/Client.php(421): Workerman\RedisQueue\Client->Workerman\RedisQueue\{closure}()               
#1 /app/vendor/workerman/workerman/Connection/TcpConnection.php(646): Workerman\Redis\Client->Workerman\Redis\{closure}()       
#2 [internal function]: Workerman\Connection\TcpConnection->baseRead()                                                          
#3 /app/vendor/workerman/workerman/Events/Event.php(193): EventBase->loop()                                                     
#4 /app/vendor/workerman/workerman/Worker.php(1635): Workerman\Events\Event->loop()                                             
#5 /app/vendor/workerman/workerman/Worker.php(1426): Workerman\Worker::forkOneWorkerForLinux()                                  
#6 /app/vendor/workerman/workerman/Worker.php(1400): Workerman\Worker::forkWorkersForLinux()                                    
#7 /app/vendor/workerman/workerman/Worker.php(1785): Workerman\Worker::forkWorkers()                                            
#8 /app/vendor/workerman/workerman/Worker.php(1721): Workerman\Worker::monitorWorkersForLinux()                                 
#9 /app/vendor/workerman/workerman/Worker.php(562): Workerman\Worker::monitorWorkers()                                          
#10 /app/vendor/workerman/webman-framework/src/support/App.php(131): Workerman\Worker::runAll()                                 
#11 /app/start.php(4): support\App::run()                                                                                       
#12 {main}                                                                                                                      
2024-01-05 20:22:51 pid:7 worker[plugin.webman.redis-queue.redis_consumer_fast:179] exit with status 64000  

操作系统及workerman/webman等框架组件具体版本

操作系统及workerman/webman等框架组件具体版本
Workerman version:4.1.14 PHP version:8.0.30 Event-Loop:\Workerman\Events\Event
mac下的docker环境 krisss/docker-webman:8.0-cli-alpine
自建redis

192 1 0
1个回答

walkor

队里里redis连不上时会报错并退出进程尝试重连

  • 暂无评论
🔝