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 2022/06/10 02:54:53 UTC

[GitHub] [incubator-shenyu] LBJWt opened a new issue, #3512: [Question] dubbo+nacos,gateway not success

LBJWt opened a new issue, #3512:
URL: https://github.com/apache/incubator-shenyu/issues/3512

   ### Question
   
   The client keeps returning:
   `c.d.s.ShenyuClientURIExecutorSubscriber : host:192.168.56.1, port:20888 connection failed, will retry`
   sync and The registry use nacos .


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

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


[GitHub] [incubator-shenyu] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   ![image](https://user-images.githubusercontent.com/16012187/173048329-d47c7cc8-1963-4699-be47-e5f694a8c7a2.png)


-- 
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] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   yes ,same result


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   > The problem is solved. The reason is that the nacos sync package is not import. The master's bootstrap only has nacos without the import of the sync package. Others are import. this https://shenyu.apache.org/zh/docs/deployment/deployment-quick/ package is the same question .
   > 
   > ```
   >         <!-- apache shenyu data sync start use nacos-->
   >         <dependency>
   >             <groupId>org.apache.shenyu</groupId>
   >             <artifactId>shenyu-spring-boot-starter-sync-data-nacos</artifactId>
   >             <version>${project.version}</version>
   >         </dependency>
   > ```
   
   do you want to contribute to shenyu? if yes, please fork and contribute to shenyu


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   > 
   
   do you want to contribute to shenyu? if yes, please fork and contribute to shenyu


-- 
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] li-keguo closed issue #3512: [Question] dubbo+nacos,gateway not success

Posted by GitBox <gi...@apache.org>.
li-keguo closed issue #3512: [Question] dubbo+nacos,gateway not success
URL: https://github.com/apache/incubator-shenyu/issues/3512


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   if nacos is not exist service please check nacos url


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   do you try shenyu master? I will try test it.


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   please describe this question with your shenyu version and your debug log.


-- 
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] moremind commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   please check nacos exist service?


-- 
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] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   > please describe this question with your shenyu version and your debug log.
   
   shenyu : 2.4.3
   shenyu-admin  config :
   `shenyu:
     register:
       registerType: nacos #http #zookeeper #etcd #nacos #consul
       serverLists: nacos:8848 #http://localhost:2379 #localhost:8848
   #    registerType: zookeeper #http #zookeeper #etcd #nacos #consul
   #    serverLists: localhost:2181 #http://localhost:2379 #localhost:8848
       props:
         sessionTimeout: 5000
         connectionTimeout: 2000
         checked: true
         zombieCheckTimes: 5
         scheduledTime: 10
         nacosNameSpace: 1c10d748-af86-43b9-8265-75f48748517c
     sync:
       nacos:
         url: nacos:8848
         namespace: 1c10d748-af86-43b9-8265-75f48748517c
         username: nacos
         password: nacos`
   shenyu-bootstrap config : 
   `shenyu: 
          sync:
             nacos:
               url: nacos:8848
               namespace: 1c10d748-af86-43b9-8265-75f48748517c
               username: nacos
               password: nacos`
   client  config:
   `shenyu:
     register:
       registerType: nacos #zookeeper #etcd #nacos #consul
       serverLists: nacos:8848 #localhost:2181 #http://localhost:2379 #localhost:8848
       props:
         username: nacos
         password: nacos
         nacosNameSpace: 1c10d748-af86-43b9-8265-75f48748517c
     client:
       dubbo:
         props:
           contextPath: /dubbo
           appName: dubbo
   
   dubbo:
     application:
       name: test-dubbo-service
     registry:
       protocol: nacos
       address: nacos:8848
     protocol:
       name: dubbo
       port: 20889` 
   request http://localhost:9195/dubbo/findById?id=666    , response is:
   {
   code: -106,
   message: "Can not find url, please check your configuration!"
   }
   
   the admin is reported successfull.
   ![image](https://user-images.githubusercontent.com/16012187/173023548-f63707f7-1d24-47f9-96e5-0b940b9c60be.png)
   
   


-- 
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] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   I changed the synchronization method to websocket and it was successful


-- 
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] LBJWt commented on issue #3512: [Question] dubbo+nacos,gateway not success

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

   The problem is solved. The reason is that the nacos sync package is not import. The master's bootstrap only has nacos without the import of the sync package. Others are import. this https://shenyu.apache.org/zh/docs/deployment/deployment-quick/  package is the same  question .
   ```
           <!-- apache shenyu data sync start use nacos-->
           <dependency>
               <groupId>org.apache.shenyu</groupId>
               <artifactId>shenyu-spring-boot-starter-sync-data-nacos</artifactId>
               <version>${project.version}</version>
           </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