You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2022/12/08 11:34:46 UTC
[GitHub] [dubbo] wxbty opened a new issue, #11096: Failed to start when metadata-report.cycle-report=false is set
wxbty opened a new issue, #11096:
URL: https://github.com/apache/dubbo/issues/11096
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
### Environment
* Dubbo version: 3.0.7+,3.1.0+,3.2.0+
* Operating System version: mac
* Java version: 1.8
### Steps to reproduce this issue
1. The provider and consumer demo use the project of
https://github.com/apache/dubbo-samples/tree/master/dubbo-samples-spring-boot
```java
@SpringBootApplication
@EnableDubbo
public class ProviderApplication {
public static void main(String[] args) {
SpringApplication.run(ProviderApplication.class, args);
System.out.println("dubbo service started");
}
}
```
2. application.yml setting
```yaml
dubbo:
metadata-report:
cycle-report: false
```
3. run main function
### Expected Behavior
Normal start
### Actual Behavior
<!-- What actually happens? -->
report error
```txt
2022-12-08 17:56:28.487 ERROR 9666 --- [ main] o.s.boot.SpringApplication : Application run failed
java.lang.IllegalArgumentException: Please specify valid protocol or address for metadata report null
at org.apache.dubbo.config.utils.ConfigValidationUtils.validateMetadataConfig(ConfigValidationUtils.java:510) ~[dubbo-3.0.13-SNAPSHOT.jar:3.0.13-SNAPSHOT]
at org.apache.dubbo.config.utils.DefaultConfigValidator.validate(DefaultConfigValidator.java:41) ~[dubbo-3.0.13-SNAPSHOT.jar:3.0.13-SNAPSHOT]
at org.apache.dubbo.config.context.AbstractConfigManager.checkDefaultAndValidateConfigs(AbstractConfigManager.java:586) ~[dubbo-3.0.13-SNAPSHOT.jar:3.0.13-SNAPSHOT]
at org.apache.dubbo.config.context.ConfigManager.checkConfigs(ConfigManager.java:281) ~[dubbo-3.0.13-SNAPSHOT.jar:3.0.13-SNAPSHOT]
```
--
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] AlbumenJ closed issue #11096: Failed to start when metadata-report.cycle-report=false is set
Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #11096: Failed to start when metadata-report.cycle-report=false is set
URL: https://github.com/apache/dubbo/issues/11096
--
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 #11096: Failed to start when metadata-report.cycle-report=false is set
Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11096:
URL: https://github.com/apache/dubbo/issues/11096#issuecomment-1344037783
![image](https://user-images.githubusercontent.com/9292748/206665698-6e9ca313-f7e6-4a77-ae40-6795ee0af30a.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
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 #11096: Failed to start when metadata-report.cycle-report=false is set
Posted by GitBox <gi...@apache.org>.
AlbumenJ commented on issue #11096:
URL: https://github.com/apache/dubbo/issues/11096#issuecomment-1344019768
metadata-report.report-definition can disable report
--
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] wxbty commented on issue #11096: Failed to start when metadata-report.cycle-report=false is set
Posted by GitBox <gi...@apache.org>.
wxbty commented on issue #11096:
URL: https://github.com/apache/dubbo/issues/11096#issuecomment-1344029140
![image](https://user-images.githubusercontent.com/38374721/206663765-80fbe92a-5bfa-4da2-b791-728e96151a61.png)
It doesn't seem to be used in the code.
Now, the problem is that you use cycle-report=false to close and get an error
--
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