alibaba / alibaba/Sentinel

[BUG] Failed to fetch metric from <http://192.168.124.10:8721/metric?startTime=1755785284000&endTime=1755785290000&refetch=false> (ConnectionException: Connection refused)

Open
#3,545 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

我服务器以docker部署sentinel-dashboard,docker logs提示 Failed to fetch metric from (ConnectionException: Connection refused)
本地windows服务配置:
`spring:
cloud:
sentinel:
# 启用 Sentinel
enabled: true
# 无流量也主动向 Dashboard 建立连接
eager: true
# 控制台地址(请确认端口)
transport:
dashboard: 192.168.124.5:8888
port: 8719
#可以指定本机ip
client-ip: 192.168.124.10
# 数据源配置(规则持久化至 Nacos)
datasource:
# 限流规则(服务内 FlowRule)
flow:
nacos:
server-addr: 192.168.124.5:8848
data-id: sentinel-flow-rules
group-id: SENTINEL_GROUP
namespace: public
data-type: json
username: nacos
password: nacos
rule-type: flow`
他们通过局域网连接,我在服务器中curl http://192.168.124.10:8721/metric?startTime=1755785284000&endTime=1755785290000&refetch=false 是有返回的
1755786325000|__cpu_usage__|1904|0|0|0|0|0|0|0,请问怎么解决?这个和从nacos获取sentinel配置有关吗?现在还有个问题就是无法从nacos拉取sentinel相关配置

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.