在微服务的server.ssl
中配置application-prod.yml
属性时,网关无法再调用微服务(org.apache.http.NoHttpResponseException
)。
这是网关配置:
Application 'discovery' is running!
Access URLs:
Local: https://localhost:52568
External: https://172.24.36.10:52568
Profile(s): [prod]
网关如何调用https微服务?
错误的StackTrace是:
堆栈跟踪:引起:java.lang.RuntimeException:
org.apache.http.NoHttpResponseException:172.24.36.5:5268未能回复 在。的rx.exceptions.Exceptions.propagate(Exceptions.java:58) rx.observables.BlockingObservable.blockForSingle(BlockingObservable.java:465)在
rx.observables.BlockingObservable.single(BlockingObservable.java:342)在
com.netflix.client.AbstractLoadBalancerAwareClient.executeWithLoadBalancer(AbstractLoadBalancerAwareClient.java:102)...
省略了182个常见帧