from registry center, Please check registry access list (whitelist/blacklist)! The group might need
前言
主要是公司架构师基于Dubbo的,所以注册信息重构开始时候会出现这个错误:
主要是拆分 web和provider俩个模块,俩个项目,发现错误解决问题。
1、明显识别提供者注册有问题导致服务端调用失败,问题定位为服务提供者。
2、provider能够注册成功与否,定位一下。
3、我真的是facade接口注册失败导致的。主要是一个注解写错了,导致整个项目不可用,启动不报错!
异常信息如下
2021-06-07 15:15:52.230|ERROR|http-nio-9002-exec-4|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:52.229”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
2021-06-07 15:15:54.025|ERROR|http-nio-9002-exec-10|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:54.025”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
2021-06-07 15:15:54.169|ERROR|http-nio-9002-exec-9|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:54.169”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
2021-06-07 15:15:54.312|ERROR|http-nio-9002-exec-8|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:54.312”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
2021-06-07 15:15:54.496|ERROR|http-nio-9002-exec-7|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:54.495”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
2021-06-07 15:15:54.670|ERROR|http-nio-9002-exec-6|14|c.h.j.common.log.syserr.SyserrLog :{“type”:”4”,”info”:[“”,””,””,””,”2021-06-07 15:15:54.670”,”npp-web”,”127.0.0.1”,”1”,””,””,”com.datadevelopment.npp.api.facade.ViewConfigFacade.getViewConfig”,”jres-svr”,””],”myPackage”:{“error_no”:”-4”,”error_info”:”Forbid consumer access service com.datadevelopment.npp.api.facade.ViewConfigFacade from registry center, Please check registry access list (whitelist/blacklist)! The group might need to match ‘npp-dev’, and the version might need to match ‘v’!”,”requestBody”:””}}
还没有评论,来说两句吧...