crytjy
crytjy
grpc无法调用
### 根据文档的示例,无法调用 ```php public function hello() { // 这个client是协程安全的,可以复用 $client = new \Compile\Grpc\Hello\HiClient('127.0.0.1:9503', [ 'credentials' => null, ]); $request = new \Compile\Grpc\Hello\HiUser(); $request->setName('hyperf'); $request->setSex(1); /** * @var \Compile\Grpc\Hello\HiReply $reply */...
启动websocket, 在heartbeat_check_interval时间之内有收到消息, 但服务端偶尔断开了 ``` [ 'name' => 'ws', 'type' => Server::SERVER_WEBSOCKET, 'host' => '0.0.0.0', 'port' => (int)env('WS_PORT', 9509), 'sock_type' => SWOOLE_SOCK_TCP, 'callbacks' => [ // 自定义握手处理 Event::ON_HAND_SHAKE => [Hyperf\WebSocketServer\Server::class, 'onHandShake'],...
[问题1] Nats 无法通过setNums和$this->nums设置启动进程数 必须通过 @Consumer(name="Msg", queue="hyperf", nums=8) 通过setNums和$this->nums设置时, 会默认启动一个进程 [问题2] 怎么通过参数控制nats是否启动 [环境] hyperf: v2.2.0 hyperf/nats: v2.2.0
### 消息平台适配器 gewechat(个人微信) ### 运行环境 Docker ### 异常情况 docker compose up 启动后, 报错 `langbot | [02-06 12:17:44.969] manager.py (161) - [ERROR] : 平台适配器运行出错: Cannot connect to host gewe:2531 ssl:default [Connect...