一、该问题的重现步骤是什么?
开发环境没问题,
部署测试环境
二、你期待的结果是什么?实际看到的又是什么?
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
微服务版,centos7系统,nacos、mysql、redis都用的docker
部署的时候部署在了centos里,没用docker
四、请提供详细的错误堆栈信息,这很重要。
2021-06-10 17:41:16.569 ERROR 8395 --- [ing.beat.sender] com.alibaba.nacos.client.naming : request: /nacos/v1/ns/instance/beat failed, servers: [192.168.0.104:8848], code: 500, msg: Connection refused (Connection refused) 2021-06-10 17:41:16.569 ERROR 8395 --- [ing.beat.sender] com.alibaba.nacos.client.naming : [CLIENT-BEAT] failed to send beat: {"port":7002,"ip":"192.168.0.104","weight":1.0,"serviceName":"DEFAULT_GROUP@@blade-admin","cluster":"DEFAULT","metadata":{"preserved.register.source":"SPRING_CLOUD"},"scheduled":false,"period":5000,"stopped":false}, code: 500, msg: failed to req API:/nacos/v1/ns/instance/beat after all servers([192.168.0.104:8848]) tried: java.net.ConnectException: Connection refused (Connection refused) 2021-06-10 17:41:16.717 ERROR 8395 --- [.168.0.104_8848] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpPost] currentServerAddr: http://192.168.0.104:8848, err : Connection refused (Connection refused) 2021-06-10 17:41:16.718 ERROR 8395 --- [.168.0.104_8848] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpPost] currentServerAddr: http://192.168.0.104:8848, err : Connection refused (Connection refused) 2021-06-10 17:41:16.719 ERROR 8395 --- [.168.0.104_8848] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpPost] currentServerAddr: http://192.168.0.104:8848, err : Connection refused (Connection refused) 2021-06-10 17:41:16.720 ERROR 8395 --- [.168.0.104_8848] c.a.n.c.config.http.ServerHttpAgent : [NACOS ConnectException httpPost] currentServerAddr: http://192.168.0.104:8848, err : Connection refused (Connection refused) 2021-06-10 17:41:16.720 ERROR 8395 --- [.168.0.104_8848] c.a.n.client.config.impl.ClientWorker : [fixed-192.168.0.104_8848] [check-update] get changed dataId exception java.net.ConnectException: [NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached at com.alibaba.nacos.client.config.http.ServerHttpAgent.httpPost(ServerHttpAgent.java:181) ~[nacos-client-1.4.1.jar!/:na] at com.alibaba.nacos.client.config.http.MetricsHttpAgent.httpPost(MetricsHttpAgent.java:68) ~[nacos-client-1.4.1.jar!/:na] at com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateConfigStr(ClientWorker.java:441) [nacos-client-1.4.1.jar!/:na] at com.alibaba.nacos.client.config.impl.ClientWorker.checkUpdateDataIds(ClientWorker.java:408) [nacos-client-1.4.1.jar!/:na] at com.alibaba.nacos.client.config.impl.ClientWorker$LongPollingRunnable.run(ClientWorker.java:596) [nacos-client-1.4.1.jar!/:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_291] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_291] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_291] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0_291] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_291] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_291] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_291]
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端