我浏览器连接websocket后,发送消息调用php中的grpc,结果报错,通过http调用grpc是没有问题的,我看到网上也有类似的问题,但貌似都没有被解决
[mutex.cc : 2417] RAW: Check w->waitp->cond == nullptr failed: Mutex::Fer while waiting on Condition
2024-08-20 18:41:12 worker[workermanWorker:1899] exit with status 6
# php -i | grep grpc
/usr/local/etc/php/conf.d/docker-php-ext-grpc.ini,
grpc
grpc support => enabled
grpc module version => 1.65.2
grpc.enable_fork_support => 0 => 0
grpc.grpc_trace => no value => no value
grpc.grpc_verbosity => no value => no value
grpc.poll_strategy => no value => no value
"workerman/gateway-worker": "^3.1.17",
centos7
https://www.workerman.net/a/1691
社区里搜下grpc就有了,试下设置 grpc.enable_fork_support =1