Workerman startup has been reporting an error process terminated

php start.php start
Workerman[start.php] start in DEBUG mode
----------------------------------------------- WORKERMAN ------------------------------------------------
Workerman version:3.5.15          PHP version:7.1.26-1+ubuntu16.04.1+deb.sury.org+1
------------------------------------------------ WORKERS -------------------------------------------------
proto   user            worker                listen                        processes    status           
tcp     vagrant         ChatBusinessWorker    none                          4             [OK]            
tcp     vagrant         ChatGateway           websocket://127.0.0.1:9526    4             [OK]            
tcp     vagrant         Register              text://127.0.0.1:1239         1             [OK]            
tcp     vagrant         globalDataServer      frame://0.0.0.0:2207          1             [OK]            
----------------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
Worker[3078] process terminated
Worker[3075] process terminated
Worker[3076] process terminated
Worker[3077] process terminated
Worker[3086] process terminated
Worker[3085] process terminated
Worker[3088] process terminated
Worker[3087] process terminated
Worker[3092] process terminated
Worker[3089] process terminated
Worker[3090] process terminated
Worker[3091] process terminated
Worker[3096] process terminated
Worker[3098] process terminated
Worker[3097] process terminated
Worker[3099] process terminated
Worker[3101] process terminated
^CWorkerman[start.php] stopping ...
Exception: getAllGatewayAddressesFromRegister fail. tcp://127.0.0.1:1239 return false in /home/vagrant/website/websocket/vendor/workerman/gatewayclient/Gateway.php:834
Stack trace:

= add =
this is the log file

clipboard.png

Jun.14,2022
The code in

worker has an exception or die,exit that causes the process to end. Check the workerman log file


workerman has a video tutorial, which is quite good. Web site: https://study.163.com/course/...

Menu