| Issue 872: | Provide better errors for mail notification failure | |
| 3 people starred this issue and may be notified of changes. | Back to list |
We're using alpha2. I think it has something to do with emailing. I didn't change our email settings and every time we hit publish, it says: "Error: undefined 500 OK Please try again later. If this continues to happen, please report it to your administrator." in an orange box at the top of the screen. I hit publish again, and everything looks normal, except the email didn't get sent off.
Comment
1
by
jeffl...@gmail.com,
Feb 9, 2009
,
Feb 9, 2009
I'll need some kind of backtrace to diagnose this. Can you turn on DEBUG = True and see what error it comes out with?
Status: NeedInfo
,
Feb 9, 2009
We're already trying to figure out the issue. Here's what we have so far. Python can't open a socket connection on localhost:25 because our "server" is blocked on port 25. We're running it on a developer PC right now until our server is set up. We made a change to email.py to unblock a port using a registry hack way back when we started using reviewboard. We have to do this because once we change the registry to modify the domain profile, it gets reset to default after we use it once. Anyway, we've upgraded several times since then, and this is the first time the problem has resurfaced. Not sure why we haven't seen the regression before this. Perhaps you could make the error message a bit more verbose, ie "Email failed. Are you sure your mail port isn't blocked?"
,
Feb 10, 2009
We added the port unblocking script back in and it's working fine again.
,
Feb 26, 2009
We should certainly do this. This might slip to 1.5, though.
Status: Confirmed
Labels: -Priority-Medium Priority-Low Milestone-Release1.0 BetterErrors Component-EMail
,
Feb 26, 2009
(No comment was entered for this change.)
Summary: Provide better errors for mail notification failure
,
Mar 27, 2009
I do this with middleware catching the smtplib exception: http://trac.tools.ietf.org/tools/ietfdb/browser/branch/2.00/ietf/middleware.py http://trac.tools.ietf.org/tools/ietfdb/browser/branch/2.00/ietf/templates/email_failed.html
,
May 1, 2009
Going to push this out to 1.1.
Labels: -Milestone-Release1.0 Milestone-Release1.1
,
Oct 7, 2009
Issue 1336 has been merged into this issue.
,
Dec 20, 2009
(No comment was entered for this change.)
Labels: Milestone-Release1.5
,
Mar 5, 2010
(No comment was entered for this change.)
Status: PendingReview
Owner: chipx86
,
Mar 5, 2010
Fixed on master (d2c96d9).
Status: Fixed
|
|
| ► Sign in to add a comment |