grafana 的 ws websocket 连接不上的解决方式

阅读 39

2023-10-15


使用了多层的代理方式,一层没有此问题

错误

WebSocket connection to ‘wss://ip地址/grafana01/api/live/ws’ failed:

grafana 的 ws websocket 连接不上的解决方式_websocket


日志报错

msg=“Request Completed” method=GET path=/api/live/ws status=403

解决方式

# allowed_origins is a comma-separated list of origins that can establish connection with Grafana Live.
# If not set then origin will be matched over root_url. Supports wildcard symbol "*".
allowed_origins ="*"


精彩评论(0)

0 0 举报