Curl -i http://<server_ip>:8200 gives 404 not found error

Hi,

I have setup APM agent (Java) and server. But getting below error logs in my java application.

Error logs:
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.

Hi and thanks for trying out our APM solution.
Which APM server version are you using?

The Java agent requires APM Server 6.5.0 or newer.

Hi,

Thanks for the quick response.

I am using APM version 6.3.1. Since it was just a warning and also I could not curl to my APM server from the host itself, I felt the issue is with something else.

Hi,

After upgrading the apm-server version to 6.5.4, it started working fine without any problems. Many thanks for your prompt support.

2 Likes

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.