longview
longview copied to clipboard
ERROR Longview[12200] - Unable to connect to the database: TLS/SSL error: SSL is required, but the server does not support it
Our MySQL (well, MariaDB) server doesn't use SSL and it looks like something in Longview's MySQL connectivity functions enforces SSL all of a sudden. It's been working for years, but all of a sudden, when longview 1.1.5 got restarted, now we're getting these SSL errors:
12/13 11:40:16 WARN Longview[12200] - DBI connect('host=localhost;','linode-longview',...) failed: TLS/SSL error: SSL is required, but the server does not support it at /opt/linode/longview/Linode/Longview/DataGetter/Applications/MySQL.pm line 69.
12/13 11:40:16 ERROR Longview[12200] - Unable to connect to the database: TLS/SSL error: SSL is required, but the server does not support it
I don't understand why this is happening all of a sudden. Any ideas? Or ideally, you'd add a config flag for not enforcing ssl.
Because of this, we ended up adding SSL support to our MariaDB instances. I don't see Longview getting updated, as it hasn't had an update in almost ten years.