jhipster:如何使用HTTPS

时间:2018-02-14 15:16:32

标签: spring-boot jhipster microservices

在微服务的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个常见帧

0 个答案:

没有答案