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
前提:使用kitex框架,客户端和服务端通信,使用grpc协议
Not Found: HTTP status code 404; transport: missing content-type field
请问初始化客户端时,需要调整什么参数,才能顺利打到服务端,目前是这些参数
client.WithTransportProtocol(transport.GRPC), client.WithRPCTimeout(time.Second * 3), client.WithConnectTimeout(time.Millisecond * 500), client.WithFailureRetry(retry.NewFailurePolicy()), client.WithErrorHandler(ClientErrorHandler), client.WithGRPCKeepaliveParams(grpc.ClientKeepalive{ // 只有GRPC才可以使用 Time: ktime, Timeout: ktimeout, PermitWithoutStream: permitWithoutStream, }), client.WithHostPorts(addrs...),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
前提:使用kitex框架,客户端和服务端通信,使用grpc协议
请问初始化客户端时,需要调整什么参数,才能顺利打到服务端,目前是这些参数
The text was updated successfully, but these errors were encountered: