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

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

错误

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

日志报错

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 ="*"
相关推荐
Thomas.Sir14 小时前
第38课:TensorFlow|可视化工具TensorBoard全用法【日志写入、指标监控、网络可视化】
人工智能·python·tensorflow
SEO_juper14 小时前
外贸多语言站最隐蔽的流量杀手:hreflang 错了,谷歌把德语页推给美国人(附审计脚本)
开发语言·前端·python·seo·独立站·谷歌优化
Metaphor69214 小时前
快速合并 Word 文档【Python 指南】
python·word
JAVA老架构AI智能化15 小时前
如何高质量分块
人工智能·python
泡海椒15 小时前
告别反射低效:JQuick-Java ASM动态调用链性能优化实战
java·python·性能优化
2601_9563198815 小时前
用示例和练习,把量化规则先练清楚
人工智能·python
满怀冰雪15 小时前
25-迁移学习入门:加载预训练模型并微调
人工智能·python·机器学习·迁移学习·paddle
2601_9622845015 小时前
安卓APP UI自动化测试:Python + UiAutomator2 + pytest + pytest-html
python·pytest·uiautomator2·ui自动化测试·安卓app
2601_9620780315 小时前
构建RESTful APIs:使用Python和Flask
python·flask·web开发·api设计·构建restfulapis
半亩码田15 小时前
C#转Python第4.5篇:单元测试:pytest vs xUnit/NUnit
python·单元测试·c#