apache / apache/servicecomb-java-chassis

升级ServiceComb,从1.3升级到2.7.5的过程中遇到了一个问题

Open
#3,454 12 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

对某个循环调用同一个服务器端的客户端接口进行多次调用[不算很频繁],wait response会不断增长,直到30s后超时,然后会慢慢发生熔断
陆续出现code=408;msg=CommonExceptionData [message=Request Timeout.]
接着出现InvocationException: InvocationException: code=500;msg=CommonExceptionData [message=No available address found.]
查看调用链之后发现,耗时在wait response上面。
请问是因为从从1.3升级到2.7.5从而某些参数变更出现的问题吗?
客户端与服务器的配置如下:

```
servicecomb:
accesslog:
enabled: true
pattern: "%t %p %m %H %U %s %b %D"
server:
http2:
useAlpnEnabled: false
rest:
client:
http2:
enabled: false
connection:
maxPoolSize: 50
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported wait-response timing and the supplied servicecomb.rest.client.connection.maxPoolSize and HTTP/2 settings, then compare behavior between versions 1.3 and 2.7.5 under repeated calls to one server. Reproduce the 30-second timeout and subsequent circuit breaking, and use the call-chain data to identify whether a configuration change or regression causes the delay; done means the cause and corrective change are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
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.