Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

使用consul作为注册中心,但是服务能发布,消费者却订阅失败,提示如下 #151

Open
whh5233 opened this issue Jan 22, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@whh5233
Copy link

whh5233 commented Jan 22, 2019

Exception in thread "main" com.alipay.sofa.rpc.core.exception.SofaRouteException: RPC-02306: 没有获得服务[com.alipay.sofa.rpc.samples.direct.DirectService:1.0]的调用地址,请检查服务是否已经推送
at com.alipay.sofa.rpc.client.AbstractCluster.noAvailableProviderException(AbstractCluster.java:423)
at com.alipay.sofa.rpc.client.AbstractCluster.select(AbstractCluster.java:358)
at com.alipay.sofa.rpc.client.FailoverCluster.doInvoke(FailoverCluster.java:64)
at com.alipay.sofa.rpc.client.AbstractCluster.invoke(AbstractCluster.java:285)
at com.alipay.sofa.rpc.client.ClientProxyInvoker.invoke(ClientProxyInvoker.java:83)
at com.alipay.sofa.rpc.samples.direct.DirectService_proxy_0.sayDirect(DirectService_proxy_0.java)
at com.alipay.sofa.rpc.samples.direct.DirectClientApplication.main(DirectClientApplication.java:42)

@JervyShi
Copy link
Member

JervyShi commented Jan 22, 2019

@whh5233 感谢反馈,Consul 目前作为预览版还存在一些已知问题待解决,这块的实现后续会重构一下,可以先尝试使用下其他注册中心实现,当然也可以考虑帮助我们一次完善下对 Consul 的支持,感谢!

@leizhiyuan leizhiyuan added this to the 6.0.1 milestone Feb 11, 2019
@leizhiyuan leizhiyuan added the bug Something isn't working label Feb 11, 2019
@leizhiyuan leizhiyuan removed this from the 6.0.1 milestone Mar 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants