authApllicaion启动报错连接不上nacos

Blade 已结 1 1161
2143
2143 剑者 2021-10-13 10:28

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

1. 在启动authapllicaion时启动失败 之前可以使用 重启里服务器后 不能使用 使用其他服务器的nacos没有问题 本地也没问题

2. 版本都是2.0.0

3.没有在docker 9848和9849是开着的 其他服务器中nacos也是解压直接启动的 没有任何配置

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

                   ______  _             _       ___   ___

                   | ___ \| |           | |      \  \ /  /

                   | |_/ /| |  __ _   __| |  ___  \  V  /

                   | ___ \| | / _` | / _` | / _ \   > <

                   | |_/ /| || (_| || (_| ||  __/ /  .  \

                   \____/ |_| \__,_| \__,_| \___|/__/ \__\


:: BladeX 2.8.1.RELEASE :: blade-auth:dev :: Running SpringBoot 2.2.13.RELEASE :: 


2021-10-13 10:22:32.907  INFO 6376 --- [           main] c.a.n.c.c.impl.LocalConfigInfoProcessor  : LOCAL_SNAPSHOT_PATH:C:\Users\q7619\nacos\config

2021-10-13 10:22:32.969  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 40 ms to scan 1 urls, producing 3 keys and 6 values 

2021-10-13 10:22:33.006  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 20 ms to scan 1 urls, producing 4 keys and 9 values 

2021-10-13 10:22:33.030  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 18 ms to scan 1 urls, producing 3 keys and 10 values 

2021-10-13 10:22:33.236  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 203 ms to scan 289 urls, producing 0 keys and 0 values 

2021-10-13 10:22:33.249  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 12 ms to scan 1 urls, producing 1 keys and 5 values 

2021-10-13 10:22:33.265  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 13 ms to scan 1 urls, producing 1 keys and 7 values 

2021-10-13 10:22:33.280  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 12 ms to scan 1 urls, producing 2 keys and 8 values 

2021-10-13 10:22:33.442  INFO 6376 --- [           main] org.reflections.Reflections              : Reflections took 160 ms to scan 289 urls, producing 0 keys and 0 values 

2021-10-13 10:22:33.443  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]RpcClient init label, labels={module=config, Vipserver-Tag=null, source=sdk, Amory-Tag=null, Location-Tag=null, taskId=0, AppName=unknown}

2021-10-13 10:22:33.444  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$262/1863100050

2021-10-13 10:22:33.444  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]Register server push request handler:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$$Lambda$263/739264372

2021-10-13 10:22:33.445  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]Registry connection listener to current client:com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$1

2021-10-13 10:22:33.446  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]RpcClient init, ServerListFactory =com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient$2

2021-10-13 10:22:33.449  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:37.612  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:40.620  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:43.646  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] try to re connect to a new server ,server is  not appointed,will choose a random server.

2021-10-13 10:22:43.648  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler

2021-10-13 10:22:43.650  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$4

2021-10-13 10:22:43.721  INFO 6376 --- [           main] c.a.nacos.client.config.impl.Limiter     : limitTime:5.0

2021-10-13 10:22:43.830 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091763655, Client-RequestToken=f534e004e2ffdbe92a426b544f330027, Timestamp=1634091763660, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:43.940 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091763655, Client-RequestToken=f534e004e2ffdbe92a426b544f330027, Timestamp=1634091763660, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.049 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091763655, Client-RequestToken=f534e004e2ffdbe92a426b544f330027, Timestamp=1634091763660, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.049  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-10-13 10:22:44.050  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-10-13 10:22:44.052  INFO 6376 --- [           main] c.a.nacos.client.config.utils.JvmUtil    : isMultiInstance:false

