Connection errors when writing after some time
Opened this issue · 2 comments
After writing logs for anywhere between 10 minutes to several hours, the connection suddenly fails and never recovers. I see one of the following errors when writing:
write tcp 172.31.22.26:36120->54.246.89.117:443: write: connection reset by peer
write tcp 192.168.0.33:58251->54.246.89.117:443: write: broken pipe
The really weird part is that the library does a connection check before every write which passes, so it never tries to reconnect, but the write itself fails.
The issue doesn't seem to be related to the amount of traffic I send - sometimes it takes several minutes, and sometimes several hours, with varying amounts of traffic.
can someone confirm this is resolved ? PR was merged but the issue is open.
this issue still reproduces for me, can someone shed some more light ?