Diagnosing socket "Connection reset by peer"
Jorgen Grahn
grahn+nntp at snipabacken.se
Wed May 22 15:44:15 EDT 2013
On Wed, 2013-05-22, Dave Angel wrote:
> On 05/22/2013 04:46 AM, loial wrote:
>> <SNIP>
>>
>> .... Is there any additional traceing I can do(either within my
>> python code or on the network) to establish what is causing this
>> error?
>
> Try using Wireshark. It can do a remarkable job of filtering,
> capturing, and analyzing packets. It can also read and write pcap
> files, which you could either save for later analysis, or send to
> someone who might help.
Or use tcpdump, which has a text interface so you can show the problem
in a text medium like Usenet.
> (Note - unfiltered pcap files can be very large
> on a busy network, but if you can quiet other traffic, you may not need
> to filter at all.)
Or simply filter. It's not hard -- the capture filter
"host my-printer-hostname-or-address" is enough.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
More information about the Python-list
mailing list