cloudwego / cloudwego/kitex

[windows] grpc go 客户端主动关闭后kitex服务崩溃

Open
#929 14 comments 0 reactions 1 assignee Claimed by @ppzqh View on GitHub
bug
Dominant language
Go
Stars
8k
Forks
918
Avg merge
1d 13h
Merged PRs (30d)
7

Description

**Describe the bug**

项目采用 thrift idl 生成server. 调用方采用grpc go (非kitex客户端) 连接server. 能够正常连接并获得数据返回,但是当客户端主动关闭后,kitex服务崩溃。

这是什么原因呢?

![1683739155498](https://github.com/cloudwego/kitex/assets/6196769/84eb705d-5f99-4291-9bff-b283441d2f18)

服务端 idl 如下:
![image](https://github.com/cloudwego/kitex/assets/6196769/4899e9ac-6a4e-4df5-b5e4-96d84aaeab5b)

grpc 调用方 protobuf 如下
![image](https://github.com/cloudwego/kitex/assets/6196769/8797dea5-c414-4c6d-8582-aa221e342144)

测试代码:
![image](https://github.com/cloudwego/kitex/assets/6196769/f333038e-5f65-4c90-a594-09c9bab1ceb4)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.