2021-10-13 10:22:44.191 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764075, Client-RequestToken=eb23d882bd4b529f333eb909de4fff31, Timestamp=1634091764075, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.301 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764075, Client-RequestToken=eb23d882bd4b529f333eb909de4fff31, Timestamp=1634091764075, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.410 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764075, Client-RequestToken=eb23d882bd4b529f333eb909de4fff31, Timestamp=1634091764075, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.410  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-dev.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-10-13 10:22:44.411  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-dev.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-10-13 10:22:44.535 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764421, Client-RequestToken=4486ec4218641306cf3ce76313a1a47c, Timestamp=1634091764421, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.644 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764421, Client-RequestToken=4486ec4218641306cf3ce76313a1a47c, Timestamp=1634091764421, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.751 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764421, Client-RequestToken=4486ec4218641306cf3ce76313a1a47c, Timestamp=1634091764421, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.751  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-10-13 10:22:44.751  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth, group=DEFAULT_GROUP, tenant=, config=

2021-10-13 10:22:44.751  WARN 6376 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth] & group[DEFAULT_GROUP]

2021-10-13 10:22:44.859 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764752, Client-RequestToken=1d0bd0fc83540554c20323644338561c, Timestamp=1634091764752, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:44.969 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764752, Client-RequestToken=1d0bd0fc83540554c20323644338561c, Timestamp=1634091764752, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:45.076 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091764752, Client-RequestToken=1d0bd0fc83540554c20323644338561c, Timestamp=1634091764752, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:45.078  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-10-13 10:22:45.078  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-10-13 10:22:45.078  WARN 6376 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth.yaml] & group[DEFAULT_GROUP]

