gang0713 removed a comment on issue #8225:
URL: https://github.com/apache/dubbo/issues/8225#issuecomment-890668733


   我用您的代码,在CentOS 8.3.2011下还是消费端报错。
   
   
   2021-08-02 10:39:26  WARN 
org.springframework.boot.context.properties.PropertySourcesDeducer:66 - 
Multiple PropertySourcesPlaceholderConfigurer beans registered 
[propertySourcesPlaceholderConfigurer, 
org.springframework.context.support.PropertySourcesPlaceholderConfigurer], 
falling back to Environment
   2021-08-02 10:39:26  INFO 
org.springframework.boot.web.embedded.tomcat.TomcatWebServer:108 - Tomcat 
initialized with port(s): 9081 (http)
   2021-08-02 10:39:26  INFO org.apache.coyote.http11.Http11NioProtocol:173 - 
Initializing ProtocolHandler ["http-nio-9081"]
   2021-08-02 10:39:26  INFO org.apache.catalina.core.StandardService:173 - 
Starting service [Tomcat]
   2021-08-02 10:39:26  INFO org.apache.catalina.core.StandardEngine:173 - 
Starting Servlet engine: [Apache Tomcat/9.0.46]
   2021-08-02 10:39:26  INFO 
org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:173 - 
Initializing Spring embedded WebApplicationContext
   2021-08-02 10:39:26  INFO 
org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext:285
 - Root WebApplicationContext: initialization completed in 892 ms
   2021-08-02 10:39:26  INFO 
org.apache.dubbo.config.spring.reference.ReferenceCreator:95 - The 
configBean[type:ReferenceConfig] has been built.
   2021-08-02 10:39:26  INFO 
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor:181 - 
Initializing ExecutorService 'applicationTaskExecutor'
   2021-08-02 10:39:26  INFO org.reflections.Reflections:232 - Reflections took 
47 ms to scan 1 urls, producing 3 keys and 6 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
34 ms to scan 1 urls, producing 4 keys and 9 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
28 ms to scan 1 urls, producing 3 keys and 10 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
183 ms to scan 89 urls, producing 0 keys and 0 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
29 ms to scan 1 urls, producing 1 keys and 5 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
24 ms to scan 1 urls, producing 1 keys and 7 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
20 ms to scan 1 urls, producing 2 keys and 8 values 
   2021-08-02 10:39:27  INFO org.reflections.Reflections:232 - Reflections took 
100 ms to scan 89 urls, producing 0 keys and 0 values 
   2021-08-02 10:39:27  INFO 
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler:181 - 
Initializing ExecutorService 'taskScheduler'
   2021-08-02 10:39:27  INFO org.apache.coyote.http11.Http11NioProtocol:173 - 
Starting ProtocolHandler ["http-nio-9081"]
   2021-08-02 10:39:27  INFO 
org.springframework.boot.web.embedded.tomcat.TomcatWebServer:220 - Tomcat 
started on port(s): 9081 (http) with context path ''
   2021-08-02 10:39:31  INFO 
cn.raysonblog.shopserviceconsumer.ShopServiceConsumerApplication:61 - Started 
ShopServiceConsumerApplication in 6.713 seconds (JVM running for 7.309)
   2021-08-02 10:39:35 ERROR 
org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler:95 - 
Unexpected error occurred in scheduled task
   org.apache.dubbo.rpc.RpcException: Failed to invoke the method sayHello in 
the service cn.raysonblog.shopservice.api.service.RpcShopService. No provider 
available for the service 
cn.raysonblog.shopservice.api.service.RpcShopService:1.0.0 from registry 
127.0.0.1:8849 on the consumer 192.168.0.20 using the dubbo version 3.0.1. 
Please check if the providers have been started and registered.
        at 
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.checkInvokers(AbstractClusterInvoker.java:288)
 ~[dubbo-3.0.1.jar!/:3.0.1]
        at 
org.apache.dubbo.rpc.cluster.support.FailoverClusterInvoker.doInvoke(FailoverClusterInvoker.java:59)
 ~[dubbo-3.0.1.jar!/:3.0.1]
        at 
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker.invoke(AbstractClusterInvoker.java:265)
 ~[dubbo-3.0.1.jar!/:3.0.1]
        at 
org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:89) 
~[dubbo-3.0.1.jar!/:3.0.1]
        at 
org.apache.dubbo.rpc.cluster.filter.FilterChainBuilder$FilterChainNode.invoke(FilterChainBuilder.java:82)
 ~[dubbo-3.0.1.jar!/:3.0.1]
        at 
org.apache.dubbo.rpc.protocol.dubbo.filter.FutureFilter.invoke(FutureFilter.java:51)
 ~[dubbo-3.0.1.jar!/:3.0.1]
   


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