Netflix / flamescope

FlameScope is a visualization tool for exploring different time ranges as Flame Graphs.
Apache License 2.0
3.02k stars 169 forks source link

Flamescope dashboard not available #43

Closed PawanWagh closed 6 years ago

PawanWagh commented 6 years ago

I had followed all steps as stated in README. Still not able to view dashboard. Please find the screenshots below: screen shot 2018-04-14 at 11 32 46 am Here of dashboard: imageedit_2_7523124955 Port Number: 5000 is open & whitelisted for any ip address. I am running the flamescope tool on my ec2 instance.

spiermar commented 6 years ago

The error is pretty clear, your browser can't connect to the server, but there are several possible explanations. Here are a few troubleshooting steps:

  1. Can you curl to localhost on port 5000?
  2. You mentioned whitelisted? Whitelisted where? iptables? Security group?
  3. You are listening on 127.0.0.1 too, which is likely not your external interface. Can you try switching that to 0.0.0.0? Or your external interface ip address?
brendangregg commented 6 years ago

I'm guessing you're running flamescope on a remote instance. In which case 127.0.0.1 won't work: you'll need the IP address of that instance. Maybe we should update the startup messages of flamescope to list the remote IP address.

spiermar commented 6 years ago

@PawanWagh assuming the issue was fixed. Closing.

PawanWagh commented 6 years ago

Hey guys, thanks for the help. Setting host to "0.0.0.0" fixed the problem.