GatewayClient icon indicating copy to clipboard operation
GatewayClient copied to clipboard

Sdk For GatewayWorker

Results 6 GatewayClient issues
Sort by recently updated
recently updated
newest added

我的tp项目和gateworker部署在通一台服务器上,gateworker启动成功并运行正常。 ![1](https://user-images.githubusercontent.com/3356066/125062832-644d8f00-e0e1-11eb-80fc-b23641710d0d.png) ![2](https://user-images.githubusercontent.com/3356066/125062845-67e11600-e0e1-11eb-8b0b-de1e3d48b330.png) .但是在tp中用GatewayClient向客户端发送消息的时候报错Can not connect to tcp://127.0.0.1:1238。 ![3](https://user-images.githubusercontent.com/3356066/125063015-96f78780-e0e1-11eb-99d2-984310bb869e.png) 昨天还好好的,不知道为啥突然报错了,有大佬帮忙看看嘛

执行代码 ```php Gateway::$registerAddress = "{$host}:{$port}"; echo "register=", Gateway::$registerAddress, PHP_EOL; while(true) { var_dump([ 'Gateway::getAllUidCount()' => Gateway::getAllUidCount(), 'getClientIdByUid' => Gateway::getClientIdByUid('123'), ]); sleep(1); } ``` 执行的日志 ```log [centos@ip-172-20-4-112 GatewayWorker]$ php -f ./bin/demo.php register=127.0.0.1:1239...

This is exception message : Allowed memory size of 134217728 bytes exhausted (tried to allocate 659456 bytes) {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 134217728 bytes exhausted (tried to allocate...

Hi, My friend: this is my question. I used this client in my project. there are two workman-server in my project . I need to send the same message to...

当前系统 windows11 + wsl Ubuntu 20.04 开发环境 Workerman version:4.1.14 PHP version:8.2.13 laravel 8.7.5 Win IP地址 10.10.30.230 Ubuntu IP地址 172.18.232.186 win启用网络转发:netsh interface portproxy add v4tov4 listenport=2346 listenaddress=10.10.30.230 connectport=2346 connectaddress=172.18.232.186 ErrorException: stream_socket_server():...

宿主机ip 192.168.188.88 php容器映射端口 9138:9138 php容器内运行php8: $gateway->lanIp = "127.0.0.1";能正常访问, ![image](https://user-images.githubusercontent.com/25482706/219431493-924c3934-ebc2-447d-9d1c-3eb4d92a12f7.png) 改为'192.168.188.88'; 就会报错: ![image](https://user-images.githubusercontent.com/25482706/219431615-caf0cf48-4dba-46ed-8517-f868da6b6cc9.png)