← Back to team overview

openerp-india team mailing list archive

[Bug 1116072] Re: No timeout on sockets makes SMTP connections freeze

 

** Changed in: openobject-server
   Importance: Undecided => Low

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1116072

Title:
  No timeout on sockets makes SMTP connections freeze

Status in OpenERP Server:
  Confirmed

Bug description:
  If you misconfigured your SMTP server (like STARTTLS in place of SSL
  on port 465 as in my case) or your SMTP server is temporarily
  unavailable, you'll never reach a timeout. This leads to all kind of
  weird freezes (every action that triggers a ir_mail_server.connect()),
  that can be for posting to groups, creating projects, etc. Hard to
  find for laymen in any case.

  Consider passing timeout=[something] to smtplib.SMTP{,_SSL} or call
  socket.setdefaulttimeout([something]) in the initialization code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1116072/+subscriptions


References