泛化调用偶现超时
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
## Ask your question here
dubbo版本:2.7.15
网关dubbo协议转换发现泛化调用偶现超时,最终原因是排查到一个提供方的服务由于网络问题未打通,导致一直调用超时失败,但是影响了整体的其他api调用,请问是啥原因?
报错数量是差不多每天调用1000w次请求,差不多会出现1w次超时,确实很奇怪为啥这个会有影响??
以下是调用那个问题提供方的报错信息:
```less
org.apache.dubbo.rpc.RpcException: Failed to invoke the method queryAmountByCondition in the service org.apache.dubbo.rpc.service.GenericService. Tried 1 times of the providers [10.108.16.67:20991] (1/2) from the registry zk-tx.webuyops.com:2181 on the consumer 10.106.48.157 using the dubbo version 2.7.15. Last error is: Failed to invoke remote method: $invoke, provider: dubbo://10.108.16.67:20991/com.ynx.payment.platform.api.TaxRaiseApi?anyhost=true&application=soul_proxy&async=true&bean.name=ServiceBean:com.ynx.payment.platform.api.TaxRaiseApi&check=false&cluster=failfast&default.retries=0&default.timeout=3000&dubbo=2.0.2&generic=false&interface=com.ynx.payment.platform.api.TaxRaiseApi&loadbalance=roundrobin&metadata-type=remote&methods=queryBillList,queryAmountByCondition,queryBillListByCondition,queryAmount&pid=11&protocol=dubbo®ister.ip=10.106.48.157&release=2.7.3.5-JINGLING-RELEASE&remote.application=payment-platform-ynx&retries=0&serialization=json&side=consumer&sticky=false&threadpool=cached&timeout=3000×tamp=1680504781031, cause: client(url: dubbo://10.108.16.67:20991/com.ynx.payment.platform.api.TaxRaiseApi?anyhost=true&application=soul_proxy&async=true&bean.name=ServiceBean:com.ynx.payment.platform.api.TaxRaiseApi&check=false&cluster=failfast&codec=dubbo&default.retries=0&default.timeout=3000&dubbo=2.0.2&generic=false&heartbeat=60000&interface=com.ynx.payment.platform.api.TaxRaiseApi&loadbalance=roundrobin&metadata-type=remote&methods=queryBillList,queryAmountByCondition,queryBillListByCondition,queryAmount&pid=11&protocol=dubbo®ister.ip=10.106.48.157&release=2.7.3.5-JINGLING-RELEASE&remote.application=payment-platform-ynx&retries=0&serialization=json&side=consumer&sticky=false&threadpool=cached&timeout=3000×tamp=1680504781031) failed to connect to server /10.108.16.67:20991 client-side timeout 3000ms (elapsed: 3000ms) from netty client 10.106.48.157 using dubbo version 2.7.15
```
Contributor guide
Research direction
The report concerns generic invocation through Dubbo 2.7.15 and a Netty client timeout to provider 10.108.16.67:20991. Start by tracing the generic invocation and provider-selection paths, then examine the reported timeout, retry, cluster, and thread-pool settings. Done would require identifying why this unavailable provider affects other API calls and documenting or fixing the confirmed cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100