Closed zjg1993 closed 6 months ago
Which version of nacos?(Both client and server)
both 1.4.1 @realJackSun
who know it ?
Me too. Who solved it
same problem, server:1.4.0, client:1.3.3
com.alibaba.cloud.nacos.discovery.NacosDiscoveryClient:70 : get service name from nacos server fail,
ErrCode:500, ErrMsg:failed to req API:/nacos/v1/ns/service/list after all servers([172.16.1.15:8848, 172.16.1.16:8848, 172.16.1.7:8848]) tried: ErrCode:403, ErrMsg:<html><body><h1>Whitelabel Error Page</h1><p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p><div id='created'>Fri Jan 21 09:31:50 CST 2022</div><div>There was an unexpected error (type=Forbidden, status=403).</div><div>token expired!</div></body></html>
at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:552)
at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:491)
at com.alibaba.nacos.client.naming.net.NamingProxy.reqApi(NamingProxy.java:486)
at com.alibaba.nacos.client.naming.net.NamingProxy.getServiceList(NamingProxy.java:474)
at com.alibaba.nacos.client.naming.NacosNamingService.getServicesOfServer(NacosNamingService.java:492)
at com.alibaba.nacos.client.naming.NacosNamingService.getServicesOfServer(NacosNamingService.java:480)
at com.alibaba.cloud.nacos.discovery.NacosServiceDiscovery.getServices(NacosServiceDiscovery.java:69)
at com.alibaba.cloud.nacos.discovery.NacosDiscoveryClient.getServices(NacosDiscoveryClient.java:67)
at org.springframework.cloud.client.discovery.composite.CompositeDiscoveryClient.getServices(CompositeDiscoveryClient.java:67)
at org.springframework.cloud.client.discovery.health.DiscoveryClientHealthIndicator.health(DiscoveryClientHealthIndicator.java:69)
Nacos v2.0.4
` 2022-08-22 02:02:10.409 ERROR 21540 --- [com.alibaba.nacos.naming.beat.sender] com.alibaba.nacos.client.naming : [NA] failed to request
com.alibaba.nacos.api.exception.NacosException:
This application has no explicit mapping for /error, so you are seeing this as a fallback.
`
newest version should have solved this problem.
my service is running! but once an error occurred! Then all down,i dont know why