2021-10-13 10:22:45.185 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091765079, Client-RequestToken=8021f2764b857a849f398da1f028b70f, Timestamp=1634091765079, notify=false}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:45.294 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091765079, Client-RequestToken=8021f2764b857a849f398da1f028b70f, Timestamp=1634091765079, notify=false}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:45.405 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=ConfigQueryRequest{headers={charset=UTF-8, exConfigInfo=true, Client-AppName=unknown, Client-RequestTS=1634091765079, Client-RequestToken=8021f2764b857a849f398da1f028b70f, Timestamp=1634091765079, notify=false}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:22:45.405  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get from server error, dataId=blade-auth-dev.yaml, group=DEFAULT_GROUP, tenant=, msg=ErrCode:-401, ErrMsg:Client not connected,current status:STARTING

2021-10-13 10:22:45.405  WARN 6376 --- [           main] c.a.n.client.config.NacosConfigService   : [config_rpc_client] [get-config] get snapshot ok, dataId=blade-auth-dev.yaml, group=DEFAULT_GROUP, tenant=, config=

2021-10-13 10:22:45.406  WARN 6376 --- [           main] c.a.c.n.c.NacosPropertySourceBuilder     : Ignore the empty nacos configuration and get it based on dataId[blade-auth-dev.yaml] & group[DEFAULT_GROUP]

2021-10-13 10:22:45.407  INFO 6376 --- [           main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-blade-auth-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-auth,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-blade.yaml,DEFAULT_GROUP'}]

2021-10-13 10:22:45.413  INFO 6376 --- [           main] org.springblade.auth.AuthApplication     : The following profiles are active: dev

2021-10-13 10:22:45.536  WARN 6376 --- [           main] o.s.c.c.u.SpringFactoryImportSelector    : More than one implementation of @EnableCircuitBreaker (now relying on @Conditionals to pick one): [org.springframework.cloud.netflix.hystrix.HystrixCircuitBreakerConfiguration, com.alibaba.cloud.sentinel.custom.SentinelCircuitBreakerConfiguration]

2021-10-13 10:22:47.196  INFO 6376 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode!

2021-10-13 10:22:47.201  INFO 6376 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.

2021-10-13 10:22:47.236  INFO 6376 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 14ms. Found 0 Redis repository interfaces.

2021-10-13 10:22:47.340  WARN 6376 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format.

2021-10-13 10:22:47.382  WARN 6376 --- [           main] o.s.boot.actuate.endpoint.EndpointId     : Endpoint ID 'hystrix.stream' contains invalid characters, please migrate to a valid format.

2021-10-13 10:22:47.489  WARN 6376 --- [           main] o.m.s.mapper.ClassPathMapperScanner      : No MyBatis mapper was found in '[org.springblade.auth]' package. Please check your configuration.

2021-10-13 10:22:47.623  INFO 6376 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=fd784a87-c66c-3111-96bd-e846013ffbcc

2021-10-13 10:22:47.629  INFO 6376 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor init.

2021-10-13 10:22:47.630  INFO 6376 --- [           main] s.c.l.p.BladePropertySourcePostProcessor : BladePropertySourcePostProcessor process @BladePropertySource bean.

2021-10-13 10:22:48.141  INFO 6376 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

INFO: Sentinel log output type is: file

INFO: Sentinel log charset is: utf-8

INFO: Sentinel log base directory is: C:\Users\q7619\logs\csp\

INFO: Sentinel log name use pid is: false

2021-10-13 10:22:48.290  INFO 6376 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

2021-10-13 10:22:48.541  WARN 6376 --- [           main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used

2021-10-13 10:22:48.567  INFO 6376 --- [           main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext

2021-10-13 10:22:48.567  INFO 6376 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3129 ms

2021-10-13 10:22:48.715  WARN 6376 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

2021-10-13 10:22:48.715  INFO 6376 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.

2021-10-13 10:22:48.727  INFO 6376 --- [           main] c.netflix.config.DynamicPropertyFactory  : DynamicPropertyFactory is initialized with configuration sources: com.netflix.config.ConcurrentCompositeConfiguration@37b238da

2021-10-13 10:22:48.877  INFO 6376 --- [           main] o.s.b.a.e.web.ServletEndpointRegistrar   : Registered '/actuator/hystrix.stream' to hystrix.stream-actuator-endpoint

2021-10-13 10:22:48.921  INFO 6376 --- [           main] c.a.d.s.b.a.DruidDataSourceAutoConfigure : Init DruidDataSource

2021-10-13 10:22:49.405  INFO 6376 --- [           main] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} inited

2021-10-13 10:22:49.780  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 1 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:22:49.873  WARN 6376 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : The provided URL is empty. Will try picking an instance via load-balancing.

2021-10-13 10:22:50.732  WARN 6376 --- [           main] o.s.c.openfeign.FeignClientFactoryBean   : The provided URL is empty. Will try picking an instance via load-balancing.

2021-10-13 10:22:50.785  WARN 6376 --- [           main] o.s.s.o.p.t.s.JwtAccessTokenConverter    : Unable to create an RSA verifier from verifierKey (ignoreable if using MAC)

2021-10-13 10:22:51.632  INFO 6376 --- [           main] c.a.c.s.SentinelWebAutoConfiguration     : [Sentinel Starter] register SentinelWebInterceptor with urlPatterns: [/**].

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /oauth/callback/{source}}" onto org.springblade.auth.endpoint.BladeSocialEndpoint#login(String, AuthCallback)

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /oauth/render/{source}}" onto org.springblade.auth.endpoint.BladeSocialEndpoint#renderAuth(String, HttpServletResponse)

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /oauth/revoke/{source}/{token}}" onto org.springblade.auth.endpoint.BladeSocialEndpoint#revokeAuth(String, String)

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /oauth/refresh/{source}}" onto org.springblade.auth.endpoint.BladeSocialEndpoint#refreshAuth(String, String)

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /oauth/clear-cache}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#clearCache()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /oauth/logout}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#logout()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /oauth/user-info}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#currentUser(Authentication)

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{GET /oauth/captcha}" onto org.springblade.auth.endpoint.BladeTokenEndPoint#captcha()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources/configuration/ui}" onto springfox.documentation.swagger.web.ApiResourceController#uiConfiguration()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources}" onto springfox.documentation.swagger.web.ApiResourceController#swaggerResources()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /swagger-resources/configuration/security}" onto springfox.documentation.swagger.web.ApiResourceController#securityConfiguration()

2021-10-13 10:22:51.649  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /error}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#error(HttpServletRequest)

2021-10-13 10:22:51.650  INFO 6376 --- [           main] .c.c.v.BladeRequestMappingHandlerMapping : Mapped "{ /error, produces [text/html]}" onto org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController#errorHtml(HttpServletRequest, HttpServletResponse)

2021-10-13 10:22:52.993  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 2 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:22:53.572  INFO 6376 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname

2021-10-13 10:22:53.584  INFO 6376 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null

2021-10-13 10:22:53.585  INFO 6376 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Environment :null

2021-10-13 10:22:53.586  INFO 6376 --- [           main] com.alibaba.nacos.client.naming          : initializer namespace from System Property :null

2021-10-13 10:22:53.627  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]RpcClient init label, labels={module=naming, source=sdk}

2021-10-13 10:22:53.628  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]RpcClient init, ServerListFactory =com.alibaba.nacos.client.naming.core.ServerListManager

2021-10-13 10:22:53.628  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:56.308  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 3 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:22:56.632  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:59.640  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470] Try to connect to server on start up, server: {serverIp='192.168.50.123', server main port=8848}

2021-10-13 10:22:59.712  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 4 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:23:02.643  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470] try to re connect to a new server ,server is  not appointed,will choose a random server.

2021-10-13 10:23:02.645  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$ConnectResetRequestHandler

2021-10-13 10:23:02.646  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]Register server push request handler:com.alibaba.nacos.common.remote.client.RpcClient$4

2021-10-13 10:23:02.650  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]Register server push request handler:com.alibaba.nacos.client.naming.remote.gprc.NamingPushRequestHandler

2021-10-13 10:23:02.650  INFO 6376 --- [           main] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470]Registry connection listener to current client:com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcConnectionEventListener

2021-10-13 10:23:02.873  INFO 6376 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 22 endpoint(s) beneath base path '/actuator'

2021-10-13 10:23:03.033  WARN 6376 --- [           main] c.n.c.sources.URLConfigurationSource     : No URLs will be polled as dynamic configuration sources.

2021-10-13 10:23:03.033  INFO 6376 --- [           main] c.n.c.sources.URLConfigurationSource     : To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.

2021-10-13 10:23:03.126  INFO 6376 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

2021-10-13 10:23:03.216  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 5 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:23:03.270  INFO 6376 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'Nacos-Watch-Task-Scheduler'

2021-10-13 10:23:04.604  INFO 6376 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : Inconsistent constructor declaration on bean with name 'org.springblade.core.launch.server.ServerInfo': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public org.springblade.core.launch.server.ServerInfo(org.springframework.boot.autoconfigure.web.ServerProperties)

2021-10-13 10:23:04.715  INFO 6376 --- [           main] pertySourcedRequestMappingHandlerMapping : Mapped URL path [/v2/api-docs] onto method [springfox.documentation.swagger2.web.Swagger2ControllerWebMvc#getDocumentation(String, HttpServletRequest)]

2021-10-13 10:23:05.258  INFO 6376 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/oauth/token'], Ant [pattern='/oauth/token_key'], Ant [pattern='/oauth/check_token']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@55f4ec04, org.springframework.security.web.context.SecurityContextPersistenceFilter@15ade272, org.springframework.security.web.header.HeaderWriterFilter@78d52d4c, org.springframework.security.web.authentication.logout.LogoutFilter@1b1d93e9, org.springframework.security.oauth2.provider.client.ClientCredentialsTokenEndpointFilter@e6fbf82, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@701c413, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@d426e01, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@467e7793, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@f3c27e9, org.springframework.security.web.session.SessionManagementFilter@34907a49, org.springframework.security.web.access.ExceptionTranslationFilter@4a76c90, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5432be12]

2021-10-13 10:23:05.278  INFO 6376 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfiguration$NotOAuthRequestMatcher@5e97da56, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@6e8f3b76, org.springframework.security.web.context.SecurityContextPersistenceFilter@3811464b, org.springframework.security.web.header.HeaderWriterFilter@94b5fe3, org.springframework.security.web.authentication.logout.LogoutFilter@2df7766b, org.springframework.security.oauth2.provider.authentication.OAuth2AuthenticationProcessingFilter@cda988, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@65cf8da0, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@732fa176, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@6cfe32cd, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5f0a5848, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@c6db00d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5f14eb51, org.springframework.security.web.session.SessionManagementFilter@4417755b, org.springframework.security.web.access.ExceptionTranslationFilter@59d7d574, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@18356d9e]

2021-10-13 10:23:05.281  INFO 6376 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3fe59f84, org.springframework.security.web.context.SecurityContextPersistenceFilter@4865434e, org.springframework.security.web.header.HeaderWriterFilter@1e86b2d1, org.springframework.security.web.authentication.logout.LogoutFilter@4df8443f, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@79aa675b, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3c6e407, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@287dde94, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@38eafdab, org.springframework.security.web.session.SessionManagementFilter@65029fc, org.springframework.security.web.access.ExceptionTranslationFilter@d98ce13]

2021-10-13 10:23:06.818  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [config-0-6de3b42a-68f9-48f8-b5c1-40cc3b4d0a62] fail to connect server,after trying 6 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:23:07.158  INFO 6376 --- [           main] o.s.cloud.commons.util.InetUtils         : Cannot determine local hostname

2021-10-13 10:23:07.227  WARN 6376 --- [           main] s.o.SpringCloudSecurityAutoConfiguration : All Spring Cloud Security modules and starters are deprecated. They will be moved to individual projects in the next major release.

2021-10-13 10:23:07.888  INFO 6376 --- [           main] c.a.n.client.identify.CredentialWatcher  : null No credential found

2021-10-13 10:23:07.990 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=SubscribeServiceRequest{headers={app=unknown}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.091 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=SubscribeServiceRequest{headers={app=unknown}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.194 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=SubscribeServiceRequest{headers={app=unknown}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.206 ERROR 6376 --- [           main] c.a.cloud.nacos.discovery.NacosWatch     : namingService subscribe failed, properties:NacosDiscoveryProperties{serverAddr='192.168.50.123:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='blade-auth', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='169.254.6.211', networkInterface='', port=-1, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null}


com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:213) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.subscribe(NamingGrpcClientProxy.java:172) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.subscribe(NamingClientProxyDelegate.java:146) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.NacosNamingService.subscribe(NacosNamingService.java:387) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.cloud.nacos.discovery.NacosWatch.start(NacosWatch.java:123) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.5.RELEASE.jar:2.2.5.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:182) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:53) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:360) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:158) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:122) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:895) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:162) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:405) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:140) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springblade.core.launch.BladeApplication.run(BladeApplication.java:50) [blade-core-launch-2.8.1.RELEASE.jar:na]

at org.springblade.auth.AuthApplication.main(AuthApplication.java:35) [classes/:na]

Caused by: com.alibaba.nacos.api.exception.NacosException: Client not connected,current status:STARTING

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:628) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:608) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:203) ~[nacos-client-2.0.0.jar:na]

... 19 common frames omitted


2021-10-13 10:23:08.217  INFO 6376 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Documentation plugins bootstrapped

2021-10-13 10:23:08.225  INFO 6376 --- [           main] d.s.w.p.DocumentationPluginsBootstrapper : Found 1 custom documentation plugin(s)

2021-10-13 10:23:08.299  INFO 6376 --- [           main] s.d.s.w.s.ApiListingReferenceScanner     : Scanning for api listing references

2021-10-13 10:23:08.601  INFO 6376 --- [           main] io.undertow                              : starting server: Undertow - 2.0.33.Final

2021-10-13 10:23:08.608  INFO 6376 --- [           main] org.xnio                                 : XNIO version 3.3.8.Final

2021-10-13 10:23:08.615  INFO 6376 --- [           main] org.xnio.nio                             : XNIO NIO Implementation Version 3.3.8.Final

2021-10-13 10:23:08.666  INFO 6376 --- [           main] o.s.b.w.e.u.UndertowServletWebServer     : Undertow started on port(s) 8100 (http) with context path ''

2021-10-13 10:23:08.670  INFO 6376 --- [           main] com.alibaba.nacos.client.naming          : [REGISTER-SERVICE] public registering service blade-auth with instance Instance{instanceId='null', ip='169.254.6.211', port=8100, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='DEFAULT', serviceName='null', metadata={preserved.register.source=SPRING_CLOUD}}

2021-10-13 10:23:08.766  INFO 6376 --- [t.remote.worker] com.alibaba.nacos.common.remote.client   : [3c67d3a5-5df1-45d1-898d-cb301e651470] fail to connect server,after trying 1 times, last try server is {serverIp='192.168.50.123', server main port=8848},error=unknown

2021-10-13 10:23:08.771 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=InstanceRequest{headers={app=unknown}, requestId='null'}, retryTimes=0,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.872 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=InstanceRequest{headers={app=unknown}, requestId='null'}, retryTimes=1,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.973 ERROR 6376 --- [           main] com.alibaba.nacos.common.remote.client   : Send request fail, request=InstanceRequest{headers={app=unknown}, requestId='null'}, retryTimes=2,errorMessage=Client not connected,current status:STARTING

2021-10-13 10:23:08.974 ERROR 6376 --- [           main] c.a.c.n.registry.NacosServiceRegistry    : nacos registry, blade-auth register failed...NacosRegistration{nacosDiscoveryProperties=NacosDiscoveryProperties{serverAddr='192.168.50.123:8848', endpoint='', namespace='', watchDelay=30000, logName='', service='blade-auth', weight=1.0, clusterName='DEFAULT', group='DEFAULT_GROUP', namingLoadCacheAtStart='false', metadata={preserved.register.source=SPRING_CLOUD}, registerEnabled=true, ip='169.254.6.211', networkInterface='', port=8100, secure=false, accessKey='', secretKey='', heartBeatInterval=null, heartBeatTimeout=null, ipDeleteTimeout=null}},


com.alibaba.nacos.api.exception.NacosException: Request nacos server failed: 

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:213) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.registerService(NamingGrpcClientProxy.java:101) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.registerService(NamingClientProxyDelegate.java:95) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:139) ~[nacos-client-2.0.0.jar:na]

at com.alibaba.cloud.nacos.registry.NacosServiceRegistry.register(NacosServiceRegistry.java:74) ~[spring-cloud-starter-alibaba-nacos-discovery-2.2.5.RELEASE.jar:2.2.5.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.register(AbstractAutoServiceRegistration.java:239) [spring-cloud-commons-2.2.8.RELEASE.jar:2.2.8.RELEASE]

at com.alibaba.cloud.nacos.registry.NacosAutoServiceRegistration.register(NacosAutoServiceRegistration.java:78) [spring-cloud-starter-alibaba-nacos-discovery-2.2.5.RELEASE.jar:2.2.5.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.start(AbstractAutoServiceRegistration.java:138) [spring-cloud-commons-2.2.8.RELEASE.jar:2.2.8.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.bind(AbstractAutoServiceRegistration.java:101) [spring-cloud-commons-2.2.8.RELEASE.jar:2.2.8.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:88) [spring-cloud-commons-2.2.8.RELEASE.jar:2.2.8.RELEASE]

at org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration.onApplicationEvent(AbstractAutoServiceRegistration.java:47) [spring-cloud-commons-2.2.8.RELEASE.jar:2.2.8.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:404) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:361) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:165) [spring-boot-2.2.13.RELEASE.jar:2.2.13.RELEASE]

at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:554) [spring-context-5.2.12.RELEASE.jar:5.2.12.RELEASE]

at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplication

1条回答
  •  admin
    admin (最佳回答者)
    2021-10-13 15:13

    看下nacos是否为2.x版本,如果是2.x版本要多开两个端口,如果还连不上,则说明是地址配置的问题,看下程序内nacos地址是否配置正确,更多注意事项可以看:https://sns.bladex.cn/q-41.html

    image.png


    1 讨论(1)
提交回复