Closed Bug 983593 Opened 11 years ago Closed 11 years ago

MDN: developer-celery1 unable to connect to SMTP?

Categories

(Infrastructure & Operations Graveyard :: WebOps: Community Platform, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: groovecoder, Assigned: bburton)

Details

Our page-moving celery tasks are unable to connect to the SMTP server? We consistently get these error emails from developer-celery1: Subject: [mdn] [celery@developer-celery1.webapp.scl3.mozilla.com] Error: Task wiki.tasks.move_page (111b87db-8532-4467-a51a-578a39ddeb73): error(110, 'Connection timed out') Task wiki.tasks.move_page with id 111b87db-8532-4467-a51a-578a39ddeb73 raised exception: "error(110, 'Connection timed out')" Task was called with args: ('en-US', u'Web/API/CSSStyleRule/style', u'Web/API/CSSStyleRule.style', u'<user>@<domain>') kwargs: {}. The contents of the full traceback was: Traceback (most recent call last): File "/data/www/developer.mozilla.org/kuma/vendor/packages/celery/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/db/transaction.py", line 224, in inner return func(*args, **kwargs) File "/data/www/developer.mozilla.org/kuma/apps/wiki/tasks.py", line 159, in move_page [user.email]) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/mail/__init__.py", line 61, in send_mail connection=connection).send() File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/mail/message.py", line 248, in send return self.get_connection(fail_silently).send_messages([self]) File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/mail/backends/smtp.py", line 85, in send_messages new_conn_created = self.open() File "/data/www/developer.mozilla.org/kuma/vendor/src/django/django/core/mail/backends/smtp.py", line 48, in open local_hostname=DNS_NAME.get_fqdn()) File "/usr/lib64/python2.6/smtplib.py", line 239, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib64/python2.6/smtplib.py", line 295, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib64/python2.6/smtplib.py", line 273, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib64/python2.6/socket.py", line 567, in create_connection raise error, msg error: [Errno 110] Connection timed out
Assignee: server-ops-webops → bburton
I've filed bug 983634 to get socketlabs' new IP for smtp.socketlabs.com added to the outbound network ACLs
Status: NEW → ASSIGNED
Working now bburton@developer-celery1: ~ $ telnet smtp.socketlabs.com 25 [9:35:46] Trying 142.0.180.14... Connected to smtp.socketlabs.com. Escape character is '^]'. 220 r3.h.in.socketlabs.com Hurricane Server ESMTP service ready. ^C ^]quit
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.