I have setup APM agent (Java) and server. But getting below error logs in my java application.
2019-01-21 13:12:36.727 [apm-reporter] WARN co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - It seems like you are using a version of the APM Server which is not compatible with this agent. Please use APM Server 6.5.0 or newer.
2019-01-21 13:12:36.727 [apm-reporter] INFO co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Backing off for 9 seconds (±10%)
2019-01-21 13:12:45.347 [apm-reporter] ERROR co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - Error sending data to APM server: http://192.168.1.26:8200/intake/v2/events, response code is 404
2019-01-21 13:12:45.376 [apm-reporter] WARN co.elastic.apm.agent.report.IntakeV2ReportingEventHandler - 404 page not found
Later, I have identified that the curl for my apm-server is throwing '404 page not found' error even from the same apm-server machine.
Command: curl -i http://<server_ip>:8200
Please hep me resolve this issue.