hystrix-dashboard `Unable to connect to Command Metric Stream.`

版本

springboot 2.2.2

问题描述

打开http://localhost:6001/hystrix (dashboard 服务器地址)、输入地址、点击Monitor Stream显示 Unable to connect to Command Metric Stream

解决方向

  • 官网doc 被监控者必须要https
  • 配置证书:
server.ssl.key-store=xxx.pfx
server.ssl.key-store-password=xxx

note: 证书必须跟节点域名匹配、不然会报证书不匹配问题

填写的地址如下:(不知道为什么https://www.demo.com:8001/hystrix.stream/actuator/hystrix.stream 访问不到)
https://www.demo.com:8001/hystrix.stream

你可能感兴趣的:(springcloud,java)