安装了swow扩展后,启动gateway一直报错,请问一下怎么解决

robinqiwei

问题描述

安装了swow扩展后,启动gateway一直报错,请问一下怎么解决

程序代码

报错信息

2023-07-25 11:12:18 pid:21967 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:19 pid:21858 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:19 pid:21858 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:19 pid:21993 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:19 pid:21993 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:21 pid:21838 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html
2023-07-25 11:12:21 pid:21838 SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://doc2.workerman.net/send-buffer-to-worker-fail.html

截图报错信息里报错文件相关代码

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

系统:CentOS7

workerman/workerman v4.1.11
workerman/gateway-worker v3.1.0

570 1 0
1个回答

yongdao35

之前遇到过,定位发现是安装swow后swow会自动hook底层一些stream_*函数,更改了这些函数的默认行为,导致问题。
卸载swow就好了

🔝