# ERROR#011\[logstash\]#011logstash/async.go:280#011Failed to publish events caused by: write tcp 172.31.82.54:52674-\>172.31.22.210:5044: write: connection reset by peer

**URL:** <https://discuss.elastic.co/t/error-011-logstash-011logstash-async-go-280-011failed-to-publish-events-caused-by-write-tcp-172-31-82-54-52674-172-31-22-210-write-connection-reset-by-peer/285729>\
**Category:** Kibana\
**Tags:** runtime-fields\
**Created:** [October 2, 2021, 8:35am UTC](https://discuss.elastic.co/t/error-011-logstash-011logstash-async-go-280-011failed-to-publish-events-caused-by-write-tcp-172-31-82-54-52674-172-31-22-210-write-connection-reset-by-peer/285729 "2021-10-02T08:35:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai\_dheeraj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sai_dheeraj/32/95366_2.png) [@sai\_dheeraj](https://discuss.elastic.co/u/sai_dheeraj)\
**Post date:** [October 2, 2021, 8:35am UTC](https://discuss.elastic.co/t/error-011-logstash-011logstash-async-go-280-011failed-to-publish-events-caused-by-write-tcp-172-31-82-54-52674-172-31-22-210-write-connection-reset-by-peer/285729/1 "2021-10-02T08:35:22Z")

</div>

Oct 2 08:16:56 ip-172-31-82-54 filebeat: 2021-10-02T08:16:56.116Z#011INFO#011[publisher]#011pipeline/retry.go:219#011retryer: send unwait signal to consumer  
Oct 2 08:16:56 ip-172-31-82-54 filebeat: 2021-10-02T08:16:56.116Z#011INFO#011[publisher]#011pipeline/retry.go:223#011 done  
Oct 2 08:16:57 ip-172-31-82-54 filebeat: 2021-10-02T08:16:57.337Z#011ERROR#011[publisher\_pipeline\_output]#011pipeline/output.go:180#011failed to publish events: write tcp 172.31.82.54:52664-\>172.31.22.210:5044: write: connection reset by peer  
Oct 2 08:16:57 ip-172-31-82-54 filebeat: 2021-10-02T08:16:57.337Z#011INFO#011[publisher\_pipeline\_output]#011pipeline/output.go:143#011Connecting to backoff(async(tcp://172.31.22.210:5044))  
Oct 2 08:16:57 ip-172-31-82-54 filebeat: 2021-10-02T08:16:57.337Z#011INFO#011[publisher]#011pipeline/retry.go:219#011retryer: send unwait signal to consumer  
Oct 2 08:16:57 ip-172-31-82-54 filebeat: 2021-10-02T08:16:57.337Z#011INFO#011[publisher]#011pipeline/retry.go:223#011 done  
Oct 2 08:16:57 ip-172-31-82-54 filebeat: 2021-10-02T08:16:57.338Z#011INFO#011[publisher\_pipeline\_output]#011pipeline/output.go:151#011Connection to backoff(async(tcp://172.31.22.210:5044)) established  
Oct 2 08:17:05 ip-172-31-82-54 filebeat: 2021-10-02T08:17:05.080Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":90,"time":{"ms":5}},"total":{"ticks":320,"time":{"ms":11},"value":320},"user":{"ticks":230,"time":{"ms":6}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":450094},"version":"7.15.0"},"memstats":{"gc\_next":19467552,"memory\_alloc":13941440,"memory\_total":69208416,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"events":{"added":7,"done":7},"harvester":{"open\_files":1,"running":1,"started":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":6,"active":0,"batches":2,"failed":6,"total":12},"read":{"bytes":6},"write":{"bytes":1255,"errors":1}},"pipeline":{"clients":1,"events":{"active":0,"filtered":1,"published":6,"retry":12,"total":7},"queue":{"acked":6}}},"registrar":{"states":{"current":2,"update":7},"writes":{"success":2,"total":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:17:35 ip-172-31-82-54 filebeat: 2021-10-02T08:17:35.079Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":90,"time":{"ms":3}},"total":{"ticks":320,"time":{"ms":5},"value":320},"user":{"ticks":230,"time":{"ms":2}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":480097},"version":"7.15.0"},"memstats":{"gc\_next":19467552,"memory\_alloc":14920624,"memory\_total":70187600,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:18:05 ip-172-31-82-54 filebeat: 2021-10-02T08:18:05.080Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":100,"time":{"ms":7}},"total":{"ticks":340,"time":{"ms":16},"value":340},"user":{"ticks":240,"time":{"ms":9}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":510096},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":10028552,"memory\_total":70620344,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:18:31 ip-172-31-82-54 filebeat: 2021-10-02T08:18:31.126Z#011ERROR#011[logstash]#011logstash/async.go:280#011Failed to publish events caused by: write tcp 172.31.82.54:52674-\>172.31.22.210:5044: write: connection reset by peer  
Oct 2 08:18:31 ip-172-31-82-54 filebeat: 2021-10-02T08:18:31.126Z#011INFO#011[publisher]#011pipeline/retry.go:219#011retryer: send unwait signal to consumer  
Oct 2 08:18:31 ip-172-31-82-54 filebeat: 2021-10-02T08:18:31.126Z#011INFO#011[publisher]#011pipeline/retry.go:223#011 done  
Oct 2 08:18:32 ip-172-31-82-54 filebeat: 2021-10-02T08:18:32.590Z#011ERROR#011[publisher\_pipeline\_output]#011pipeline/output.go:180#011failed to publish events: write tcp 172.31.82.54:52674-\>172.31.22.210:5044: write: connection reset by peer  
Oct 2 08:18:32 ip-172-31-82-54 filebeat: 2021-10-02T08:18:32.590Z#011INFO#011[publisher\_pipeline\_output]#011pipeline/output.go:143#011Connecting to backoff(async(tcp://172.31.22.210:5044))  
Oct 2 08:18:32 ip-172-31-82-54 filebeat: 2021-10-02T08:18:32.590Z#011INFO#011[publisher]#011pipeline/retry.go:219#011retryer: send unwait signal to consumer  
Oct 2 08:18:32 ip-172-31-82-54 filebeat: 2021-10-02T08:18:32.590Z#011INFO#011[publisher]#011pipeline/retry.go:223#011 done  
Oct 2 08:18:32 ip-172-31-82-54 filebeat: 2021-10-02T08:18:32.592Z#011INFO#011[publisher\_pipeline\_output]#011pipeline/output.go:151#011Connection to backoff(async(tcp://172.31.22.210:5044)) established  
Oct 2 08:18:35 ip-172-31-82-54 filebeat: 2021-10-02T08:18:35.079Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":100,"time":{"ms":4}},"total":{"ticks":340,"time":{"ms":8},"value":340},"user":{"ticks":240,"time":{"ms":4}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":540094},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":13262904,"memory\_total":73854696,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"events":{"added":6,"done":6},"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"acked":6,"active":0,"batches":2,"failed":6,"total":12},"read":{"bytes":6},"write":{"bytes":1241,"errors":1}},"pipeline":{"clients":1,"events":{"active":0,"published":6,"retry":12,"total":6},"queue":{"acked":6}}},"registrar":{"states":{"current":2,"update":6},"writes":{"success":1,"total":1}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:19:05 ip-172-31-82-54 filebeat: 2021-10-02T08:19:05.079Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":110,"time":{"ms":5}},"total":{"ticks":360,"time":{"ms":8},"value":360},"user":{"ticks":250,"time":{"ms":3}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":570094},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":13869144,"memory\_total":74460936,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:19:35 ip-172-31-82-54 filebeat: 2021-10-02T08:19:35.080Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":110,"time":{"ms":4}},"total":{"ticks":360,"time":{"ms":7},"value":360},"user":{"ticks":250,"time":{"ms":3}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":600098},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":14464216,"memory\_total":75056008,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:19:37 ip-172-31-82-54 dhclient[3692]: DHCPREQUEST on eth0 to 172.31.80.1 port 67 (xid=0x23bd9e05)  
Oct 2 08:19:37 ip-172-31-82-54 dhclient[3692]: DHCPACK from 172.31.80.1 (xid=0x23bd9e05)  
Oct 2 08:19:39 ip-172-31-82-54 dhclient[3692]: bound to 172.31.82.54 -- renewal in 1577 seconds.  
Oct 2 08:20:01 ip-172-31-82-54 systemd: Created slice User Slice of root.  
Oct 2 08:20:01 ip-172-31-82-54 systemd: Started Session 26 of user root.  
Oct 2 08:20:01 ip-172-31-82-54 systemd: Removed slice User Slice of root.  
Oct 2 08:20:05 ip-172-31-82-54 filebeat: 2021-10-02T08:20:05.079Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":120,"time":{"ms":5}},"total":{"ticks":380,"time":{"ms":14},"value":380},"user":{"ticks":260,"time":{"ms":9}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":630098},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":9828872,"memory\_total":75662504,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:20:35 ip-172-31-82-54 filebeat: 2021-10-02T08:20:35.080Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":120,"time":{"ms":5}},"total":{"ticks":380,"time":{"ms":7},"value":380},"user":{"ticks":260,"time":{"ms":2}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":660095},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":10598936,"memory\_total":76432568,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
Oct 2 08:21:05 ip-172-31-82-54 filebeat: 2021-10-02T08:21:05.080Z#011INFO#011[monitoring]#011log/log.go:184#011Non-zero metrics in the last 30s#011{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":120,"time":{"ms":4}},"total":{"ticks":380,"time":{"ms":5},"value":380},"user":{"ticks":260,"time":{"ms":1}}},"handles":{"limit":{"hard":4096,"soft":1024},"open":12},"info":{"ephemeral\_id":"88be57c5-b54c-45ba-8601-a6ce69d0fcfd","uptime":{"ms":690094},"version":"7.15.0"},"memstats":{"gc\_next":19610288,"memory\_alloc":11030720,"memory\_total":76864352,"rss":101281792},"runtime":{"goroutines":32}},"filebeat":{"harvester":{"open\_files":1,"running":1}},"libbeat":{"config":{"module":{"running":0}},"output":{"events":{"active":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":2}},"system":{"load":{"1":0,"15":0.05,"5":0.01,"norm":{"1":0,"15":0.05,"5":0.01}}}}}}  
^C

could please any one to help on above issue

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 2, 2021, 1:41pm UTC](https://discuss.elastic.co/t/error-011-logstash-011logstash-async-go-280-011failed-to-publish-events-caused-by-write-tcp-172-31-82-54-52674-172-31-22-210-write-connection-reset-by-peer/285729/2 "2021-10-02T13:41:28Z")

</div>

Hello,

You need to provide more information about your error, just pasting part of a log file without any context doesn't say anything about your issue.

Also, always paste logs or config using the Preformatted text option, the symbol `</>`, without it your post is very hard to read.

What is your issue? What you are trying to do?

---

<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:** [October 30, 2021, 1:41pm UTC](https://discuss.elastic.co/t/error-011-logstash-011logstash-async-go-280-011failed-to-publish-events-caused-by-write-tcp-172-31-82-54-52674-172-31-22-210-write-connection-reset-by-peer/285729/3 "2021-10-30T13:41:54Z")

</div>

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