Business iQ (Analytics)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication Issue between Java Agent & Analytcs agent

Highlighted

Communication Issue between Java Agent & Analytcs agent

We are observing SSL handshake failures in communication between Java agent & the analytics agent.PFB the logs

 

[appdynamics-analytics-writer1] 10 Jul 2019 16:22:40,711  WARN HttpSink - Error occurred while attempting to send data to [https://localhost:9090/v2/sinks/bt]. Retry attempts remaining [1199]
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:1.6.0_41]
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[?:1.6.0_41]
	at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1902) ~[?:1.6.0_41]
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:1.6.0_41]
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1320) ~[?:1.6.0_41]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1347) ~[?:1.6.0_41]
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1331) ~[?:1.6.0_41]
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:396) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:355) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.4.jar:4.5.4]
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.4.jar:4.5.4]
	at com.singularity.ee.service.analytics.writer.HttpSink.doWrite(HttpSink.java:159) ~[?:?]
	at com.singularity.ee.service.analytics.writer.HttpSink.writeToOutput(HttpSink.java:115) ~[?:?]
	at com.singularity.ee.service.analytics.writer.SinkWriterTask.run(SinkWriterTask.java:59) ~[?:?]
	at com.singularity.ee.util.javaspecific.scheduler.o.run(o.java:122) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.6.0_41]
	at com.singularity.ee.util.javaspecific.scheduler.B.d(B.java:320) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at com.singularity.ee.util.javaspecific.scheduler.a.run(a.java:140) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at com.singularity.ee.util.javaspecific.scheduler.b.b(b.java:119) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at com.singularity.ee.util.javaspecific.scheduler.b.run(b.java:238) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at com.singularity.ee.util.javaspecific.scheduler.i.a(i.java:694) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at com.singularity.ee.util.javaspecific.scheduler.i.run(i.java:726) ~[appagent.jar:Server Agent #4.5.9.25648 v4.5.9 GA compatible with 4.4.1.0 r24edb4ba5d4cc80793b2d5806ddf9cf8044e87b0 pull-requests/2158]
	at java.lang.Thread.run(Thread.java:701) [?:1.6.0_41]

My queries are  - 

- Do i need to configure my Java agent to connect to analytics over SSL becasue my event service is running on SSL or http would do ? (The http is not happening currently)
-If yes then, do i need to setup something additionally on the analytics agent to make it run on SSL apart from the configurations done to make it connect to event service over SSL.
- Do i need to enable something at Java agent like importing a certificate for it to be able to connect to analytics agent over SSL.

 

Communication Issue between Java Agent & Analytcs agent