关于服务端向客户端推送消息的错误信息。

tbacc

使用代码的都是线上的最新版,

由于Events.php中有很多的业务逻辑处理(对发送的数据有加密解密过程),而官方提供的gatewayclient的方式推送不经过Events.php,所以选用PHP的"stream_socket_client"方式推送,但是设置好后,推送的时候,服务收到了如下提示:

SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3

我确认按照“http://wiki.workerman.net/Error3”中的进行设置后,还是不行,请问这个问题出现在了哪里呢?谢谢

3753 4 0
4个回答

walkor

截图发下start_gateway.php start_register.php start_businessworker.php

  • 暂无评论
tbacc

start_gateway

[attach]1225[/attach]

start_businessworker

[attach]1224[/attach]

start_register

[attach]1223[/attach]

  • 暂无评论
tbacc

配置的数据:

socket_lan_ip: 127.0.0.1
socket_server_ip: 0.0.0.0:15814
socket_register_address: 127.0.0.1:12384

  • 暂无评论
walkor

运行命令
php start.php connections

php start.php status
贴下

  • 暂无评论
年代过于久远,无法发表回答
🔝