I usually observe this while running my automation scripts using paramiko ssh module in python. While executing some commands, it fails with the following error. Observed this error in tcl scripts as well, so realized it is not specific to a language
IOError: [Errno 32] Broken pipe
And we have observed it in while writing the steam of output to a file as well as below
file_handle.write(line_data)
We can handle the exception and add a retry block (Ref: IOError: [Errno 32] Broken pipe: Python)
But I am curios to know why is it happening at the first place so that I can take necessary precautions before running my job.
My findings resulted in "network drop" or "recipient system not responding". But I am not really convinced with those points. Please let me know the root cause