AlbumenJ commented on issue #8652:
URL: https://github.com/apache/dubbo/issues/8652#issuecomment-917625419


   > > dubbo 3.0 需要使用 nacos 2.0.0 及以上版本
   > 
   > 改用nacos 2.0.3 同样服务注册
   > 
   > `[09/09/21 10:50:58:058 CST] main ERROR nacos.NacosRegistry: [DUBBO] 
Request nacos server failed: , dubbo version: 3.0.0, current host: 192.168.1.4 
ErrCode:500, ErrMsg:Request nacos server failed: at 
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:213)
 at 
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.registerService(NamingGrpcClientProxy.java:101)
 at 
com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.registerService(NamingClientProxyDelegate.java:95)
 at 
com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:139)
 at 
org.apache.dubbo.registry.nacos.NacosNamingServiceWrapper.registerInstance(NacosNamingServiceWrapper.java:57)
 at 
org.apache.dubbo.registry.nacos.NacosRegistry.lambda$doRegister$1(NacosRegistry.java:164)
 at 
org.apache.dubbo.registry.nacos.NacosRegistry$$Lambda$145/30306181.callback(Unknown
 Source) at org.apache.dubbo.registry.nacos.NacosRe
 gistry.execute(NacosRegistry.java:567) at 
org.apache.dubbo.registry.nacos.NacosRegistry.doRegister(NacosRegistry.java:164)
 at 
org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:205)
 at 
org.apache.dubbo.registry.ListenerRegistryWrapper.register(ListenerRegistryWrapper.java:58)
 at 
org.apache.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:183)
 at 
org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:219)
 at 
org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:64)
 at 
org.apache.dubbo.rpc.cluster.filter.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:60)
 at 
org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:64)
 at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java) at 
org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:511)
 at org.apache.dubbo.config.ServiceConfig.doExportUrls(Ser
 viceConfig.java:344) at 
org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:320) at 
org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:219) at 
org.apache.dubbo.config.bootstrap.DubboBootstrap.exportServices(DubboBootstrap.java:1295)
 at 
org.apache.dubbo.config.bootstrap.DubboBootstrap.start(DubboBootstrap.java:1090)
 at 
org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onContextRefreshedEvent(DubboBootstrapApplicationListener.java:70)
 at 
org.apache.dubbo.config.spring.context.DubboBootstrapApplicationListener.onApplicationContextEvent(DubboBootstrapApplicationListener.java:63)
 at 
com.alibaba.spring.context.OnceApplicationContextEventListener.onApplicationEvent(OnceApplicationContextEventListener.java:52)
 at 
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
 at 
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplication
 EventMulticaster.java:165) at 
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
 at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393)
 at 
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347)
 at 
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883)
 at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546)
 at 
org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:84)
 at org.apache.dubbo.samples.ProviderBootstrap.main(ProviderBootstrap.java:32) 
Caused by: ErrCode:-401, ErrMsg:Client not connected,current status:STARTING at 
com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:628) at 
com.alibaba.na
 cos.common.remote.client.RpcClient.request(RpcClient.java:608) at 
com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:203)
 ... 34 more`
   
   nacos 服务端也需要升级


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to