1、Nacos报错Client not connected,current status:STARTING,StatusRuntimeException 2、Custom destroy method 'close' on bean wi
1、Nacos报错Client not connected,current status:STARTING,StatusRuntimeException
2、Custom destroy method 'close' on bean with name 'nacosServiceReGIStry'
3、com.alibaba.nacos.api.exception.NacosException: Request nacos server failed
2022-08-30 17:48:25.206 ERROR 26174 --- [ main] c.a.cloud.nacos.discovery.NacosWatch : namingService subscribe failed, properties:NacosDiscoveryProperties{serverAddr='localhost:8848', endpoint='', namespace='public', watchDelay=30000, logName='', service='alibaba-provider', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=spring_CLOUD}, registerEnabled=true, ip='192.168.2.31', networkInterface='', port=-1, secure=false, accessKey='', secreTKEy='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, failFast=true}com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: at com.alibaba.nacos.client.naming.remote.gprc.NaminggrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:279) ~[nacos-client-2.0.3.jar:na] at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:269) ~[nacos-client-2.0.3.jar:na] ... 20 common frames omitted2022-08-30 17:48:25.238 INFO 26174 --- [ main] o.s.b.w.embedded.Tomcat.TomcatWEBServer : Tomcat started on port(s): 8080 (Http) with context path ''2022-08-30 17:48:25.567 ERROR 26174 --- [ main] c.a.c.n.registry.NacosServiceRegistry : nacos registry, alibaba-provider register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='localhost:8848', endpoint='', namespace='public', watchDelay=30000, logName='', service='alibaba-provider', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='192.168.2.31', networkInterface='', port=8080, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null, failFast=true}},com.alibaba.nacos.api.exception.NacosException: Request nacos server failed:
解决方法:降低nacos-client版本
com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery com.alibaba.nacos nacos-client com.alibaba.nacos nacos-client 1.4.1
来源地址:https://blog.csdn.net/zhaodecang/article/details/129634571
--结束END--
本文标题: nacos报错Client not connected,current status:STARTING,StatusRuntimeException
本文链接: https://www.lsjlt.com/news/389592.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-01
2024-04-03
2024-04-03
2024-01-21
2024-01-21
2024-01-21
2024-01-21
2023-12-23
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0