Hystrix Dashboard中proxyStreamAllowList导致的【Unable to connect to Command Metric Stream.】问题

看看log:

ashboardConfiguration$ProxyStreamServlet : Origin parameter: http://localhost:9000/actuator/hystrix.stream is not in the allowed list of proxy host names.  If it should be allowed add it to hystrix.dashboard.proxyStreamAllowList.

接下来就很简单了,HystrixDashboard工程加入配置。

hystrix:
  dashboard:
    proxy-stream-allow-list: "localhost"

然后就可以了!

posted @ 2021-01-28 20:36  錵開や落幕  阅读(552)  评论(0编辑  收藏  举报