0

我正在尝试在基于 Spring Cloud 的微服务应用程序中使用 Consul。但是当我在 tomcat 服务器中启用 HTTPS 时,consul 无法检查服务的运行状况(因为他们尝试使用 http 检查运行状况)。我收到了这个错误:

 ani got this error: gent: http request failed 'xxxxxxxxxxxx.dsk.eur.msd.world.xxxxxx:1235/health'
4

1 回答 1

1

尝试设置spring.cloud.consul.discovery.scheme=https

于 2015-12-02T16:05:17.513 回答