ahupowerdns / metronome

GNU General Public License v2.0
50 stars 22 forks source link

404 File not found #56

Open pizu opened 7 years ago

pizu commented 7 years ago

Hi,

I have an issue after installing with git clone and did turn on the server, am having: 404 File not found

is there any other configuration? that I need to do

local.js edited and same issue.

liwsakilive commented 6 years ago

Me too.

andrewhearn commented 5 years ago

(a late reply....) You need to host the html/ folder on a (separate) webserver - metronome's :8000 webserver is just the API endpoint, the javascript in the html files will talk metronome's API.

dmgeurts commented 2 years ago

Same here. I followed these instructions: Graphing your PowerDNS services with Metronome, part 1 except for swapping Apache for Nginx.

Did you find a solution?

The PowerDNS Metronome page loads, but the below error pops up. When I then attempt to access the given link I get a 404 error in my browser and I can reach port 8000 from both the client and server.

Could not contact Metronome statistics server at http://10.0.0.10:8000/. This is either due to a connectivity problem or a intervening firewall, or otherwise a timeout.

Testing connectivity:

nc -zv 10.0.0.10 8000
Connection to 10.0.0.10 8000 port [tcp/*] succeeded!

So I think the issue is the 404 error, not the connectivity between the client-based javascript and the Metronome server.

dmgeurts commented 2 years ago

However, when implementing part-2 of the article. Things start working. It seems having the website and javascript target one the same domain helps get the issue resolved.