You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by GitBox <gi...@apache.org> on 2021/06/26 10:28:26 UTC

[GitHub] [incubator-shenyu] flycash opened a new issue #1676: Startup examplese-http but rules not register

flycash opened a new issue #1676:
URL: https://github.com/apache/incubator-shenyu/issues/1676


   ## Describe the bug
   <!--
   A clear and concise description of what the bug is.
   -->
   
   ## Environment
   
   - Soul version(s): Build from source code 
   
   ## Steps to reproduce
   
   - startup admin from JetBrains IDEA directly
   - startup examples-http
   
   Using the mysql as database.
   
   ## Expected behavior
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   According to the [document](https://shenyu.apache.org/zh/projects/shenyu/quick-start-http/),
   
   we could see something like:
   ![image](https://user-images.githubusercontent.com/9923838/123510009-99062300-d6ab-11eb-9639-a599ebdf9f5e.png)
   
   but actually, I got 
   
   ![image](https://user-images.githubusercontent.com/9923838/123510018-aa4f2f80-d6ab-11eb-895e-78259a8f77ca.png)
   
   it means that we do not register the rules.
   
   And then I check the logs of examples-http:
   ![image](https://user-images.githubusercontent.com/9923838/123510054-eda99e00-d6ab-11eb-816c-746079d7cd1c.png)
   
   
   ## Debug logs
   <!--
   Add your debug logs here.
   -->
   
   <details>
   <summary>Click to expand</summary>
   
   ```shell
   2021-06-26 18:25:16.349  INFO 26428 --- [           main] o.a.s.e.http.ShenyuTestHttpApplication   : Starting ShenyuTestHttpApplication on C02FN1LNMD6P with PID 26428 (/Users/ming.deng/Workspace/java/dromara/shenyu/shenyu-examples/shenyu-examples-http/target/classes started by ming.deng in /Users/ming.deng/Workspace/java/dromara/shenyu/shenyu-examples)
   2021-06-26 18:25:16.355  INFO 26428 --- [           main] o.a.s.e.http.ShenyuTestHttpApplication   : No active profile set, falling back to default profiles: default
   2021-06-26 18:25:17.091  INFO 26428 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shenyu.springboot.starter.client.springmvc.ShenyuSpringMvcClientConfiguration' of type [org.apache.shenyu.springboot.starter.client.springmvc.ShenyuSpringMvcClientConfiguration$$EnhancerBySpringCGLIB$$fb47cebc] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
   2021-06-26 18:25:17.094  INFO 26428 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.shenyu.springboot.starter.client.common.config.ShenyuClientCommonBeanConfiguration' of type [org.apache.shenyu.springboot.starter.client.common.config.ShenyuClientCommonBeanConfiguration$$EnhancerBySpringCGLIB$$a5b3766a] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
   2021-06-26 18:25:17.117  INFO 26428 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'shenyuRegisterCenterConfig' of type [org.apache.shenyu.register.common.config.ShenyuRegisterCenterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
   2021-06-26 18:25:17.158  INFO 26428 --- [           main] o.a.s.c.c.s.ShenyuClientShutdownHook     : Add hook ShenyuClientShutdownHook-1
   2021-06-26 18:25:17.160  INFO 26428 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'shenyuClientRegisterRepository' of type [org.apache.shenyu.register.client.http.HttpClientRegisterRepository] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
   2021-06-26 18:25:17.295  INFO 26428 --- [       Thread-5] o.a.s.c.c.s.ShenyuClientShutdownHook     : hook Thread-0 will sleep 3000ms when it start
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-26] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/order/save","pathDesc":"Save order","rpcType":"http","ruleName":"/http/order/save","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-29] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/order/path/**/name","pathDesc":"","rpcType":"http","ruleName":"/http/order/path/**/name","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-30] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/request/**","pathDesc":"","rpcType":"http","ruleName":"/http/request/**","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-28] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/order/path/**","pathDesc":"","rpcType":"http","ruleName":"/http/order/path/**","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-27] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/order/findById","pathDesc":"Find by id","rpcType":"http","ruleName":"/http/order/findById","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.568  INFO 26428 --- [or_consumer_-25] o.a.s.r.client.http.utils.RegisterUtils  : http client register success: {"appName":"http","contextPath":"/http","path":"/http/test/**","pathDesc":"","rpcType":"http","ruleName":"/http/test/**","enabled":true,"host":"192.168.86.187","port":8189,"registerMetaData":false} 
   2021-06-26 18:25:17.898  INFO 26428 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port(s): 18189
   2021-06-26 18:25:17.903  INFO 26428 --- [           main] o.a.s.e.http.ShenyuTestHttpApplication   : Started ShenyuTestHttpApplication in 2.163 seconds (JVM running for 2.964)
   2021-06-26 18:25:17.911  INFO 26428 --- [       Thread-5] o.a.s.c.c.s.ShenyuClientShutdownHook     : hook SpringContextShutdownHook will sleep 3000ms when it start
   ```
   </details>
   
   So there maybe something wrong with `shenyu-admin` module
   


-- 
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: notifications-unsubscribe@shenyu.apache.org

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



[GitHub] [incubator-shenyu] dengliming closed issue #1676: Startup examplese-http but rules not register

Posted by GitBox <gi...@apache.org>.
dengliming closed issue #1676:
URL: https://github.com/apache/incubator-shenyu/issues/1676


   


-- 
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: notifications-unsubscribe@shenyu.apache.org

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