You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/service/list after all servers([nacos-jxs-aftermarket.tx-prod-xh.bitautotech.com:80]) tried: failed to req API:nacos-jxs-aftermarket.tx-prod-xh.bitautotech.com:80/nacos/v1/ns/service/list. code:403 msg:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Mon Nov 15 16:00:03 CST 2021
There was an unexpected error (type=Forbidden, status=403).
unknown user!
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:465) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:431) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:377) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.getServiceList(NamingProxy.java:359) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.getServiceList(NamingProxy.java:335) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.NacosNamingService.getServicesOfServer(NacosNamingService.java:442) ~[nacos-client-1.1.3.jar!/:na]
at net.nacos.eureka.sync.NacosSynchronizer.syncService(NacosSynchronizer.java:50) ~[spring-cloud-nacos-eureka-proxy-1.0.1.jar!/:na]
at net.nacos.eureka.sync.NacosSynchronizer.lambda$init$1(NacosSynchronizer.java:42) ~[spring-cloud-nacos-eureka-proxy-1.0.1.jar!/:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_191]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[na:1.8.0_191]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_191]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_191]
`
The text was updated successfully, but these errors were encountered:
使用源码中的spring-cloud-nacos-eureka-proxy-example工程同步服务到nacos时:
没有找到对用户密码进行设置的地方,请问nacos用户名密码该如何配置呢
由于无法进行配置工程启动日志如下:
`
2021-11-15 16:00:03.421 ERROR 2901 --- [cosSynchronizer] net.nacos.eureka.sync.NacosSynchronizer : synchronize service error
java.lang.IllegalStateException: failed to req API:/nacos/v1/ns/service/list after all servers([nacos-jxs-aftermarket.tx-prod-xh.bitautotech.com:80]) tried: failed to req API:nacos-jxs-aftermarket.tx-prod-xh.bitautotech.com:80/nacos/v1/ns/service/list. code:403 msg:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:465) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:431) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.reqAPI(NamingProxy.java:377) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.getServiceList(NamingProxy.java:359) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.net.NamingProxy.getServiceList(NamingProxy.java:335) ~[nacos-client-1.1.3.jar!/:na]
at com.alibaba.nacos.client.naming.NacosNamingService.getServicesOfServer(NacosNamingService.java:442) ~[nacos-client-1.1.3.jar!/:na]
at net.nacos.eureka.sync.NacosSynchronizer.syncService(NacosSynchronizer.java:50) ~[spring-cloud-nacos-eureka-proxy-1.0.1.jar!/:na]
at net.nacos.eureka.sync.NacosSynchronizer.lambda$init$1(NacosSynchronizer.java:42) ~[spring-cloud-nacos-eureka-proxy-1.0.1.jar!/:na]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_191]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[na:1.8.0_191]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_191]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_191]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_191]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_191]
`
The text was updated successfully, but these errors were encountered: