更换后,在测试环境用IP:Port没有问题,控制台修改可以及时生效,但是在线上环境,因为是用的域名且加上了账号权限控制,控制台修改没有问题Apollo中也修改了,但是客户端无法读取了,一直在报:
2019-02-28 14:13:44.870 WARN 13124 --- [ngPollService-1] c.c.f.a.i.RemoteConfigLongPollService : Long polling failed, will retry in 8 seconds. appId: d2336a18247739dd, cluster: default, namespaces: application, long polling url: null, reason: Get config services failed from http://config.xxx.com.cn/services/config?appId=d2336a18247739dd&ip=10.167.3.90 [Cause: Could not complete get operation [Cause: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $ [Cause: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $]]] 2019-02-28 14:13:54.937 WARN 13124 --- [ngPollService-1] c.c.f.a.i.RemoteConfigLongPollService : Long polling failed, will retry in 16 seconds. appId: d2336a18247739dd, cluster: default, namespaces: application, long polling url: null, reason: Get config services failed from http://config.xxx.com.cn/services/config?appId=d2336a18247739dd&ip=10.167.3.90 [Cause: Could not complete get operation [Cause: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $ [Cause: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $]]] 2019-02-28 14:14:12.987 WARN 13124 --- [ngPollService-1] c.c.f.a.i.RemoteConfigLongPollService : Long polling failed, will retry in 32 seconds. appId: d2336a18247739dd, cluster: default, namespaces: application, long polling url: null, reason: Get config services failed from http://config.xxx.com.cn/services/config?appId=d2336a18247739dd&ip=10.167.3.90 [Cause: Could not complete get operation [Cause: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $ [Cause: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $]]] 2019-02-28 14:14:47.046 WARN 13124 --- [ngPollService-1] c.c.f.a.i.RemoteConfigLongPollService : Long polling failed, will retry in 64 seconds. appId: d2336a18247739dd, cluster: default, namespaces: application, long polling url: null, reason: Get config services failed from http://config.xxx.com.cn/services/config?appId=d2336a18247739dd&ip=10.167.3.90 [Cause: Could not complete get operation [Cause: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $ [Cause: Expected BEGIN_ARRAY but was STRING at line 7 column 1 path $]]] 请问有什么办法解决吗,或者修改哪里可以更换为OpenApi形式
原提问者GitHub用户188
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。