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/08/09 06:08:11 UTC

[GitHub] [incubator-shenyu] zhentaowang opened a new issue #1901: Gateway local deployment usage problem(2.4.0)

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


   ## Describe the bug
   <!--
   A clear and concise description of what the bug is.
   -->
   Pull the latest code from GitHub, compile and start locally, and write a spring cloud demo, Nacos for the registry
   
   When I request the demo API through the gateway, the following error is reported:
   
   {
   
   "code": -109,
   
   "message": "SpringCloud serviceId does not exist or is configured incorrectly!",
   
   "data": null
   
   }
   
   During preliminary troubleshooting, it is found that there is no service in the service list of ribbon load balancer, and the log is as follows:
   
   2021-08-06 15:51:31 [shenyu-netty-kqueue-2] INFO com.netflix.config.ChainedDynamicProperty - Flipping property: demo.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
   
   2021-08-06 15:51:31 [shenyu-netty-kqueue-2] INFO com.netflix.loadbalancer.BaseLoadBalancer - Client: demo instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=demo,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
   
   2021-08-06 15:51:31 [shenyu-netty-kqueue-2] INFO com.netflix.loadbalancer.DynamicServerListLoadBalancer - Using serverListUpdater PollingServerListUpdater
   
   2021-08-06 15:51:31 [shenyu-netty-kqueue-2] INFO com.netflix.loadbalancer.DynamicServerListLoadBalancer - DynamicServerListLoadBalancer for client demo initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=demo,current list of Servers=[],Load balancer stats=Zone stats: {}, Server stats: []}ServerList:com.alibaba.cloud.nacos.ribbon. NacosServerList@aa91946
   
   15:51:46,369 |-INFO in ReconfigureOnChangeTask(born:1628236246363) - Empty watch file list. Disabling
   
   But after analysis, I don't know why I didn't find the demo service. I forgot to take the time to help me see when the latest 2.4.0 release will be released
   ## Environment
   
   - ShenYu version(s): 2.4.0
   
   ## Steps to reproduce
   
   
   ## Expected behavior
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   ## Debug logs
   <!--
   Add your debug logs here.
   -->
   
   <details>
   <summary>Click to expand</summary>
   
   ```
   replace this line with your debug logs
   ```
   </details>
   


-- 
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] zhentaowang commented on issue #1901: Gateway local deployment usage problem(2.4.0)

Posted by GitBox <gi...@apache.org>.
zhentaowang commented on issue #1901:
URL: https://github.com/apache/incubator-shenyu/issues/1901#issuecomment-895053438


   yes


-- 
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] yu199195 commented on issue #1901: Gateway local deployment usage problem(2.4.0)

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #1901:
URL: https://github.com/apache/incubator-shenyu/issues/1901#issuecomment-895052412


   > when the gateway service and business service are not registered under the same namespace of Nacos
   
   so you can register the same namespace 


-- 
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] zhentaowang commented on issue #1901: Gateway local deployment usage problem(2.4.0)

Posted by GitBox <gi...@apache.org>.
zhentaowang commented on issue #1901:
URL: https://github.com/apache/incubator-shenyu/issues/1901#issuecomment-895043044


   thk,  this bug is solved when nacos discovery version chang to 2.1.0.RELEASE, the version 2.2.5.RELEASE can incompatible


-- 
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] yu199195 commented on issue #1901: Gateway local deployment usage problem(2.4.0)

Posted by GitBox <gi...@apache.org>.
yu199195 commented on issue #1901:
URL: https://github.com/apache/incubator-shenyu/issues/1901#issuecomment-894996342


   can you see this : https://shenyu.apache.org/zh/projects/shenyu/spring-cloud-proxy/ 
   
   Maybe you're missing the dependency~


-- 
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] yu199195 closed issue #1901: Gateway local deployment usage problem(2.4.0)

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


   


-- 
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] zhentaowang commented on issue #1901: Gateway local deployment usage problem(2.4.0)

Posted by GitBox <gi...@apache.org>.
zhentaowang commented on issue #1901:
URL: https://github.com/apache/incubator-shenyu/issues/1901#issuecomment-895045536


   Other, when the gateway service and business service are not registered under the same namespace of Nacos, the following error will occur:
   {
   
   "code": -109,
   
   "message": "SpringCloud serviceId does not exist or is configured incorrectly!",
   
   "data": null
   
   }


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