# ERROR logstash/async.go:256 Failed to publish events caused by: write tcp 10.XXX.XX.XX:43522-\>10.XXX.XX.XX:5044: i/o timeout 2019-08-06T16:04:30.967+0800 ERROR pipeline/output.go:121 Failed to publish events:IOtimeout

**URL:** <https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 8, 2019, 5:41am UTC](https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355 "2019-08-08T05:41:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![uday\_kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uday_kumar1/32/51900_2.png) [@uday\_kumar1](https://discuss.elastic.co/u/uday_kumar1)\
**Post date:** [August 8, 2019, 5:41am UTC](https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355/1 "2019-08-08T05:41:51Z")

</div>

Hello There,

Currently we are testing the filebeat service to send the logs from client to server. In this process I am getting below error.

2019-08-06T16:04:29.146+0800 ERROR logstash/async.go:256 Failed to publish events caused by: write tcp 10.XXX.XX.XX:43522-\>10.XXX.XX.XX:5044: i/o timeout  
2019-08-06T16:04:30.967+0800 ERROR pipeline/output.go:121 Failed to publish events: write tcp 10.XXX.XX.XX:43522-\>10.XXX.XX.XX:5044: i/o timeout  
2019-08-06T16:04:30.967+0800 INFO pipeline/output.go:95 Connecting to backoff(async(tcp://10.XXX.XX.XX:5044))  
2019-08-06T16:04:31.200+0800 INFO pipeline/output.go:105 Connection to backoff(async(tcp://10.XXX.XX.XX:5044)) established

Please let us know in case of any further information required.

Regards,  
Uday.

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [August 8, 2019, 2:50pm UTC](https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355/2 "2019-08-08T14:50:55Z")

</div>

Is there any error on the logs of Logstash?

---

<div class="post-metadata">

**Author:** ![uday\_kumar1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uday_kumar1/32/51900_2.png) [@uday\_kumar1](https://discuss.elastic.co/u/uday_kumar1)\
**Post date:** [August 12, 2019, 6:06am UTC](https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355/3 "2019-08-12T06:06:20Z")

</div>

Hi kvch,  
Thank you for responding.. slight\_smile:  
There was no errors on logstash logs.  
I am running elasticsearch, logstash and kibana on azure linux vm and filebeat is on on-primes client server. I tried to add cloud metadata also in the filebeat.yml but throwing the error "hosting provide not detected" from client server side.

Please help me if I missed any thing.

thanks and regards,  
Uday.

---

<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:** [September 9, 2019, 6:17am UTC](https://discuss.elastic.co/t/error-logstash-async-go-256-failed-to-publish-events-caused-by-write-tcp-10-xxx-xx-xx-43522-10-xxx-xx-xx-i-o-timeout-2019-08-06t1630-967-0800-error-pipeline-output-go-121-failed-to-publish-events-iotimeout/194355/4 "2019-09-09T06:17:07Z")

</div>

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