Closed erdengzhazha closed 3 years ago
环境: Springboot 2.3.2 SpringCloudAlibaba 2.2.5
报错提示: [2021-05-15 23:37:32,812] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,813] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,814] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateConfigStr(ClientWorker.java:454)] - [fixed-localhost_8848] [check-update] get changed dataId exception java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
[2021-05-15 23:37:32,812] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,813] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,814] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateConfigStr(ClientWorker.java:454)] - [fixed-localhost_8848] [check-update] get changed dataId exception java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
Debug发现 localhost:8848的加载优先级比自己配置的快。。。。
希望尽早解决吧~~~这是个大问题!!!! 不好配置外部nacos,还玩个奶子!!!
解决了,自己的错误
环境: Springboot 2.3.2 SpringCloudAlibaba 2.2.5
报错提示:
[2021-05-15 23:37:32,812] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,813] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,814] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:166)] - [NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused (Connection refused) [2021-05-15 23:37:32,815] [ERROR] [com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateConfigStr(ClientWorker.java:454)] - [fixed-localhost_8848] [check-update] get changed dataId exception java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
Debug发现 localhost:8848的加载优先级比自己配置的快。。。。