iis服务器助手广告
返回顶部
首页 > 资讯 > 后端开发 > JAVA >nacos报错Client not connected,current status:STARTING,StatusRuntimeException
  • 323
分享到

nacos报错Client not connected,current status:STARTING,StatusRuntimeException

摘要

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文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作