← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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.

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References