You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "LemonStudent (via GitHub)" <gi...@apache.org> on 2023/04/16 10:34:27 UTC

[GitHub] [dubbo] LemonStudent opened a new issue, #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息

LemonStudent opened a new issue, #12106:
URL: https://github.com/apache/dubbo/issues/12106

   
   ### Environment
   
   * Dubbo version: 3.20
   * Operating System version: Windows11
   * Java version: 17
   
   父模块POM文件
   ```
    <properties>
           <maven.compiler.source>17</maven.compiler.source>
           <maven.compiler.target>17</maven.compiler.target>
           <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
           <spring-cloud.version>2022.0.2</spring-cloud.version>
           <spring-cloud-alibaba.version>2022.0.0.0-RC1</spring-cloud-alibaba.version>
           <spring-boot.version>3.0.5</spring-boot.version>
   
       </properties>
   
       <dependencyManagement>
           <dependencies>
               <dependency>
                   <groupId>org.springframework.boot</groupId>
                   <artifactId>spring-boot-dependencies</artifactId>
                   <version>${spring-boot.version}</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
   
               <dependency>
                   <groupId>org.springframework.cloud</groupId>
                   <artifactId>spring-cloud-dependencies</artifactId>
                   <version>${spring-cloud.version}</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
   
               <dependency>
                   <groupId>com.alibaba.cloud</groupId>
                   <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                   <version>${spring-cloud-alibaba.version}</version>
                   <type>pom</type>
                   <scope>import</scope>
               </dependency>
           </dependencies>
       </dependencyManagement>
   ```
   生产者POM文件:
   ```
      <dependencies>
           <!-- SpringCloud Alibaba Nacos -->
           <dependency>
               <groupId>com.alibaba.cloud</groupId>
               <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
           </dependency>
   
           <!-- SpringCloud Alibaba Nacos Config -->
           <dependency>
               <groupId>com.alibaba.cloud</groupId>
               <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
           </dependency>
   
           <dependency>
               <groupId>org.apache.dubbo</groupId>
               <artifactId>dubbo-spring-boot-starter</artifactId>
               <version>3.2.0</version>
           </dependency>
   
   
           <dependency>
               <groupId>org.springframework.boot</groupId>
               <artifactId>spring-boot-starter</artifactId>
           </dependency>
       </dependencies>
   ```
   
   生产者配置:
   ``` yaml
   server:
     port: 8000
   spring:
     application:
       name: producer-service
     cloud:
       nacos:
         server-addr: 192.168.31.195:8848
         username: nacos
         password: nacos
   
   dubbo:
     application:
       name: producer-service-dubbo
     registry:
       address: nacos://192.168.31.195:8848
       username: nacos
       password: nacos
       check: false
     protocol:
       name: dubbo
       port: -1
   ```
   启动生产者时控制台没有任何错误信息,但是生产者会自动关闭。
   下面是控制台的截图:
   ![image](https://user-images.githubusercontent.com/58932259/232298882-9bff123c-23a1-4c16-86d2-2d788e8d5410.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@dubbo.apache.org.apache.org

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


[GitHub] [dubbo] LemonStudent commented on issue #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息

Posted by "LemonStudent (via GitHub)" <gi...@apache.org>.
LemonStudent commented on issue #12106:
URL: https://github.com/apache/dubbo/issues/12106#issuecomment-1510301133

   > 请通过dubbo-registry-nacos来注册服务到nacos上,不要引SCA。可以去查看dubbo-samples库中extensions registry 有注册服务到nacos的相关实现
   
   和这个没有任何关系,用了官方dubbo-samples中的方式还是和这个一样,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@dubbo.apache.org

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


Re: [I] Dubbo整合Nacos启动自动关闭,无任何报错信息 [dubbo]

Posted by "CrazyHZM (via GitHub)" <gi...@apache.org>.
CrazyHZM closed issue #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息
URL: https://github.com/apache/dubbo/issues/12106


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

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


[GitHub] [dubbo] AlbumenJ commented on issue #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12106:
URL: https://github.com/apache/dubbo/issues/12106#issuecomment-1515876384

   把日志贴全一些,看起来是收到了外部的 kill 信号


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

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


[GitHub] [dubbo] LemonStudent commented on issue #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息

Posted by "LemonStudent (via GitHub)" <gi...@apache.org>.
LemonStudent commented on issue #12106:
URL: https://github.com/apache/dubbo/issues/12106#issuecomment-1510300390

   > 
   
   和这个没有任何关系,用了官方dubbo-samples中的方式还是和这个一样,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@dubbo.apache.org

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


[GitHub] [dubbo] MieAh commented on issue #12106: Dubbo整合Nacos启动自动关闭,无任何报错信息

Posted by "MieAh (via GitHub)" <gi...@apache.org>.
MieAh commented on issue #12106:
URL: https://github.com/apache/dubbo/issues/12106#issuecomment-1510287624

   请通过dubbo-registry-nacos来注册服务到nacos上,不要引SCA。可以去查看dubbo-samples库中extensions registry 有注册服务到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@dubbo.apache.org

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