dubbo-servicecomb
dubbo-servicecomb copied to clipboard
Dubbo-Serivcecomb provide extensions for Apache Dubbo to using Cloud Service Engine, so that Dubbo users can use service center, config center and governance features.
代码报错位置:  跟踪了源码,KieConfigManager.firstPull()方法会发起http请求 请求的url为:http://127.0.0.1:30110/v1/default/kie/kv?label=public%3A&&revision=0&withExact=false 返回的http状态码为304  CSE是通过https://support.huaweicloud.com/devg-cse/cse_devg_0036.html下载的,版本为[Local-CSE-2.1.4-windows-amd64.zip](https://cse-bucket.obs.cn-north-1.myhuaweicloud.com/LocalCSE/Local-CSE-2.1.4-windows-amd64.zip)
springboot:2.7.2 dubbo:3.0.11 关于servicecomb:2.0.0-2.7.x、2.0.0-2.6.x、1.3.7这几个版本都试过了,皆不可用。 关于CSE参数配置如下图所示:  启动异常信息: 2022-08-29 10:10:06.567 ERROR 1908 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: An attempt was made to call a method...
1. using kie 2. add configurations in applicaton.yml will got problem
使用官方的dubbo集成CSE的demo,CSE的注册中心和配置中心替换成https的地址时,报错。日志如下: 13/12/21 18:59:22:819 CST] main INFO config.ServiceConfig: [DUBBO] No valid ip found from environment, try to find valid host from DNS., dubbo version: 2.7.8, current host: 172.16.1.252 [13/12/21 18:59:22:866 CST]...
Running applications in integration-tests, will get the following warning: SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/D:/repo/ch/qos/logback/logback-classic/1.2.2/logback-classic-1.2.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/D:/repo/org/slf4j/slf4j-log4j12/1.7.26/slf4j-log4j12-1.7.26.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for...
问题现象: consumer调用provider时,一直调用到下游已下线的实例上,业务异常受损。 问题根因: servicecomb-client定时从注册中心拉取实例中出现异常时,删除缓存中该服务的相应信息,而缓存中的服务信息只有启动时初始化,所以后期都将无法刷新dubbo中的缓存信息 解决方案: 新建请求拦截Filter,在客户端调用过程中调用注册缓存监听信息,如果缓存中存在则不作更新,不存在重新从注册中心拉取,并更新服务端缓存信息