We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc项目编译后生成了server和client服务端,我怀疑是否是配置文件导致的错误,我只更改了服务端配置的端口4399,客户端配置的remoteip是127.0.0.1.端口是4399。在客户端启动后无法和服务端通信,我只写了一个注册函数,客户端启动几秒后报错
^C[kola@remote rpc_example]$ ./client UserService Signup status[100] error[110] errmsg:System Error. Use get_error() to get errno ============================== [SPAN_LOG] trace_id: 00a08e1feb38410002a08e1feb384100 span_id: 04a08e1feb384100 rpc.error: 110 rpc.method: Signup rpc.service: UserService rpc.state: 100 component: srpc compress.type: 0 data.type: 0 span.kind: srpc.client start_time: 1734095360870928665 finish_time: 1734095380959567993 duration: 20088639328(ns)
The text was updated successfully, but these errors were encountered:
hi,可以把你生成的命令贴一下嘛?我试试看有没有问题
Sorry, something went wrong.
srpc rpc rpc_example -f ./test.proto , 我把srpc放到了/usr/local/bin下面
不好意思,确认了下,确实是内部加了一个transport_type忘了设置默认值,导致的错误。这个PR已经修复了:#415
麻烦merge了之后再拉新版本试试,感谢报bug!
No branches or pull requests
rpc项目编译后生成了server和client服务端,我怀疑是否是配置文件导致的错误,我只更改了服务端配置的端口4399,客户端配置的remoteip是127.0.0.1.端口是4399。在客户端启动后无法和服务端通信,我只写了一个注册函数,客户端启动几秒后报错
^C[kola@remote rpc_example]$ ./client UserService Signup status[100] error[110] errmsg:System Error. Use get_error() to get errno ============================== [SPAN_LOG] trace_id: 00a08e1feb38410002a08e1feb384100 span_id: 04a08e1feb384100 rpc.error: 110 rpc.method: Signup rpc.service: UserService rpc.state: 100 component: srpc compress.type: 0 data.type: 0 span.kind: srpc.client start_time: 1734095360870928665 finish_time: 1734095380959567993 duration: 20088639328(ns)
The text was updated successfully, but these errors were encountered: