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

com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-02306: No call address for service [com.wueasy.base.bus.Function:1.0:wueasy-demo], please check if the service has been pushed #761

Closed fallsea closed 4 years ago

fallsea commented 5 years ago

5.5.7升级到5.6.1,系统提升这个错误,没有做任何修改,只是升级,请问需要怎么处理?

com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-02306: 没有获得服务[com.wueasy.base.bus.Function:1.0:wueasy-demo]的调用地址,请检查服务是否已经推送 at com.alipay.sofa.rpc.client.AbstractCluster.noAvailableProviderException(AbstractCluster.java:426) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.AbstractCluster.select(AbstractCluster.java:361) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke(FailoverCluster.java:64) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.AbstractCluster.invoke(AbstractCluster.java:288) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:83) ~[sofa-rpc-all-5.6.1.jar:5.6.1]

sofastack-bot[bot] commented 5 years ago

Hi @fallsea, 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.

5.5.7 Upgrade to 5.6.1, the system upgrades this error, no modifications, just upgrade, what should I do? com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-02306: No call address for service [com.wueasy.base.bus.Function:1.0:wueasy-demo], please check if the service has been pushed at com .alipay.sofa.rpc.client.AbstractCluster.noAvailableProviderException(AbstractCluster.java:426) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.AbstractCluster. Select(AbstractCluster.java:361) ~[sofa-rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke(FailoverCluster.java:64) ~[sofa -rpc-all-5.6.1.jar:5.6.1] at com.alipay.sofa.rpc.client.AbstractCluster.invoke(AbstractCluster.java:288) ~[sofa-rpc-all-5.6.1.jar: 5.6.1] at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:83) ~[sofa-rpc-all-5.6.1.jar:5.6.1]

fallsea commented 5 years ago

已解决,是因为curator版本不兼容导致的,使用的是2.x版本,升级到4.x版本就正常了。不兼容尽然没有任何错误的提示。。