Closed Bug 615161 Opened 14 years ago Closed 13 years ago

l10n.mozillalabs.com throws SMTPServerDisconnected when trying to register a new account.

Categories

(Infrastructure & Operations Graveyard :: WebOps: Labs, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Unassigned)

References

()

Details

(see bug 571122 for set-up)

Traceback:
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/django/core/handlers/base.py" in get_response
  100.                     response = callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.6/dist-packages/userprofile-0.7_r422_correct_validation-py2.6.egg/userprofile/views.py" in register
  397.                 EmailValidation.objects.add(user=newuser, email=newuser.email)
File "/usr/local/lib/python2.6/dist-packages/userprofile-0.7_r422_correct_validation-py2.6.egg/userprofile/models.py" in add
  151.         send_mail(subject=subject, message=body, from_email=None, recipient_list=[email])
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/django/core/mail/__init__.py" in send_mail
  61.                         connection=connection).send()
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/django/core/mail/message.py" in send
  175.         return self.get_connection(fail_silently).send_messages([self])
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/django/core/mail/backends/smtp.py" in send_messages
  78.             new_conn_created = self.open()
File "/usr/local/lib/python2.6/dist-packages/Django-1.2.3-py2.6.egg/django/core/mail/backends/smtp.py" in open
  43.                 self.connection.ehlo()
File "/usr/lib/python2.6/smtplib.py" in ehlo
  382.         self.putcmd(self.ehlo_msg, name or self.local_hostname)
File "/usr/lib/python2.6/smtplib.py" in putcmd
  318.         self.send(str)
File "/usr/lib/python2.6/smtplib.py" in send
  310.             raise SMTPServerDisconnected('please run connect() first')

Exception Type: SMTPServerDisconnected at /accounts/register/
Exception Value: please run connect() first
Assignee: server-ops → zandr
We don't actually have a mail relay for this cluster yet. I'll get one spun up.
Status: NEW → ASSIGNED
Mail is now being sent correctly, however the email contains a link to example.com, and I don't know where in the settings to fix this. grep fails me here.
Component: Server Operations → Server Operations: RelEng
QA Contact: mrz → zandr
This one isn't related to MoCo RelEng.
Yes, wrong crazy ServerOps queue. :)
Assignee: zandr → server-ops-labs
Component: Server Operations: RelEng → Server Operations: Labs
Any news on this.  It still sends the email validation emails with the link to example.com:

    http://example.com/accounts/email/validation/pCLG00Z....

If it's not in the settings, maybe you need to log in at /admin/sites/site/ and edit one of the objects there (there will be probably only one to choose).
hmm, the setting got lost after I wiped out SQL, but then I modified the Site object and somehow it didn't catch until I restarted apache for some reason.

Closing now.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.