Hi Tom,

Just to check, are you by any chance using Google's per-app passwords?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Sat, Mar 22, 2014 at 11:02 AM, Tom Moore <tommoore3...@gmail.com> wrote:

> Again, the use of this version is by choice for a class.
>
> ok, got the svn issues figured out.   Now I'm on to an email issue.
>
> I tried to configure the smtp server to use gmail's smtp settings.  I used
> smtp.gmail.com and port 465.  I set use TLS authentication.  The username
> and email are valid.  These credentials work on this same server with
> Bugzilla correctly.   However, we aren't seeing any emails.   We have "send
> email" turned on for all options as well.   In the apache logs, I see that
> the connection unexpectedly closed, I also see an error about a file not
> being able to be read.  In the debug log I see that the connection
> "unexected collapsed".   Also while the send options are turned on, when
> running an operation that would send email, the program hangs.
>
> logs below, usernames changed.
>
> Apache log fragment
> [Sat Mar 22 16:23:55 2014] [error] ERROR:root:Error sending e-mail
> notification with subject 'Review Requ
> est 9: testme' on behalf of 'u...@gmail.com' to '"User" <u...@gmail.com>,
> u...@gmail.com': Connection unexpectedly closed
> [Sat Mar 22 16:23:55 2014] [error] Traceback (most recent call last):
> [Sat Mar 22 16:23:55 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/notifications/email.py",
> line 273, in send_review_mail
> [Sat Mar 22 16:23:55 2014] [error]     message.send()
> [Sat Mar 22 16:23:55 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/message.py",
> line 274, in send
> [Sat Mar 22 16:23:55 2014] [error]     return
> self.get_connection(fail_silently).send_messages([self])
> [Sat Mar 22 16:23:55 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/backends/smtp.py",
> line 87, in send_messages
> [Sat Mar 22 16:23:55 2014] [error]     new_conn_created = self.open()
> [Sat Mar 22 16:23:55 2014] [error]   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/backends/smtp.py",
> line 48, in open
> [Sat Mar 22 16:23:55 2014] [error]     local_hostname=DNS_NAME.get_fqdn())
> [Sat Mar 22 16:23:55 2014] [error]   File "/usr/lib/python2.7/smtplib.py",
> line 249, in __init__
> [Sat Mar 22 16:23:55 2014] [error]     (code, msg) = self.connect(host,
> port)
> [Sat Mar 22 16:23:55 2014] [error]   File "/usr/lib/python2.7/smtplib.py",
> line 310, in connect
> [Sat Mar 22 16:23:55 2014] [error]     (code, msg) = self.getreply()
> [Sat Mar 22 16:23:55 2014] [error]   File "/usr/lib/python2.7/smtplib.py",
> line 361, in getreply
> [Sat Mar 22 16:23:55 2014] [error]     raise
> SMTPServerDisconnected("Connection unexpectedly closed")
> [Sat Mar 22 16:23:55 2014] [error] SMTPServerDisconnected: Connection
> unexpectedly closed
> Error opening file for reading: Permission denied
>
>
> I also turned on the logs debug mode.  here is the log
> 2014-03-22 16:23:55,569 - ERROR -  - Error sending e-mail notification
> with subject 'Re
> view Request 9: testme' on behalf of 'u...@gmail.com' to '"user" <
> u...@gmail.com>,u...@gmail.com': Connection unexpectedly closed
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0beta3-py2.7.egg/reviewboard/notifications/email.py",
> line 273, in send_review_mail
>     message.send()
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/message.py",
> line 274, in send
>     return self.get_connection(fail_silently).send_messages([self])
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/backends/smtp.py",
> line 87, in send_messages
>     new_conn_created = self.open()
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.6.2-py2.7.egg/django/core/mail/backends/smtp.py",
> line 48, in open
>     local_hostname=DNS_NAME.get_fqdn())
>   File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
>     (code, msg) = self.connect(host, port)
>   File "/usr/lib/python2.7/smtplib.py", line 310, in connect
>     (code, msg) = self.getreply()
>   File "/usr/lib/python2.7/smtplib.py", line 361, in getreply
>     raise SMTPServerDisconnected("Connection unexpectedly closed")
> SMTPServerDisconnected: Connection unexpectedly closed
>
>
>  --
> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
> ---
> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
> ---
> Happy user? Let us know at http://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to