Hi
APM agent >>> APM server.
APM agent can't send data to APM server.
FYI1: Telnet and curl work properly from agent to server.
FYI2: On agent log i can see traces are log correctly but not send to server!
FYI3: Even i run tcpdump on server but nothing received from client.
FYI4: check with netstat server, and seems server listen to port 8200.
Here is the agent log
[Server:main-server] 2022-12-31 14:57:32,558 [elastic-apm-server-reporter] ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error sending data to APM server: Read timed out, response code is -1
[Server:main-server] 2022-12-31 14:57:32,558 [elastic-apm-server-reporter] DEBUG co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Sending payload to APM server failed
[Server:main-server] java.net.SocketTimeoutException: Read timed out
[Server:main-server] at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_312]
[Server:main-server] at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_312]
[Server:main-server] at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_312]
[Server:main-server] at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_312]
[Server:main-server] at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[?:1.8.0_312]
[Server:main-server] at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[?:1.8.0_312]
[Server:main-server] at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[?:1.8.0_312]
[Server:main-server] at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) ~[?:1.8.0_312]
[Server:main-server] at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[?:1.8.0_312]
[Server:main-server] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1590) ~[?:1.8.0_312]
[Server:main-server] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1495) ~[?:1.8.0_312]
[Server:main-server] at co.elastic.apm.agent.report.AbstractIntakeApiHandler.endRequest(AbstractIntakeApiHandler.java:187) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at co.elastic.apm.agent.report.AbstractIntakeApiHandler.endRequest(AbstractIntakeApiHandler.java:163) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.onEvent(IntakeV2ReportingEventHandler.java:85) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at co.elastic.apm.agent.report.IntakeV2ReportingEventHandler.onEvent(IntakeV2ReportingEventHandler.java:38) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at com.lmax.disruptor.BatchEventProcessor.processEvents(BatchEventProcessor.java:168) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:125) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at co.elastic.apm.agent.util.ExecutorUtils$2.run(ExecutorUtils.java:99) [elastic-apm-agent-1.35.0.jar:1.35.0]
[Server:main-server] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]