[Buildbot-commits] [Buildbot] #1786: master fails to send mail with TLS on windows
Buildbot
nobody at buildbot.net
Mon Jan 31 19:55:59 UTC 2011
#1786: master fails to send mail with TLS on windows
----------------------+-----------------------
Reporter: philippem | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.8.3p1 | Keywords: windows
----------------------+-----------------------
- buildbot 0.8.3p1 on windows server 2008
- mail sending fails, errors in twistd.log.
- this worked fine on ubuntu with buidbot 0.8.3, twisted 10.2.0.
- mail server spec has not changed (it's via gmail)
- master.cfg has not changed.
- I'm wondering if it is something to do with line ending parsing? because
the STARTTLS is advertised by gmail,
but twistd is not picking itup.
twistd.log on master:
{{{
2011-01-31 11:08:14-0800 [-] releaseLocks(<BuildSlave 'builder', current
builder
s: DAVeOrders-continuous,trunk-continuous,rc34-continuous>): []
2011-01-31 11:08:14-0800 [ESMTPSender,client] Unhandled error in Deferred:
2011-01-31 11:08:14-0800 [ESMTPSender,client] Unhandled Error
Traceback (most recent call last):
Failure: twisted.mail.smtp.TLSRequiredError: 502 Server does not
support
secure communication via TLS / SSL
<<< 220 mx.google.com ESMTP g27sm3135774yhc.8
>>> EHLO JIRA.???
<<< 250-mx.google.com at your service, [206.80.15.66]
<<< 250-SIZE 35651584
<<< 250-8BITMIME
<<< 250-STARTTLS
<<< 250 ENHANCEDSTATUSCODES
2011-01-31 11:08:14-0800 [ESMTPSender,client] Unhandled error in Deferred:
2011-01-31 11:08:14-0800 [ESMTPSender,client] Unhandled Error
Traceback (most recent call last):
Failure: twisted.mail.smtp.TLSRequiredError: 502 Server does not
support
secure communication via TLS / SSL
<<< 250-SIZE 35651584
<<< 250-8BITMIME
<<< 250-STARTTLS
<<< 250 ENHANCEDSTATUSCODES
2011-01-31 11:08:14-0800 [ESMTPSender,client] Stopping factory
<twisted.mail.smt
p.ESMTPSenderFactory instance at 0x045B5C38>
2011-01-31 11:08:14-0800 [ESMTPSender,client] Stopping factory
<twisted.mail.smt
p.ESMTPSenderFactory instance at 0x03DE0918>
2011-01-31 11:08:59-0800 [-] SVNPoller polling I???
}}}
master.cfg:
{{{
c['status'].append(mail.MailNotifier(fromaddr="buildbot@???.com",
useTls=True,
relayhost="smtp.gmail.com",
smtpPort=587,
smtpUser="XXX",
smtpPassword="XXXX",
sendToInterestedUsers=False,
extraRecipients=["plm@???.com",
"lee@???.com", "maria@???.com"],
))
c['status'].append(mail.MailNotifier(fromaddr="buildbot@???.com",
useTls=True,
relayhost="smtp.gmail.com",
smtpPort=587,
smtpUser="XXX",
smtpPassword="XXXXX",
sendToInterestedUsers=True,
extraRecipients=["plm@???.com"],
builders=["DAVeOrders-continuous"]
))
}}}
and gmail itself supports tls:
{{{
pro:~ philippe$ telnet smtp.gmail.com 587
Trying 74.125.53.109...
Connected to gmail-smtp-msa.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP v19sm28705867wfh.12
ehlo host giggity.com
250-mx.google.com at your service, [154.5.47.18]
250-SIZE 35651584
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
STARTTLS
220 2.0.0 Ready to start TLS
Connection closed by foreign host.
pro:~ philippe$
}}}
--
Ticket URL: <http://trac.buildbot.net/ticket/1786>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list