Git Product home page Git Product logo

Comments (6)

sczyh30 avatar sczyh30 commented on May 10, 2024

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.

xinhaiCai avatar xinhaiCai commented on May 10, 2024

There are no errors shown in frontend developer tools (F12 in Windows) in Chrome. So I'm confused.

from sentinel.

sczyh30 avatar sczyh30 commented on May 10, 2024

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.

xinhaiCai avatar xinhaiCai commented on May 10, 2024

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.

xinhaiCai avatar xinhaiCai commented on May 10, 2024

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.

xinhaiCai avatar xinhaiCai commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.