Connection refused when trying to reach the web interface for Aria Operations for Logs
search cancel

Connection refused when trying to reach the web interface for Aria Operations for Logs

book

Article ID: 382371

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Generate a log bundle using the CLI and check the file inside at the following location:

commands/loginsight_health-recent.txt
The contents look like:
2024-11-15 15:55:44,266 [main] WARN : Error closing output stream.
java.net.SocketException: Connection or outbound has closed
        at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(Unknown Source)
        at java.base/java.io.BufferedOutputStream.flushBuffer(Unknown Source)
        at java.base/java.io.BufferedOutputStream.flush(Unknown Source)
        at java.base/java.io.FilterOutputStream.close(Unknown Source)
        at org.apache.thrift.transport.TIOStreamTransport.close(TIOStreamTransport.java:156)
        at org.apache.thrift.transport.TSocket.close(TSocket.java:252)
        at com.vmware.loginsight.commons.rpc.clientconnpool.ClientInstance.close(ClientInstance.java:43)
        at com.vmware.loginsight.commons.rpc.clientconnpool.ClientConnectionPool.removeClient(ClientConnectionPool.java:389)
        at com.vmware.loginsight.commons.rpc.clientconnpool.ClientConnectionPool.discardBrokenClient(ClientConnectionPool.java:362)
        at com.vmware.loginsight.commons.rpc.clientconnpool.ClientConnectionPool$ClientInvocationHandler.invoke(ClientConnectionPool.java:481)
        at com.sun.proxy.$Proxy18.waitUntilStarted(Unknown Source)
        at com.vmware.loginsight.daemon.DaemonClient.waitUntilStarted(DaemonClient.java:69)
        at com.vmware.loginsight.admintool.LICommandlineAdminTool$RecentHealthShowTask.process(LICommandlineAdminTool.java:893)
        at com.vmware.loginsight.admintool.LICommandlineAdminTool$RecentHealthShowTask.process(LICommandlineAdminTool.java:878)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLineAction.handleOwnArgs(AbstractCommandLineAction.java:149)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLine.handle(AbstractCommandLine.java:42)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLineCategory.handleOwnArgs(AbstractCommandLineCategory.java:97)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLine.handle(AbstractCommandLine.java:42)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLineCategory.handleOwnArgs(AbstractCommandLineCategory.java:97)
        at com.vmware.loginsight.commons.actions.commandline.AbstractCommandLine.handle(AbstractCommandLine.java:42)
        at com.vmware.loginsight.admintool.LICommandlineAdminTool.run(LICommandlineAdminTool.java:480)
        at com.vmware.loginsight.admintool.LICommandlineAdminTool.main(LICommandlineAdminTool.java:345)
javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
Check the gss2.txt file at the root of the log bundle, it will also display that same error stack.

Scroll down down to where it shows the date of the certificate, and verify it is expired.
Validity of certificate:
notAfter=Sep 27 21:16:15 2024 GMT

Environment

Aria Operations for Logs 8.16.0

Cause

This is caused by an expired certificate.

Resolution

Install a renewed certificate using the procedures found in Install a custom certificate in VMware Aria Operations for Logs 8.12 and Later.