Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend 服务报错 ErrCode:500, ErrMsg:Request nacos server failed #134

Open
asura-10 opened this issue Mar 8, 2023 · 1 comment
Open

Comments

@asura-10
Copy link

asura-10 commented Mar 8, 2023

遇到了这个问题,其他服务启动都正常,唯独这一个报了错误,然后导致 loadgenerator 启动失败

@asura-10
Copy link
Author

asura-10 commented Mar 8, 2023

[08/03/23 10:11:32:002 UTC] main INFO bootstrap.DubboBootstrap: [DUBBO] DubboBootstrap has been initialized!, dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:32:485 UTC] main INFO protocol.QosProtocolWrapper: [DUBBO] qos won't be started because it is disabled. Please check dubbo.application.qos.enable is configured either in system property, dubbo.properties or XML/spring-boot configuration., dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:32:953 UTC] main INFO migration.MigrationRuleListener: [DUBBO] Listening for migration rules on dataId-frontend.migration group-MIGRATION, dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:33:258 UTC] main INFO migration.MigrationRuleListener: [DUBBO] Using the following migration rule to migrate:, dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:33:258 UTC] main INFO migration.MigrationRuleListener: [DUBBO] INIT, dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:33:892 UTC] main INFO nacos.NacosRegistry: [DUBBO] Register: consumer://172.21.0.8/com.alibabacloud.hipstershop.cartserviceapi.service.CartService?application=frontend&category=consumers&check=false&dubbo=2.0.2&init=false&interface=com.alibabacloud.hipstershop.cartserviceapi.service.CartService&metadata-type=remote&methods=cleanCartItems,getProviderIp,viewCart,addItemToCart,setExceptionByIp&pid=7&qos.enable=false&release=2.7.18&retries=0&revision=1.0.0&side=consumer&sticky=false&timeout=2000&timestamp=1678270292014&version=1.0.0, dubbo version: 2.7.18, current host: 172.21.0.8
[08/03/23 10:11:34:203 UTC] main ERROR nacos.NacosRegistry: [DUBBO] Request nacos server failed: , dubbo version: 2.7.18, current host: 172.21.0.8
ErrCode:500, ErrMsg:Request nacos server failed:
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:279)
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.doRegisterService(NamingGrpcClientProxy.java:129)
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.registerService(NamingGrpcClientProxy.java:115)
at com.alibaba.nacos.client.naming.remote.NamingClientProxyDelegate.registerService(NamingClientProxyDelegate.java:95)
at com.alibaba.nacos.client.naming.NacosNamingService.registerInstance(NacosNamingService.java:145)
at org.apache.dubbo.registry.nacos.NacosNamingServiceWrapper.registerInstance(NacosNamingServiceWrapper.java:61)
at org.apache.dubbo.registry.nacos.NacosRegistry.lambda$doRegister$1(NacosRegistry.java:165)
at org.apache.dubbo.registry.nacos.NacosRegistry.execute(NacosRegistry.java:632)
at org.apache.dubbo.registry.nacos.NacosRegistry.doRegister(NacosRegistry.java:165)
at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:206)
at org.apache.dubbo.registry.ListenerRegistryWrapper.register(ListenerRegistryWrapper.java:57)
at org.apache.dubbo.registry.integration.RegistryProtocol.doCreateInvoker(RegistryProtocol.java:524)
at org.apache.dubbo.registry.integration.InterfaceCompatibleRegistryProtocol.getInvoker(InterfaceCompatibleRegistryProtocol.java:63)
at org.apache.dubbo.registry.client.migration.MigrationInvoker.refreshInterfaceInvoker(MigrationInvoker.java:333)
at org.apache.dubbo.registry.client.migration.MigrationInvoker.fallbackToInterfaceInvoker(MigrationInvoker.java:158)
at org.apache.dubbo.registry.client.migration.MigrationRuleHandler.doMigrate(MigrationRuleHandler.java:65)
at org.apache.dubbo.registry.client.migration.MigrationRuleListener.onRefer(MigrationRuleListener.java:103)
at org.apache.dubbo.registry.integration.RegistryProtocol.interceptInvoker(RegistryProtocol.java:500)
at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:485)
at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:479)
at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:72)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:81)
at org.apache.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:73)
at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:378)
at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:313)
at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:206)
at org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor.doGetInjectedBean(ReferenceAnnotationBeanPostProcessor.java:165)
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.getInjectedObject(AbstractAnnotationBeanPostProcessor.java:409)
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor$AnnotatedFieldElement.inject(AbstractAnnotationBeanPostProcessor.java:626)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130)
at com.alibaba.spring.beans.factory.annotation.AbstractAnnotationBeanPostProcessor.postProcessPropertyValues(AbstractAnnotationBeanPostProcessor.java:179)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1427)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:879)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:141)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:747)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1226)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215)
at com.alibabacloud.hipstershop.Application.main(Application.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)
Caused by: ErrCode:-401, ErrMsg:Client not connected,current status:STARTING
at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:655)
at com.alibaba.nacos.common.remote.client.RpcClient.request(RpcClient.java:635)
at com.alibaba.nacos.client.naming.remote.gprc.NamingGrpcClientProxy.requestToServer(NamingGrpcClientProxy.java:269)
... 56 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant