使用代碼的都是線上的最新版,
由于Events.php中有很多的業(yè)務邏輯處理(對發(fā)送的數(shù)據(jù)有加密解密過程),而官方提供的gatewayclient的方式推送不經(jīng)過Events.php,所以選用PHP的"stream_socket_client"方式推送,但是設(shè)置好后,推送的時候,服務收到了如下提示:
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3
我確認按照“http://wiki.workerman.net/Error3”中的進行設(shè)置后,還是不行,請問這個問題出現(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