GitHub user mz0113 created a discussion: [Q/A] a question of grpc in wireshark

### Pre-check

- [X] I am sure that all the content I provide is in English.


### Apache Dubbo Component

Java SDK (apache/dubbo)

### Details

<img width="1645" height="453" alt="image" 
src="https://github.com/user-attachments/assets/9e5c4f9d-545e-4c47-ae99-404650d82944";
 />

如上图,我过滤了tcp流id是120,然后http2的streamid是7,但是我不理解为什么会出现2条rpc请求。按理说同一个tcp连接内http2流id应该是唯一的把,但图上明显00分和04分是两次rpc调用,接口也不同,如果是tcp断开了,那么按理说tcp流id就会不同啊。

还有另一个小疑问:如果c端配置超时2秒,那么server端如果收到请求处理后已经超时了,是不是不会返回报文给c端了。因为在这里我没找到00秒这笔请求的响应(我不觉得09秒那个是00秒的响应)。所以就很奇怪,求社区大佬帮忙解答一下。


As shown in the figure above, I filtered for TCP stream ID 120, and then the 
HTTP/2 stream ID is 7. However, I don't understand why there are two RPC 
requests. Logically, within the same TCP connection, HTTP/2 stream IDs should 
be unique. But the figure clearly shows two RPC calls at 00 minutes and 04 
minutes, with different interfaces. If the TCP connection had been terminated, 
the TCP stream ID would have changed, right?

Another minor question: If the client (C-side) is configured with a timeout of 
2 seconds, and the server receives the request but the processing time exceeds 
this timeout, will the server not send a response back to the client? Because I 
couldn't find a response for the request made at 00 seconds here (I don't think 
the one at 09 seconds is the response to the 00-second request). This is quite 
puzzling. I'd appreciate it if community experts could help answer these 
questions.

### Code of Conduct

- [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


GitHub link: https://github.com/apache/dubbo/discussions/16061

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to