Metric Server with InfluxDB2 "503 Service Unavailable"

tbfmual

New Member
Jul 9, 2024
2
0
1
I am trying to setup a external metrics server through influxdb.

The influxdb container is working perfectly fine. Got a bucket (with no special name), an organization and a propperly defined token.
The container is behind a reverse proxy (traefik).

I configured the metric server through the proxmox GUI. The status.cfg looks like this:
Code:
influxdb: influxdb
        disable
        port 443
        server influxdb.REDACTED.tld
        bucket proxmox
        influxdbproto https
        organization REDACTED
        verify-certificate 0
... as soon as I try and enable the settings, I am provided with an error-popup 503 Service Unavailable (500).

I have tried to check the logs within the GUI under each node (2 in total) and also check the logs through the CLI with journalctl -r - actually even the dmesg logs, but it does not even list a single log entry anywhere. Also, the container logs of influxdb dont show anything either.

You guys have any clue, how I could troubleshoot this?

In my homelab, with pretty much the same setup (but different hardware) it works like a charm.
 
The influxdb container is working perfectly fine
As in, other clients can send data over the network?

Also, the container logs of influxdb dont show anything either.
Did you check the specific logs for traefik and influxdb? From a gut feeling I'd blame the reverse proxy setup, at least if you do not have clients that can already sent data through that just fine. The error sounds like either traefik is not relaying it to the correct host/path/port or influxdb is not listening there.