Comments (6)
Hi, you may try to refresh the page after several seconds. If it's still wrong, are there any errors shown in frontend developer tools (F12 in Windows) in Chrome?
from sentinel.
There are no errors shown in frontend developer tools (F12 in Windows) in Chrome. So I'm confused.
from sentinel.
Are there any exceptions or error log in you ${home}/logs/csp/record.log
? Please check your VM arguments passed to sentinel-dashboard. It should be like this:
java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -jar target/sentinel-dashboard.jar
from sentinel.
The content of record.log as follows:(not for this time,I restart the application using your advice and it works)
2018-08-16 14:50:03 [Sentinel InitExecutor] Found init func: com.alibaba.csp.sentinel.transport.init.CommandCenterInitFunc 2018-08-16 14:50:03 [Sentinel InitExecutor] Found init func: com.alibaba.csp.sentinel.transport.init.HeartbeatSenderInitFunc 2018-08-16 14:50:03 app name resolved: com.alibaba.csp.sentinel.demo.dubbo.demo1.FooProviderBootstrap 2018-08-16 14:50:03 [CommandCenterInit] Starting command center: com.alibaba.csp.sentinel.transport.command.SimpleHttpCommandCenter 2018-08-16 14:50:03 [Sentinel InitExecutor] Initialized: com.alibaba.csp.sentinel.transport.init.CommandCenterInitFunc with order 2147483647 2018-08-16 14:50:03 Parse heartbeat interval failed, use that in code, null 2018-08-16 14:50:03 [SimpleHttpHeartbeatSender] Default console address list retrieved: [] 2018-08-16 14:50:03 [HeartbeatSenderInit] HeartbeatSender started: com.alibaba.csp.sentinel.transport.heartbeat.SimpleHttpHeartbeatSender 2018-08-16 14:50:03 [Sentinel InitExecutor] Initialized: com.alibaba.csp.sentinel.transport.init.HeartbeatSenderInitFunc with order 2147483647 2018-08-16 14:50:04 load flow config: {} 2018-08-16 14:50:04 new MetricWriter, singleFileSize=52428800, totalFileCount=6 2018-08-16 14:50:04 SentinelProperty, config is real updated to: [FlowRule{resource=com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String), limitApp=default, grade=1, count=10.0, strategy=0, refResource=null, controlBehavior=0, warmUpPeriodSec=10, maxQueueingTimeMs=500, controller=null}] 2018-08-16 14:50:04 receive flow config: {com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String)=[FlowRule{resource=com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String), limitApp=default, grade=1, count=10.0, strategy=0, refResource=null, controlBehavior=0, warmUpPeriodSec=10, maxQueueingTimeMs=500, controller=com.alibaba.csp.sentinel.slots.block.flow.controller.DefaultController@3f99bd52}]} 2018-08-16 14:50:05 Sentinel Dubbo provider filter initialized 2018-08-16 14:50:13 [SimpleHttpHeartbeatSender] Runtime port not initialized, won't send heartbeat 2018-08-16 14:50:16 Add child com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String) to machine-root 2018-08-16 14:50:16 Add child com.alibaba.csp.sentinel.demo.dubbo.FooService to com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String) 2018-08-16 14:50:16 current system system status : false 2018-08-16 14:50:16 current highestSystemLoad status : 1.7976931348623157E308 2018-08-16 14:50:16 current maxRt : 9223372036854775807 2018-08-16 14:50:16 current maxThread : 9223372036854775807 2018-08-16 14:50:16 current qps : 1.7976931348623157E308 2018-08-16 14:50:16 load authority config: {} 2018-08-16 14:50:16 init degrade config: {} 2018-08-16 14:50:16 Add child com.alibaba.csp.sentinel.demo.dubbo.FooService:sayHello(java.lang.String) to com.alibaba.csp.sentinel.demo.dubbo.FooService 2018-08-16 14:50:17 create new metric file: C:\Users\ritu\logs\csp\com.alibaba.csp.sentinel.demo.dubbo.demo1.FooProviderBootstrap-18208-metrics.log.2018-08-16 2018-08-16 14:50:17 create new metric index file: C:\Users\ritu\logs\csp\com.alibaba.csp.sentinel.demo.dubbo.demo1.FooProviderBootstrap-18208-metrics.log.2018-08-16.idx 2018-08-16 14:50:23 [SimpleHttpHeartbeatSender] Runtime port not initialized, won't send heartbeat 2018-08-16 14:50:33 [SimpleHttpHeartbeatSender] Runtime port not initialized, won't send heartbeat
from sentinel.
So, java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -jar target/sentinel-dashboard.jar
can work.
However, go into directory "target" and use java -Dserver.port = 8080 -Dcsp.sentinel.dashboard.server = localhost:8080 -jar sentinel-dashboard.jar
can not work.
from sentinel.
I found the problem is that the command I copy and edit from the website "https://github.com/alibaba/Sentinel/wiki/%E6%8E%A7%E5%88%B6%E5%8F%B0" is wrong which contains Chinese charactor.
So,both java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -jar sentinel-dashboard.jar
and java -Dserver.port=8080 -Dcsp.sentinel.dashboard.server=localhost:8080 -jar target/sentinel-dashboard.jar
can work.
from sentinel.
Related Issues (20)
- 如何在springcloud3中开启openfeign对sentinel的支持 HOT 2
- Use a fixed metric name for sentinel prometheus exporter HOT 1
- 替换ThreadLocal<SimpleDateFormat>以适配Java21虚拟线程 HOT 1
- [BUG] HOT 1
- [WeeklyReport] Weekly report for Sentinel 1/29/2024 to 2/5/2024
- [BUG] 容器ip和宿主机ip怎么指定 HOT 1
- [BUG] NPE causes SystemRule cannot effect HOT 1
- [BUG] 使用的是1.8版本,在在sentinel界面左侧没有看到应用的名称,而是类似uuid的名称
- [BUG] 实时监控图中【拒绝QPS】展示错误!
- [BUG] 集群流控页面token-server不能正确显示 HOT 2
- 如何批量设置熔断规则 HOT 2
- sentinel控制台没有应用信息 HOT 10
- 为什么我的控制台机器列表的ip是错误的
- Sentinel规则持久化到Nacos配置中心报错 HOT 3
- [BUG] 熔断后无法恢复
- [BUG] passDefaultLocalCheck pass request more than limit HOT 2
- [BUG] feign.sentinel.enable=true Error HOT 1
- spring.cloud.sentinel.transport.client-ip 真是一个糟糕的配置
- 希望可以给一个sentinel1.8.2版本接入nacos数据源的教程谢谢 HOT 1
- 如何控制不在服务器上生成sentinel的文件(csp路径下的那些文件) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentinel.