# Curl -i http://\<server\_ip\>:8200 gives 404 not found error

**URL:** <https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998>\
**Category:** APM\
**Created:** [January 21, 2019, 7:58am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998 "2019-01-21T07:58:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 21, 2019, 7:58am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/1 "2019-01-21T07:58:43Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![Eyal\_Koren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_koren/32/36830_2.png) [@Eyal\_Koren](https://discuss.elastic.co/u/Eyal_Koren)\
**Post date:** [January 21, 2019, 8:12am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/2 "2019-01-21T08:12:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [January 21, 2019, 8:36am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/3 "2019-01-21T08:36:22Z")

</div>

The Java agent requires APM Server 6.5.0 or newer.

---

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 21, 2019, 9:17am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/4 "2019-01-21T09:17:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![abdulsofts](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@abdulsofts](https://discuss.elastic.co/u/abdulsofts)\
**Post date:** [January 21, 2019, 10:00am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/5 "2019-01-21T10:00:11Z")

</div>

Hi,

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 11, 2019, 6:00am UTC](https://discuss.elastic.co/t/curl-i-http-server-ip-8200-gives-404-not-found-error/164998/6 "2019-02-11T06:00:15Z")

</div>

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