- Dubbo version: 3.1.0
- Operating System version: linux
- Java version: 1.8
使用nacos注册中心,在接入k8s并集成istio后,由消费端调用提供者,提示报错如下:
SEVERE: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.dubbo.rpc.RpcException: Failed to invoke the method getEmpInfo in the service cn.com.bluemoon.istio.demo.dubbo.service.CustEmpService. Tried 3 times of the providers [istio-demo-dubbo-producer.istio-demo.svc.cluster.local:20885] (1/1) from the registry istio-demo-dubbo-producer.istio-demo.svc.cluster.local:20885 on the consumer 10.233.78.134 using the dubbo version 3.1.0. Last error is: Fail to invoke remote method: getEmpInfo, provider: tri://istio-demo-dubbo-producer.istio-demo.svc.cluster.local:20885/cn.com.bluemoon.istio.demo.dubbo.service.CustEmpService?application=istio-demo-consumer&background=false&check=false&interface=cn.com.bluemoon.istio.demo.dubbo.service.CustEmpService&lazy=true&mesh-enable=true&pid=11&provided-by=istio-demo-dubbo-producer&provider-port=20885&qos.accept.foreign.ip=true&qos.enable=false®ister-mode=instance®ister.ip=10.233.78.134&revision=1.0-SNAPSHOT&side=consumer&sticky=false, cause: org.apache.dubbo.rpc.StatusRpcException: UNAVAILABLE : upstream connect error or disconnect/reset before headers. reset reason: connection failure, transport failure reason: delayed connect error: 111
--
2022-09-09 14:28:52 | RemoteAddress:istio-demo-dubbo-producer.istio-demo.svc.cluster.local:20885] with root cause