一、该问题的重现步骤是什么?
1. blade-auth,blade-log,blade-system,blade-user 都加上blade-starter-trace
2. 启动saber后台管理, 随便点几个操作,balde-system就会报错
二、你期待的结果是什么?实际看到的又是什么?
报错信息为:
2019-11-04 17:11:13.275 ERROR [blade-system,,,] 8575 --- [.naming.updater] com.alibaba.nacos.client.naming : [NA] failed to update serviceName: DEFAULT_GROUP@@127.0.0.1
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/instance/list after all servers([127.0.0.1:8848]) tried: failed to req API:127.0.0.1:8848/nacos/v1/ns/instance/list. code:404 msg: service not found: DEFAULT_GROUP@@127.0.0.1
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:464) ~[nacos-client-1.1.1.jar:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:386) ~[nacos-client-1.1.1.jar:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.queryList(NamingProxy.java:297) ~[nacos-client-1.1.1.jar:na]
at com.alibaba.nacos.client.naming.core.HostReactor.updateServiceNow(HostReactor.java:270) ~[nacos-client-1.1.1.jar:na]
at com.alibaba.nacos.client.naming.core.HostReactor$UpdateTask.run(HostReactor.java:315) [nacos-client-1.1.1.jar:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [na:1.8.0]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [na:1.8.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0]
at java.lang.Thread.run(Thread.java:744) [na:1.8.0]
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
下载的bladex 没有动过
四、请提供详细的错误堆栈信息,这很重要。
blade-user : 控制台一直出现这个信息
2019-11-04 17:10:27.636 INFO [blade-user,,,] 6064 --- [.naming.updater] com.alibaba.nacos.client.naming : current ips:(1) service: DEFAULT_GROUP@@blade-system -> [{"clusterName":"DEFAULT","enabled":true,"ephemeral":true,"healthy":true,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"instanceId":"192.168.1.7#8106#DEFAULT#DEFAULT_GROUP@@blade-system","ip":"192.168.1.7","ipDeleteTimeout":30000,"metadata":{"preserved.register.source":"SPRING_CLOUD"},"port":8106,"serviceName":"DEFAULT_GROUP@@blade-system","weight":1.0}]
blade-auth:控制台一直出现这个信息
2019-11-04 17:12:23.204 INFO [blade-auth,,,] 5967 --- [.naming.updater] com.alibaba.nacos.client.naming : current ips:(1) service: DEFAULT_GROUP@@blade-user -> [{"clusterName":"DEFAULT","enabled":true,"ephemeral":true,"healthy":true,"instanceHeartBeatInterval":5000,"instanceHeartBeatTimeOut":15000,"instanceId":"192.168.1.7#8102#DEFAULT#DEFAULT_GROUP@@blade-user","ip":"192.168.1.7","ipDeleteTimeout":30000,"metadata":{"preserved.register.source":"SPRING_CLOUD"},"port":8102,"serviceName":"DEFAULT_GROUP@@blade-user","weight":1.0}]
扫一扫访问 Blade技术社区 移动端