I have seen this error now on 3 projects and two OS (Mac & Linux), but
only with the dev server.
The view will begin the response and then hang for a long time (30+
seconds), then this error is generated and it
continues normally. Usually it occurs on a page that either parses
or uploads files. None of these pages send any mail. Anyone know
why smtp is trying to connect and how to fix it?
Traceback (most recent call last):
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/servers/
basehttp.py", line 279, in run
self.result = application(self.environ, self.start_response)
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/servers/
basehttp.py", line 651, in __call__
return self.application(environ, start_response)
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/handlers/
wsgi.py", line 245, in __call__
response = middleware_method(request, response)
File "/Users/adriannye/ups_mobile/trunk/libs/django/middleware/
common.py", line 96, in process_response
% (referer, request.get_full_path(), ua, ip))
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/mail.py",
line 426, in mail_managers
).send(fail_silently=fail_silently)
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/mail.py",
line 266, in send
return self.get_connection(fail_silently).send_messages([self])
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/mail.py",
line 166, in send_messages
new_conn_created = self.open()
File "/Users/adriannye/ups_mobile/trunk/libs/django/core/mail.py",
line 131, in open
local_hostname=DNS_NAME.get_fqdn())
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/smtplib.py", line 244, in __init__
(code, msg) = self.connect(host, port)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/smtplib.py", line 310, in connect
raise socket.error, msg
error: (60, 'Operation timed out')
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.