com.alibaba.dubbo.rpc.RpcException

 
  Problem: dubbo failed to register with zookeeper
 com.alibaba.dubbo.rpc.RpcException:  Forbid consumer 192.168.73.63 access service com.runyi.share.service.commodity.api.ICategoryService  from registry 127.0.0.1:2181 use dubbo version 2.5.3,  
  Analysis: The current caller is prohibited from accessing a service. Please check the registry access list, as well as the blacklist and whitelist.
 
 
In fact, the offline environment does not have a mechanism for whitelisting and blacklisting services at all, because the account given to developers in the offline environment is a guest, and they do not have permission to make blacklists and whitelists.
 
  Solution: Restart zookeeper and restart the project!
 
 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326638391&siteId=291194637