apache / dubbo-spring-boot-project

Spring Boot Project for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
5.41k stars 1.88k forks source link

已经禁用了qos还是报错呢。 qos-enable: false 这个配置似乎无效 #423

Closed penweizgx closed 5 years ago

penweizgx commented 5 years ago

生产和消费都已经禁用了qos还是报错呢。 qos-enable: false 这个配置似乎无效

wx20190117-192059 2x wx20190117-192658 2x

Originally posted by @penweizgx in https://github.com/apache/incubator-dubbo-spring-boot-project/issues/394#issuecomment-455137711 1548819081094

mercyblitz commented 5 years ago

Which version do you used?

penweizgx commented 5 years ago

Which version do you used?

<dependency>
      <groupId>com.alibaba.boot</groupId>
     <artifactId>dubbo-spring-boot-starter</artifactId>
     <version>0.2.0</version>
</dependency>
mercyblitz commented 5 years ago

that's a legacy issue, please Update the lastest one :

<dependency>
      <groupId>com.alibaba.boot</groupId>
     <artifactId>dubbo-spring-boot-starter</artifactId>
     <version>0.2.1.RELEASE</version>
</dependency>
foreveryang321 commented 5 years ago

2.7.1 the same problem

<dependency>
      <groupId>org.apache.dubbo</groupId>
     <artifactId>dubbo-spring-boot-starter</artifactId>
     <version>2.7.1</version>
</dependency>

the wrong configuration

dubbo:
application:
name: dubbo-spring-cloud-provider
qos-enable: false
qos-port: 33333
qos-accept-foreign-ip: false

the correct configuration

dubbo:
application:
name: dubbo-spring-cloud-provider
qos:
enable: false
port: 33333
accept:
foreign:
ip: false