LibreNMS connection Influxdb HTTP Code 400 Client sent an HTTP request to an HTTPS server

I had LibreNMS sending Data to InfluxDB at some point it stopped receiving the data in InfulxDB.
Looking at the Librenms.log file I get the below Error

production.ERROR: InfluxDB exception: HTTP Code 400 Client sent an HTTP request to an HTTPS server.

The InfluxDB server is configured to use https
Below are my librenms config.php Influxdb settings

#InfluxDB
$config['influxdb']['enable'] = true;
$config['influxdb']['transport'] = 'https:'; # Default, other options: https, udp
$config['influxdb']['host'] = 'InfluxDB';
$config['influxdb']['port'] = '8086';
$config['influxdb']['db'] = 'Data_II';
$config['influxdb']['username'] = 'USER';
$config['influxdb']['password'] = 'PASSWORD';
$config['influxdb']['timeout'] = 0; # Optional
$config['influxdb']['verifySSL'] = true; # Optional

I cant seem to find a way to force the Librenms Server to end https not http requests, any help would be appreciated.

1 Like

Found My Issue remove the ‘:’ after the https

$config['influxdb']['transport'] = 'https'; # Default, other options: https, udp

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.