Closed DogerRain closed 1 year ago
我本地测试是可以的。尝试从以下方面排查下:
1.查看sermant日志,确认配置是否下发成功,sermant日志在启动目录下的logs\sermant\core\app\yyyy-MM-dd文件夹中。可搜索关键字:Config [servicecomb.routeRule.spring-cloud-router-provider] has been
2.确认sermant版本必须是sermant 1.0.x,不要从dev分支中打包获取,dev分支中为1.1.x。
3.尝试换一个http客户端,windows的curl,在某些情况下,有可能无法正确地发送请求头
长时间不活跃,关闭ISSUE
What do you want to ask?
我按照官方文档:https://sermant.io/zh/document/plugin/router.html 下载了demo进行测试,尝试了多次,路由也不生效,特此前来求助。
系统:windows
sermant版本:[1.0.3](https://github.com/huaweicloud/Sermant/releases/tag/v1.0.3)
servicecomb版本:apache-servicecomb-service-center-2.1.0-windows-amd64
zk版本:3.6.3
以下是我本地的配置:
1、服务配置
ZuulApplication、ProviderApplication、ConsumerApplication:
ProviderApplication-1.0.1:
2、servicecomb
四个服务都成功注册到servicecomb
3、agent配置
\agent\config\config.properties
文件配置4、zk配置
调用结果却没生效...
是不是我本地哪里配置错误了,求大佬解答,不胜感激。