HTTPS LibreNMS + Oxidized API

Hi,

Was wondering if anyone had successfully setup LibreNMS to use only HTTPS and at the same time keep the API-communication with Oxidized working. As it stands now, with HTTPS LibreNMS oxidized can’t seem to return API calls and at the same time spews HTTP parse errors while running.

2016-08-25 10:52:21 +0200: HTTP parse error, malformed request (): #<Puma::HttpParserError: Invalid HTTP format, parsing fails.>
2016-08-25 10:52:21 +0200: ENV: {“rack.version”=>[1, 3], “rack.errors”=>#<IO:>, “rack.multithread”=>true, “rack.multiprocess”=>false, “rack.run_once”=>false, “SCRIPT_NAME”=>"", “QUERY_STRING”=>"", “SERVER_PROTOCOL”=>“HTTP/1.1”, “SERVER_SOFTWARE”=>“2.16.0”, “GATEWAY_INTERFACE”=>“CGI/1.2”}

Has anyone encountered this and have any leads on where to look for a solution?

Are you using the same hostname as in your SSL cert?

We run LibreNMS with https only and talk to the Oxidized API with no issues so it’s certainly possible.

Where are those errors from?

Those errors were from an instance of Oxidized. These errors seems to have resolved themselves though and now I am stuck with a port already in use error when reading through the oxidized crash log. Will have a go at it tomorrow and if I solve it I will share whatever it was I messed up.