Getting timed out exception when I tried to hit the CyberArk endpoints from linuxmint VM

Getting timed out exception when I tried to hit the CyberArk endpoints from linuxmint VM

org.apache.http.conn.HttpHostConnectException: Connect to cyberark:11116 [services-uscentral.skytap.com/184.170.232.54] failed: Connection timed out (Connection timed out)

at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at CyberArkClient.getSessionToken(CyberArkClient.java:118)
at CyberArkClient.main(CyberArkClient.java:25)

Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
at java.net.PlainSocketImpl.socketConnect(Native Method)
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.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:339)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
… 11 more

Do other clients successfully connect to the CyberArk endpoints? If so, my first instinct is that the openssl client version in linuxmint is possibly not able to negotiate a TLS1.3 connection.

1 Like

Hi @Pavan. Thanks for posting. As @nathan.whipple suggested it’s worth trying to hit the Cyberark endpoints from other environments to determine if the linuxmint VM is the issue.

Please provide any context around your setup that might help us understand it better.