longview icon indicating copy to clipboard operation
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

Open archon810 opened this issue 1 month ago • 1 comments

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.

archon810 avatar Dec 13 '25 19:12 archon810

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.

archon810 avatar Dec 16 '25 20:12 archon810