dubbo:Failed to invoke the method queryByProperty

dubbo:Failed to invoke the method queryByProperty

问题描述:

com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method **queryByProperty in the service com.cmcf.mobile.ws.interfaces.piece.IPieceInterface. **No provider available for the service com.cmcf.mobile.ws.interfaces.piece.IPieceInterface:0.0.0 from registry 192.168.83.60:2181 on the consumer 192.168.83.60 using the dubbo version 2.5.3. Please check if the providers have been started and registered.


如上错误,zookeeper服务在linux上,在本地项目和linux测试环境上的项目都是连接到这个zookeeper,现在本地项目可以运行,但是测试环境上的项目却显示没有服务。端口都已开放,本地环境可以运行所以代码没有问题,之前在linux上也运行过,所以配置整体上也基本没问题。但是偶尔在测试环境上重启tomcat就出现这个问题。求大神赐教。

是在阿里云上调用么?直接问下阿里云的客服,还是rpc调用错误,检查下网络环境的问题。

查看哈服务端口的防火墙是否是关闭的。