启动guns-user的时候报:Failed to check the status of the service

来源:4-17 用户名验证接口测试

蛋无虚发

2018-11-19

启动guns-user的时候报:

Failed to check the status of the service com.stylefeng.guns.api.user.UserAPI. No provider available for the service com.stylefeng.guns.api.user.UserAPI from the url zookeeper://192.168.216.128:2181/com.alibaba.dubbo.registry.RegistryService?application=meeting-gateway&dubbo=2.6.0&interface=com.stylefeng.guns.api.user.UserAPI&methods=userLogin,updateUserInfo,checkUsername,getUserInfo,register&pid=4788&register.ip=172.16.84.1&side=consumer&timestamp=1542597909785 to the consumer 172.16.84.1 use dubbo version 2.6.0

导致gateway中UserController的userAPI无法被创建。
但是AuthController中的userAPI就没有问题,去掉UserController中的userAPI后,AuthController完全可以正常调用userAPI的各种接口
查看zookeeper中注册的服务也没有问题。

写回答

1回答

Allen

2018-11-19

有设置访问限制数量之类的内容么

0
3
weixin_慕用7362611
回复
蛋无虚发
老哥 可以详细说一下你这个是什么意思吗
2020-01-10
共3条回复

Dubbo主流版本打造仿猫眼项目 理解微服务核心思想

实战Dubbo项目+面试技巧,老司机带你畅游微服务

1410 学习 · 582 问题

查看课程