connection reset by peer error
gigs
gigs at hi.t-com.hr
Sat Oct 11 20:14:25 EDT 2008
D'Arcy J.M. Cain wrote:
> On Sat, 11 Oct 2008 15:52:48 +0200
> gigs <gigs at hi.t-com.hr> wrote:
>> I connect to web site with httplib.HTTPConnection. after some time i get this
>> error: 104 "connection reset by peer". What exception i should use to catche
>> this error
>
> Well, what exception do you get? Your traceback should tell you.
>
i dont remember now
my problem is now that i need to wait few hours to get this error. now i close
my connection after one hour and reconnect. so i dont get that error anymore,
but i would like to catch that error and reconect after it happens.
i dont have time to wait for that error now.
More information about the Python-list
mailing list