Django-allauth: "[Errno 61] Connection refused" when trying to reset password or verify email

Created on 21 Oct 2013  路  4Comments  路  Source: pennersr/django-allauth

Hi,

I am testing allauth through the "example.demo" app. Creating an account and signing in go well. However, when I attempt to:

  • reset a password
  • verify an email address
  • add an email address

I run into this error:

Exception Type: error
Exception Value: [Errno 61] Connection refused
Exception Location: /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py in create_connection, line 571

Is there something that I missed? Maybe an edit to settings.py?

Even on http://jug.gl/accounts/password/reset/, I couldn't test the "Reset my Password" functionality (nowhere to input the email address).

Thanks for your help!
dollydagr

Most helpful comment

You probably do not have a local SMTP server setup. See:

https://docs.djangoproject.com/en/dev/ref/settings/#email-host

I'll leave the ticket open as a reminder to fix jug.gl

All 4 comments

You probably do not have a local SMTP server setup. See:

https://docs.djangoproject.com/en/dev/ref/settings/#email-host

I'll leave the ticket open as a reminder to fix jug.gl

Of course! Thanks @pennersr!

Issue is still helping nearly six years later :)

@nkoronka Just put in your settings.py file
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'

Was this page helpful?
0 / 5 - 0 ratings