Happy-26
Happy-26
[#12072](https://github.com/alibaba/nacos/issues/12072)
`NacosConnectionControlManager` 的 `check`方法中,并没有对`totalCountLimit == -1`这种特殊情况做不限制连接处理。 @Override public ConnectionCheckResponse check(ConnectionCheckRequest connectionCheckRequest) { ConnectionCheckResponse connectionCheckResponse = new ConnectionCheckResponse(); connectionCheckResponse.setSuccess(true); connectionCheckResponse.setCode(ConnectionCheckCode.PASS_BY_TOTAL); int totalCountLimit = connectionControlRule.getCountLimit(); // Get total connection from metrics Map metricsTotalCount...
在配置管理-监听查询-通过IP维度查询监听列表时,请求的接口是`nacos/v1/cs/listener?ip=xxxx$tenant=xxx`。  此接口位于`com.alibaba.nacos.config.server.controller.ListenerController#getAllSubClientConfigByIp()`,调用了`com.alibaba.nacos.config.server.service.ConfigSubService#getCollectSampleResultByIp()`方法,在方法内调用`runConfigListenerCollectionJob()`,最终在`runSingleJob()`方法内发送了一个resttemplate请求,请求的接口是`/nacos/v1/cs/communication/configWatchers?&ip=xxx`,参数只有`ip`。次接口位于`com.alibaba.nacos.config.server.controller.CommunicationController`,代码如下,其中dataId和group为必输,因此前面发送的resttemplate请求与接口不匹配,会直接报错。 @GetMapping("/configWatchers") public SampleResult getSubClientConfig(@RequestParam("dataId") String dataId, @RequestParam("group") String group, @RequestParam(value = "tenant", required = false) String tenant, ModelMap modelMap) { group = StringUtils.isBlank(group) ? Constants.DEFAULT_GROUP : group;...