Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /rest-auth/registration/
- SMTPServerDisconnected at /rest-auth/registration/
- Connection unexpectedly closed: [Errno 104] Connection reset by peer
- EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
- EMAIL_USE_TLS = True
- EMAIL_HOST = 'smtp.beget.ru'
- EMAIL_PORT = 2525
- EMAIL_HOST_USER = 'order@roseonly.ru'
- EMAIL_HOST_PASSWORD = 'password'
- SECURE_SSL_REDIRECT = 'true'
- os.environ['wsgi.url_scheme'] = 'https'
- SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTOCOL', 'https')
- Internal Server Error: /rest-auth/registration/
- Traceback (most recent call last):
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
- response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
- return view_func(*args, **kwargs)
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
- return self.dispatch(request, *args, **kwargs)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/rest_framework/views.py", line 456, in dispatch
- response = self.handle_exception(exc)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/rest_framework/views.py", line 453, in dispatch
- response = handler(request, *args, **kwargs)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/rest_framework/generics.py", line 190, in post
- return self.create(request, *args, **kwargs)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/rest_auth/registration/views.py", line 50, in create
- user = self.perform_create(serializer)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/rest_auth/registration/views.py", line 64, in perform_create
- None)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/utils.py", line 183, in complete_signup
- signal_kwargs=signal_kwargs)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/utils.py", line 143, in perform_login
- send_email_confirmation(request, user, signup=signup)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/utils.py", line 310, in send_email_confirmation
- signup=signup)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/models.py", line 62, in send_confirmation
- confirmation.send(request, signup=signup)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/models.py", line 172, in send
- get_adapter(request).send_confirmation_mail(request, self, signup)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/adapter.py", line 420, in send_confirmation_mail
- ctx)
- File "/home/k/klimaku9/.local/lib/python2.7/site-packages/allauth/account/adapter.py", line 141, in send_mail
- msg.send()
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/core/mail/message.py", line 303, in send
- return self.get_connection(fail_silently).send_messages([self])
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 107, in send_messages
- sent = self._send(message)
- File "/home/k/klimaku9/justforfree.ru/public_html/venv/lib/python2.7/site-packages/django/core/mail/backends/smtp.py", line 123, in _send
- self.connection.sendmail(from_email, recipients, message.as_bytes(linesep='rn'))
- File "/usr/lib/python2.7/smtplib.py", line 728, in sendmail
- self.rset()
- File "/usr/lib/python2.7/smtplib.py", line 467, in rset
- return self.docmd("rset")
- File "/usr/lib/python2.7/smtplib.py", line 392, in docmd
- return self.getreply()
- File "/usr/lib/python2.7/smtplib.py", line 363, in getreply
- + str(e))
- SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement