# Metricbeat 5.5 at Win Server 2008 fails to send data to elasticsearch 5.5

**URL:** <https://discuss.elastic.co/t/metricbeat-5-5-at-win-server-2008-fails-to-send-data-to-elasticsearch-5-5/92944>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [July 13, 2017, 6:57am UTC](https://discuss.elastic.co/t/metricbeat-5-5-at-win-server-2008-fails-to-send-data-to-elasticsearch-5-5/92944 "2017-07-13T06:57:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jantoth](https://avatars.discourse-cdn.com/v4/letter/j/f17d59/32.png) [@jantoth](https://discuss.elastic.co/u/jantoth)\
**Post date:** [July 13, 2017, 6:57am UTC](https://discuss.elastic.co/t/metricbeat-5-5-at-win-server-2008-fails-to-send-data-to-elasticsearch-5-5/92944/1 "2017-07-13T06:57:19Z")

</div>

Hello all,

my problem is rather straightforward:

I have spend more than one day investigating this issue. I have several linux servers  
set up with an exact configuration and I set it up literally in few minutes however,  
**Metricbeat 5.5** at **Win Server 2008** fails to send data to **elasticsearch 5.5**. (telnet works)

Elasticsearch [http://ip.ip.ip.ip:9200](http://ip.ip.ip.ip:9200) is reachable from the **Win Server 2008** chrome browser with  
no problems however, when I stat is as a service I am getting:

2017/07/13 06:50:51.089493 single.go:173: DBG messages dropped  
2017/07/13 06:50:51.089493 output.go:109: DBG output worker: publish 3 events  
2017/07/13 06:50:51.090493 client.go:637: DBG ES Ping(url=http://ip.ip.ip.ip:9200, timeout=1m30s)  
2017/07/13 06:50:51.155499 client.go:642: DBG Ping request failed with: 403 Forbidden  
2017/07/13 06:50:51.155499 single.go:140: ERR Connecting error publishing events (retrying): 403 Forbidden  
2017/07/13 06:50:51.155499 single.go:156: DBG send fail

I also tried to install **metricbeat 5.5** at my windows 7 laptop and it works with usual configuration like in seconds../.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [July 17, 2017, 4:34pm UTC](https://discuss.elastic.co/t/metricbeat-5-5-at-win-server-2008-fails-to-send-data-to-elasticsearch-5-5/92944/2 "2017-07-17T16:34:20Z")

</div>

> [@jantoth](#):
>
> my problem is rather straightforward:

> [@jantoth](#):
>
> ERR Connecting error publishing events (retrying): 403 Forbidden

I agree, pretty straightforward. You are getting a `403 Forbidden` response from the HTTP endpoint. Are you using xpack security? Did you forget a username and password?

---

<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:** [August 14, 2017, 4:34pm UTC](https://discuss.elastic.co/t/metricbeat-5-5-at-win-server-2008-fails-to-send-data-to-elasticsearch-5-5/92944/3 "2017-08-14T16:34:24Z")

</div>

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