sofastack / sofa-rpc

SOFARPC is a high-performance, high-extensibility, production-level Java RPC framework.
https://www.sofastack.tech/sofa-rpc/docs/Home
Apache License 2.0
3.81k stars 1.17k forks source link

RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中 #1005

Closed jamyy2000 closed 2 years ago

jamyy2000 commented 3 years ago

Your question

describe your question clearly

Your scenes

RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中 describe your use scenes (why need this feature)

Exception in thread "main" com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-020020009: 当前服务[com.ccbft.registry.service.HelloService:1.0]的地址[bolt://127.0.0.1:12200,]不可用,或指定的地址不在可用的地址列表中 at com.alipay.sofa.rpc.client.AbstractCluster.unavailableProviderException(AbstractCluster.java:500) 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 com.ccbft.registry.service.HelloService_proxy_0.sayHello(HelloService_proxy_0.java) at com.ccbft.registry.sub.StartClient.main(StartClient.java:28) 照着demo写了一个测试程序,客户端运行报以上错误,请问怎么解决?

Your advice

describe the advice or solution you'd like

Environment

nick1889 commented 3 years ago

https://github.com/sofastack/sofastack.tech/issues/445#issue-584189477

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.