I am getting a broken pipe socket error, most probably the other end is not closing the connection because the other end timeout later when it does not receive any packets. How can I find this by looking at packet trace. In case if the other end(destination) is closing the connection, should I see rst message at point of failure. If a firewall is causing broken pipe, How to identify that in packet traces. If something is causing a broken pipe. How to identify the cause? I am very new to using wireshark. I am not looking for exact solution to this problem. I will be glad to receive any suggestion which might help me to inch closer to solving this issue. asked 13 Sep '12, 11:44 wireshark_sh... edited 13 Sep '12, 13:39 |
One Answer:
O.K. that could mean, you're trying to write to a local socket that has been closed. So now, you need to figure out why the socket was closed. There are several reasons:
Cause 1.: Cause 2.: Cause 3.: Cause 4.: Regards answered 17 Sep '12, 13:33 Kurt Knochner ♦ Hello Kurt, Thanks for responding. In cause 4, why do you say if lucky, I will see a FIN or RST in the network capture. (17 Sep '12, 13:37) wireshark_sh... because if the OS runs into a resource exhaustion, you never know how it reacts, unless you study the source code of that specific OS ;-) (17 Sep '12, 13:49) Kurt Knochner ♦ plus some staff to Case1 if see sever RSF or FIN to client, we need to found the reason it case closing.. Today I found a case that client send or connect too slow, so server side timeout, then FIN/RST to client... Then we see (09 Apr '15, 06:52) robi |
where do you get that error message?
Hi Kurt, write system call returns -1 and when I read the errno, I see 32 (broken pipe).