Client login fails with error "java.net.ConnectException: Connection timed out: connect"
search cancel

Client login fails with error "java.net.ConnectException: Connection timed out: connect"

book

Article ID: 259180

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

A new User is unable to log into the Applications Manager Client due to the below error, which is seen after entering the user password:

ErrorMsg: AwE-9999 Internal error (1/30/23 2:14 PM) 
Details: null
java.net.ConnectException: Connection timed out: connect
    at java.net.DualStackPlainSocketImpl.connect0(Native Method)
    at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:607)
    at java.net.Socket.connect(Socket.java:556)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
    at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    at sun.net.www.http.HttpClient.New(HttpClient.java:357)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1228)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1572)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500)
    at java.net.URL.openStream(URL.java:1093)

Environment

Release : 9.3.x, 9.4.x

Component : CA Automic Applications Manager (AM)

Cause

While there are different "connection" errors, a "connection timed out" generally means that the connection is not reaching the apache webserver host or the Applications Manager master's host.

Resolution

The issue is likely a network issue such as a firewall issue.

One test is to ping the master or apache server host/IP address to make sure a connection can be made. 

The IP/Host value can be found in the connections.properties file and taking a look at the IP/Host entry for the Applications Manager instance you are trying to connect to.

Below is an example of the ping command failing with also a timed out error. If the below error is seen, please refer to the network admin as the issue is likely network or firewall related.

C:\Users\name>ping 10.0.0.1

Pinging 10.0.0.1 with 32 bytes of data:
Request timed out.