1
resposta

Projeto loja não consegue chamar projeto fornecedor através do FeignClient

O projeto loja não consegue fazer uma chamada Feign para o endpoint info no projeto fornecedor. Já revisei toda a implementação e sempre ocorre o erro abaixo. Alguém passou por esse problema?

2020-06-03 20:19:22.391  INFO 10696 --- [nio-8080-exec-1] c.netflix.config.ChainedDynamicProperty  : Flipping property: fornecedor.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2020-06-03 20:19:22.422  INFO 10696 --- [nio-8080-exec-1] c.n.u.concurrent.ShutdownEnabledTimer    : Shutdown hook installed for: NFLoadBalancer-PingTimer-fornecedor
2020-06-03 20:19:22.423  INFO 10696 --- [nio-8080-exec-1] c.netflix.loadbalancer.BaseLoadBalancer  : Client: fornecedor instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=fornecedor,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2020-06-03 20:19:22.458  INFO 10696 --- [nio-8080-exec-1] c.n.l.DynamicServerListLoadBalancer      : Using serverListUpdater PollingServerListUpdater
2020-06-03 20:19:22.483  INFO 10696 --- [nio-8080-exec-1] c.netflix.config.ChainedDynamicProperty  : Flipping property: fornecedor.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2020-06-03 20:19:22.485  INFO 10696 --- [nio-8080-exec-1] c.n.l.DynamicServerListLoadBalancer      : DynamicServerListLoadBalancer for client fornecedor initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=fornecedor,current list of Servers=[host.docker.internal:8081],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone;    Instance count:1;    Active connections count: 0;    Circuit breaker tripped count: 0;    Active connections per server: 0.0;]
},Server stats: [[Server:host.docker.internal:8081;    Zone:defaultZone;    Total Requests:0;    Successive connection failure:0;    Total blackout seconds:0;    Last connection made:Wed Dec 31 21:00:00 BRT 1969;    First connection made: Wed Dec 31 21:00:00 BRT 1969;    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]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@1d20fb1f
2020-06-03 20:19:23.472  INFO 10696 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: fornecedor.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit = 2147483647
2020-06-03 20:19:24.595 ERROR 10696 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is feign.RetryableException: connect timed out executing GET http://fornecedor/info/1] with root cause

java.net.SocketTimeoutException: connect timed out
    at java.base/java.net.PlainSocketImpl.waitForConnect(Native Method) ~[na:na]
1 resposta
O post foi fechado por inatividade. Para continuar o assunto, recomendamos criar um novo tópico. Bons Estudos!