自定义nacos地址后启动一个服务访问不到nacos

Blade 已结 1 2566
shenpc
shenpc 剑童 2021-05-06 16:14

一、该问题的重现步骤是什么?

1. 

2. 

3.


二、你期待的结果是什么?实际看到的又是什么?

服务链接不上nacos

三、你正在使用的是什么产品,什么版本?在什么操作系统上?


四、请提供详细的错误堆栈信息,这很重要。

2021-05-06 16:04:59.387 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299247, Client-RequestToken=4076600e538033137b67cd4765f248cc, Timestamp=1620288299248, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.498 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299247, Client-RequestToken=4076600e538033137b67cd4765f248cc, Timestamp=1620288299248, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.611 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299247, Client-RequestToken=4076600e538033137b67cd4765f248cc, Timestamp=1620288299248, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.612  WARN 3824 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade] & group[DEFAULT_GROUP]

2021-05-06 16:04:59.720 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299613, Client-RequestToken=c0ab63e79c139014823cf0e640f7a770, Timestamp=1620288299613, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.830 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299613, Client-RequestToken=c0ab63e79c139014823cf0e640f7a770, Timestamp=1620288299613, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.942 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299613, Client-RequestToken=c0ab63e79c139014823cf0e640f7a770, Timestamp=1620288299613, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:04:59.942  WARN 3824 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade.yaml] & group[DEFAULT_GROUP]

2021-05-06 16:05:00.052 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299942, Client-RequestToken=8f669340d7450539f8a598b1885ee829, Timestamp=1620288299943, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:05:00.164 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299942, Client-RequestToken=8f669340d7450539f8a598b1885ee829, Timestamp=1620288299943, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-05-06 16:05:00.275 ERROR 3824 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1620288299942, Client-RequestToken=8f669340d7450539f8a598b1885ee829, Timestamp=1620288299943, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

五、若有更多详细信息,请在下面提供。

1条回答
  •  admin
    admin (最佳回答者)
    2021-05-07 18:26

    如果本地可以启动,其他地方不改,换一个nacos地址就无法启动,那就是nacos本身的问题。

    确认一下版本号是否一样,另外有时候nacos需要重启才能真正刷新到配置文件

    作者追问:2021-05-07 18:26

    谢谢,已解决,是nacos版本问题

    1 讨论(1)
提交回复