I get an error [Errno 111] Connection refused when I invite member

887 views
Skip to first unread message

richar...@gmail.com

unread,
Nov 24, 2015, 10:04:25 PM11/24/15
to sentry
I get an error [Errno 111] Connection refused when I invite member and I can't resent invite and delete that member
help me

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/sentry/models/organizationmember.py", line 182, in send_invite_email

    msg.send([self.get_email()])

  File "/usr/local/lib/python2.7/dist-packages/sentry/utils/email.py", line 189, in send

    self.send_all(messages, fail_silently=fail_silently)

  File "/usr/local/lib/python2.7/dist-packages/sentry/utils/email.py", line 194, in send_all

    return connection.send_messages(messages)

  File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 87, in send_messages

    new_conn_created = self.open()

  File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 48, in open

    local_hostname=DNS_NAME.get_fqdn())

  File "/usr/lib/python2.7/smtplib.py", line 256, in __init__

    (code, msg) = self.connect(host, port)

  File "/usr/lib/python2.7/smtplib.py", line 316, in connect

    self.sock = self._get_socket(host, port, self.timeout)

  File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket

    return socket.create_connection((host, port), timeout)

  File "/usr/lib/python2.7/socket.py", line 571, in create_connection

    raise err

error: [Errno 111] Connection refused

[ERROR] [Errno 111] Connection refused

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/sentry/models/organizationmember.py", line 182, in send_invite_email

    msg.send([self.get_email()])

  File "/usr/local/lib/python2.7/dist-packages/sentry/utils/email.py", line 189, in send

    self.send_all(messages, fail_silently=fail_silently)

  File "/usr/local/lib/python2.7/dist-packages/sentry/utils/email.py", line 194, in send_all

    return connection.send_messages(messages)

  File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 87, in send_messages

    new_conn_created = self.open()

  File "/usr/local/lib/python2.7/dist-packages/django/core/mail/backends/smtp.py", line 48, in open

    local_hostname=DNS_NAME.get_fqdn())

  File "/usr/lib/python2.7/smtplib.py", line 256, in __init__

    (code, msg) = self.connect(host, port)

  File "/usr/lib/python2.7/smtplib.py", line 316, in connect

    self.sock = self._get_socket(host, port, self.timeout)

  File "/usr/lib/python2.7/smtplib.py", line 291, in _get_socket

    return socket.create_connection((host, port), timeout)

  File "/usr/lib/python2.7/socket.py", line 571, in create_connection

    raise err

error: [Errno 111] Connection refused

David Cramer

unread,
Nov 25, 2015, 2:30:10 AM11/25/15
to sentry
This error is saying "the SMTP server you have configured is reporting connection refused". You need to configure outbound email as per the documentation.

richar...@gmail.com

unread,
Nov 25, 2015, 2:34:23 AM11/25/15
to sentry
I follow the document to install the sentry,every step is same to document

在 2015年11月25日星期三 UTC+8下午3:30:10,David Cramer写道:

David Cramer

unread,
Nov 25, 2015, 2:36:08 AM11/25/15
to gets...@googlegroups.com, richar...@gmail.com
The document does not go into details about setting up an SMTP server or many of the services you will need. In this case it is saying “the SMTP server is not running, or does not allow connections”. I’ve told you this several times now. You need to configure it on your own it is outside of the scope of Sentry to tell you how to do this.
--
You received this message because you are subscribed to the Google Groups "sentry" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getsentry+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

richar...@gmail.com

unread,
Nov 25, 2015, 2:43:17 AM11/25/15
to sentry

but I can sent email yesterday,the config not change,,and I install sentry at another computer,it's not work


EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'


EMAIL_HOST = 'localhost'

EMAIL_HOST_PASSWORD = ''

EMAIL_HOST_USER = ''

EMAIL_PORT = 25

EMAIL_USE_TLS = False


在 2015年11月25日星期三 UTC+8下午3:36:08,David Cramer写道:

David Cramer

unread,
Nov 25, 2015, 2:44:21 AM11/25/15
to gets...@googlegroups.com, richar...@gmail.com
I can’t spell it out any more clearly, sorry. The SMTP server is not working.
Reply all
Reply to author
Forward
0 new messages