apache / apache/servicecomb-java-chassis

服务端断链

Open
#4,231 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

在health检查时,1ms就断链返回,有什么可能原因吗?
health每10s一次,连续3次校验不过,导致health检查失败。
![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/54f6c496-0099-4fc2-bbf2-9617a8ca7c2c)
![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/dae7785d-56b4-4190-8619-f81fb4ce0104)
![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/617dec24-57b3-49bb-b288-882fb0a4ed89)

![image](https://github.com/apache/servicecomb-java-chassis/assets/32792621/012604bc-d451-4003-a7a6-d7bc929298ca)

配置:
servicecomb:
server:
connection:
idleTimeoutInSeconds: 120
request:
timeout: 60000

某个时间段内有大量的类似断链错误,可能影响不仅仅是health接口,还是在凌晨业务流量少的时候。

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the health check failure and tracing the server-side connection handling around the reported 1 ms disconnect, then compare it with the idleTimeoutInSeconds and request.timeout settings. Done means identifying the cause of the repeated disconnects and adding a verified fix or documented resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.