You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2020/09/25 01:25:45 UTC

[GitHub] [dubbo-samples] robin977 opened a new issue #178: dubbo-demo-servicediscovery-xml see" RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880"

robin977 opened a new issue #178:
URL: https://github.com/apache/dubbo-samples/issues/178


   [25/09/20 09:22:36:023 CST] main ERROR client.ServiceDiscoveryRegistry:  [DUBBO] Failed to get the exported URLs from the target service instance[DefaultServiceInstance{id='127.0.0.1#20885#DEFAULT#DEFAULT_GROUP@@demo-provider', serviceName='DEFAULT_GROUP@@demo-provider', host='127.0.0.1', port=20885, enabled=true, healthy=true, metadata={dubbo.metadata-service.url-params={"dubbo":{"version":"1.0.0","dubbo":"2.0.2","release":"2.7.7","port":"20880"}}, dubbo.subscribed-services.revision=N/A, dubbo.endpoints=[{"port":20885,"protocol":"dubbo"}], dubbo.metadata.storage-type=local, dubbo.exported-services.revision=-8573446376848117135}}], dubbo version: 2.7.7, current host: 127.0.0.1
   org.apache.dubbo.rpc.RpcException: Failed to invoke remote method: getExportedURLs, provider: dubbo://127.0.0.1:20880/org.apache.dubbo.metadata.MetadataService?dubbo=2.0.2&group=DEFAULT_GROUP@@demo-provider&port=20880&release=2.7.7&version=1.0.0, cause: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:265)
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:120)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:100)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:175)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   	at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:73)
   	at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:51)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ConsumerContextFilter.invoke(ConsumerContextFilter.java:69)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.listener.ListenerInvokerWrapper.invoke(ListenerInvokerWrapper.java:78)
   	at org.apache.dubbo.rpc.proxy.InvokerInvocationHandler.invoke(InvokerInvocationHandler.java:74)
   	at org.apache.dubbo.common.bytecode.proxy0.getExportedURLs(proxy0.java)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.getExportedURLs(ServiceDiscoveryRegistry.java:753)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.initializeRevisionExportedURLs(ServiceDiscoveryRegistry.java:662)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.initializeSelectedRevisionExportedURLs(ServiceDiscoveryRegistry.java:495)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.initializeRevisionExportedURLs(ServiceDiscoveryRegistry.java:479)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.lambda$prepareServiceRevisionExportedURLs$3(ServiceDiscoveryRegistry.java:455)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.executeExclusively(ServiceDiscoveryRegistry.java:770)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.prepareServiceRevisionExportedURLs(ServiceDiscoveryRegistry.java:451)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.getExportedURLs(ServiceDiscoveryRegistry.java:432)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:396)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:341)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.lambda$subscribeURLs$2(ServiceDiscoveryRegistry.java:333)
   	at java.lang.Iterable.forEach(Iterable.java:75)
   	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribeURLs(ServiceDiscoveryRegistry.java:333)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.doSubscribe(ServiceDiscoveryRegistry.java:294)
   	at org.apache.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:333)
   	at org.apache.dubbo.registry.client.ServiceDiscoveryRegistry.subscribe(ServiceDiscoveryRegistry.java:289)
   	at org.apache.dubbo.registry.ListenerRegistryWrapper.subscribe(ListenerRegistryWrapper.java:105)
   	at org.apache.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:185)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:474)
   	at org.apache.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:455)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:159)
   	at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:70)
   	at org.apache.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
   	at org.apache.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:318)
   	at org.apache.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:258)
   	at org.apache.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:158)
   	at org.apache.dubbo.config.spring.ReferenceBean.getObject(ReferenceBean.java:68)
   	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:170)
   	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1640)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
   	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)
   	at org.apache.dubbo.demo.consumer.Application.main(Application.java:32)
   Caused by: java.util.concurrent.ExecutionException: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:265)
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:120)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:100)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:175)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   	at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
   	at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1928)
   	at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:181)
   	at org.apache.dubbo.rpc.protocol.AsyncToSyncInvoker.invoke(AsyncToSyncInvoker.java:61)
   	... 44 more
   Caused by: org.apache.dubbo.remoting.RemotingException: org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   org.apache.dubbo.remoting.RemotingException: Not found exported service: DEFAULT_GROUP@@demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880 in [org.apache.dubbo.demo.DemoService:20885, demo-provider/org.apache.dubbo.metadata.MetadataService:1.0.0:20880], may be version or group mismatch , channel: consumer: /127.0.0.1:55755 --> provider: /127.0.0.1:20880, message:RpcInvocation [methodName=getExportedURLs, parameterTypes=[], arguments=[], attachments={input=187, path=org.apache.dubbo.metadata.MetadataService, dubbo=2.0.2, version=1.0.0, group=DEFAULT_GROUP@@demo-provider}]
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:265)
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:120)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:100)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:175)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.doReceived(DefaultFuture.java:212)
   	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:175)
   	at org.apache.dubbo.remoting.exchange.support.DefaultFuture.received(DefaultFuture.java:163)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleResponse(HeaderExchangeHandler.java:60)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:181)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at org.apache.dubbo.common.threadpool.ThreadlessExecutor.waitAndDrain(ThreadlessExecutor.java:93)
   	at org.apache.dubbo.rpc.AsyncRpcResult.get(AsyncRpcResult.java:179)
   	... 45 more


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org