spring boot - FeignClient Invalid HTTP error with WAR-deployed SpringBoot application -


i observing rather strange failure netflix feignclient communicating springboot eureka client application war-deployed under tomcat.

my setup:

  1. eureka server running spring boot app .
  2. springboot app demo1 @enablediscoveryclient deployed under tomcat war file , running on http://localhost:8080/demoapp1-1.0.0/greeting
  3. springboot app demo2 ( eureka client ), running spring boot app gradle bootrun @ http://localhost:9002

both apps registered on eureka server , accessible demo2 has feignclient pointing rest end point on demo1.

though can access demo1 rest endpoint @ http://localhost:8080/demoapp1-1.0.0/greeting , feignclient demo2 app fails following exception :

java.io.ioexception: invalid http executing http://localhost:8080/demoapp1-1.0.0/greeting     @ feign.client$default.convertresponse(client.java:157) ~[feign-core-8.16.0.jar:8.16.0]     @ feign.client$default.execute(client.java:74) ~[feign-core-8.16.0.jar:8.16.0]     @ org.springframework.cloud.netflix.feign.ribbon.feignloadbalancer.execute(feignloadbalancer.java:77) ~[spring-cloud-netflix-core-1.1.0.rc2.jar:1.1.0.rc2]     @ org.springframework.cloud.netflix.feign.ribbon.feignloadbalancer.execute(feignloadbalancer.java:45) ~[spring-cloud-netflix-core-1.1.0.rc2.jar:1.1.0.rc2]     @ com.netflix.client.abstractloadbalancerawareclient$1.call(abstractloadbalancerawareclient.java:109) ~[ribbon-loadbalancer-2.1.5.jar:2.1.5]     @ com.netflix.loadbalancer.reactive.loadbalancercommand$3$1.call(loadbalancercommand.java:303) ~[ribbon-loadbalancer-2.1.5.jar:2.1.5]     @ com.netflix.loadbalancer.reactive.loadbalancercommand$3$1.call(loadbalancercommand.java:287) ~[ribbon-loadbalancer-2.1.5.jar:2.1.5]     @ rx.internal.operators.operatormap$1.onnext(operatormap.java:55) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.internal.util.scalarsynchronousobservable$1.call(scalarsynchronousobservable.java:46) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.internal.util.scalarsynchronousobservable$1.call(scalarsynchronousobservable.java:35) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.observable$2.call(observable.java:162) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.observable$2.call(observable.java:154) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.observable$2.call(observable.java:162) ~[rxjava-1.0.14.jar:1.0.14]     @ rx.observable$2.call(observable.java:154) ~[rxjava-1.0.14.jar:1.0.14] ... 

anyone has ideas on this?

the issue has been solved feign 8.17.0


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -