Git Product home page Git Product logo

Comments (5)

lstrojny avatar lstrojny commented on June 23, 2024

The IP address visible in the log is an IPv4 address converted to IPv6. Weither or not that is expected depends on your local network setup but it's not necessarily an issue.
Can you you set the config value "debug" to true and check the logs resp. post your log file (please be careful to censor sensitive info)?

from homebridge-prometheus-exporter.

giuliomagnifico avatar giuliomagnifico commented on June 23, 2024

I don't have IPv6 active on my network, maybe this is the cause? Anyway I don't have other log also in debug mode:

[12/12/2022, 09:36:27] [PrometheusExporter] ::ffff:192.168.1.6:48794 - "GET /metrics HTTP/1.1" 503 "http://192.168.1.5:36123" "Prometheus/2.36.0-rc0" ""

from homebridge-prometheus-exporter.

lstrojny avatar lstrojny commented on June 23, 2024

Maybe not on a local network level but on a single node instead. Is prometheus running on the same node as homebridge?

from homebridge-prometheus-exporter.

giuliomagnifico avatar giuliomagnifico commented on June 23, 2024

Yes it’s on the same node, but the IP in the log is the Homebridge log. The Prometheus database is on another IP/hardware.

Anyway no problem, if it’s only a log, everything is working, just to report.

from homebridge-prometheus-exporter.

lstrojny avatar lstrojny commented on June 23, 2024

So my guess is the following: while you have IPv6 deactivated in your home network, it seems to be activated on the node itself and that’s why Prometheus shows up as a converted IPv4 address. In case you are wondering, the 503 is issued from the endpoint until the service discovery request comes in, so that’s normal startup behavior. Closing this as there seems to be no issue.

from homebridge-prometheus-exporter.

Related Issues (11)

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.