使用代碼的都是線(xiàn)上的最新版,
由于Events.php中有很多的業(yè)務(wù)邏輯處理(對(duì)發(fā)送的數(shù)據(jù)有加密解密過(guò)程),而官方提供的gatewayclient的方式推送不經(jīng)過(guò)Events.php,所以選用PHP的"stream_socket_client"方式推送,但是設(shè)置好后,推送的時(shí)候,服務(wù)收到了如下提示:
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3
我確認(rèn)按照“http://wiki.workerman.net/Error3”中的進(jìn)行設(shè)置后,還是不行,請(qǐng)問(wèn)這個(gè)問(wèn)題出現(xiàn)在了哪里呢?謝謝。
start_gateway
[attach]1225[/attach]
start_businessworker
[attach]1224[/attach]
start_register
[attach]1223[/attach]
配置的數(shù)據(jù):
socket_lan_ip: 127.0.0.1
socket_server_ip: 0.0.0.0:15814
socket_register_address: 127.0.0.1:12384