访问不到网关服务,eureka上显示正常

来源:8-1 服务网关和Zuul

宝慕林4151506

2019-05-21

网关允许一段时间后出现如下日记就访问不了了
网关日记显示:com.netflix.discovery.shared.resolver.aws.ConfigClusterResolver - Resolving eureka endpoints via configuration
通过IP加端口可以访问服务,但是通过网关就不可以(返回 Could not get any response)
请问这是为什么呢?

写回答

2回答

廖师兄

2019-05-22

  1. 发出来的代码、日志,要格式化

  2. 到底是不能访问网关还是不能访问服务

  3. 都是在本机启动的吗

0
5
廖师兄
回复
宝慕林4151506
你这什么防火墙呀? 阿里云的吗
2019-05-31
共5条回复

宝慕林4151506

提问者

2019-05-21

补充日记:INFO  com.netflix.config.ChainedDynamicProperty - Flipping property: mobilecollection.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 21474836472019/5/21 下午9:16:092019-05-21 13:16:09,156 [http-nio-8080-exec-1] INFO  com.netflix.loadbalancer.DynamicServerListLoadBalancer - DynamicServerListLoadBalancer for client mobilecollection initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=mobilecollection,current list of Servers=[10.42.168.103:8080, 10.42.33.194:8080],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone; Instance count:2; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]2019/5/21 下午9:16:09},Server stats: [[Server:10.42.33.194:8080; Zone:defaultZone; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 00:00:00 GMT 1970; First connection made: Thu Jan 01 00:00:00 GMT 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]2019/5/21 下午9:16:09, [Server:10.42.168.103:8080; Zone:defaultZone; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 00:00:00 GMT 1970; First connection made: Thu Jan 01 00:00:00 GMT 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]2019/5/21 下午9:16:09]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@93ea3d72019/5/21 下午9:16:102019-05-21 13:16:10,137 [PollingServerListUpdater-0] INFO  com.netflix.config.ChainedDynamicProperty - Flipping property: mobilecollection.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647

0
0

SpringCloud Finchley(M2+RELEASE+SR2)微服务实战

SpringCloud组件实现微服务,【已升级Finchley.Release】

5668 学习 · 2489 问题

查看课程