Open CoderiGenius opened 4 years ago
Hi @CoderiGenius, we detect non-English characters in the issue. This comment is an auto translation by @sofastack-robot to help other users to understand this issue.
We encourage you to describe your issue in English which is more friendly to other users.
Exception in thread "main" com.alipay.sofa.rpc.core.exception. SofaRouteException: RPC-020020009: The address [bolt: //127.0.0.1: 12200,] of the current service [sofaRPC.HelloService: 1.0] is unavailable, or the specified address is not in the list of available addresses at com.alipay.sofa.rpc .client.AbstractCluster.unavailableProviderException (AbstractCluster.java:496) at com.alipay.sofa.rpc.client.AbstractCluster.select (AbstractCluster.java:453) at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke (FailoverCluster .java: 65) at com.alipay.sofa.rpc.client.AbstractCluster.invoke (AbstractCluster.java:297) at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke (ClientProxyInvoker.java:83) at sofaRPC. HelloService_ proxy_0.sayHello (HelloService_proxy_0.java) at sofaRPC.QuickStartClient.main (QuickStartClient.java:23)
`-The client code of the corresponding demo in github contains .setConnectTimeout ()-It is recommended to add the official website code to setConnectTimeout
建议 sofa-rpc 官网文档 快速开始 中Client代码增加超时选项