connection reset by peer error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • gigs

    connection reset by peer error

    I connect to web site with httplib.HTTPCon nection. after some time i get this
    error: 104 "connection reset by peer". What exception i should use to catche
    this error

    thx!
  • D'Arcy J.M. Cain

    #2
    Re: connection reset by peer error

    On Sat, 11 Oct 2008 15:52:48 +0200
    gigs <gigs@hi.t-com.hrwrote:
    I connect to web site with httplib.HTTPCon nection. 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.

    --
    D'Arcy J.M. Cain <darcy@druid.ne t | Democracy is three wolves
    http://www.druid.net/darcy/ | and a sheep voting on
    +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

    Comment

    • gigs

      #3
      Re: connection reset by peer error

      D'Arcy J.M. Cain wrote:
      On Sat, 11 Oct 2008 15:52:48 +0200
      gigs <gigs@hi.t-com.hrwrote:
      >I connect to web site with httplib.HTTPCon nection. 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.

      Comment

      Working...