xiaoyuxee opened a new issue, #2074:
URL: https://github.com/apache/incubator-brpc/issues/2074

   **Describe the bug (描述bug)**
   server 端响应时间超过一定阈值时,client 收到 rpc 错误:E1010。如果请求server 端处理时间较少的case,client 端 
则可以接受到正常响应。
   
   rpc 错误时,client 端 controller 错误信息如下:
   ```
   E20230108 17:38:30.313141 ... code[1010] timeout[-1] latency_us[149377] 
err[[E1010]1/1 channels failed, fail_limit=1 
   [C0][E1010]HTTP/2.0 500 Internal Server Error]
   ```
   
   此时服务端业务处理逻辑正常,日志如下:
   ```
   INFO 2023-01-08 17:38:30 140677572634368 Received query: ...
   INFO 2023-01-08 17:38:30 140677572634368 Handle success. rt[137044us]
   ```
   
   client 端信息如下:
   - ParallelChannel 中包含多个 SelectiveChannel,用于并行调用 SelectiveChannel 中某个 server
   - protocol = "h2:grpc"
   - SelectiveChannel `timeout_ms`、`connect_timeout_ms` 均为 -1
   
   **To Reproduce (复现方法)**
   增加 server 端业务处理时长,client 将获取到 rpc 错误
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS: 
   Compiler: 4.9.2
   brpc: 0.9.7
   protobuf: 3.11.4
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to