Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentinel的控制台部署在服务器,控制台一直读取不到本机的服务 #2039

Closed
tian-qingzhao opened this issue Feb 22, 2021 · 3 comments
Labels
area/dashboard Issues or PRs about Sentinel Dashboard kind/question Category issues related to questions or problems

Comments

@tian-qingzhao
Copy link

控制台一直报
2021-02-22 17:36:48.641 ERROR 7265 --- [pool-2-thread-1] c.a.c.s.dashboard.metric.MetricFetcher : Failed to fetch metric from http://192.168.111.19:8719/metric?startTime=1613986473000&endTime=1613986479000&refetch=false (ConnectionException: Connection timed out)
这个错误。
而且在这个服务器部署的sentinel控制台上面拿不到远程服务器Nacos里面配置的限流规则,但是在本机启动一个dashboard项目就可以看到Nacos里面配置的。

@sczyh30 sczyh30 added area/dashboard Issues or PRs about Sentinel Dashboard kind/question Category issues related to questions or problems labels Feb 23, 2021
@sczyh30
Copy link
Member

sczyh30 commented Feb 23, 2021

You may check whether the network from the dashboard to the client side is accessible, and the client IP/network interface is correct.

Refer https://github.com/alibaba/Sentinel/issues?q=Failed+to+fetch+metric

@PKUcoldkeyboard
Copy link

这个坑我今天刚解决,原因是本机网络是局域网,sentinel部署在服务器的话是无法访问到本机网络的,所以要么sentinel和应用都部署上服务器,要么都在本地运行。

@tian-qingzhao
Copy link
Author

这个坑我今天刚解决,原因是本机网络是局域网,sentinel部署在服务器的话是无法访问到本机网络的,所以要么sentinel和应用都部署上服务器,要么都在本地运行。

这个坑我今天刚解决,原因是本机网络是局域网,sentinel部署在服务器的话是无法访问到本机网络的,所以要么sentinel和应用都部署上服务器,要么都在本地运行。

是啊 都是本机就可以了

@sczyh30 sczyh30 closed this as completed Mar 3, 2021
CST11021 pushed a commit to CST11021/Sentinel that referenced this issue Nov 3, 2021
[ISSUE alibaba#1971] Fix ConsumerFilterManager comment error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard Issues or PRs about Sentinel Dashboard kind/question Category issues related to questions or problems
Projects
None yet
Development

No branches or pull requests

3 participants