ZPY博客

Spring Cloud Hystrix Dashboard访问/actuator/hystrix.stream出现Whitelabel Error Page的解决方法

首先,Spring Cloud Hystrix Dashboard的首页是可以访问的,客户端的接口是http://localhost:5667/hello,现在访问http://localhost:5667/actuator/hystrix.stream会出现Whitelabel Error Page

感觉是哪里没有配置好,但是完全是按照视频教程里来的呀。百度了一下,发现是跟SpringBoot版本有关。我用的是2.1.4版本。

现有的配置是:

研究后,最终的解决方法是在客户端的application.properties里加上management.endpoints.web.exposure.include=hystrix.stream再启动即可。