[
https://issues.apache.org/jira/browse/AIRAVATA-3076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16858632#comment-16858632
]
Marcus Christie edited comment on AIRAVATA-3076 at 6/7/19 1:30 PM:
-------------------------------------------------------------------
Here's the error:
{noformat:title=/var/log/httpd/django-cyberwater.error.log}
[Fri Jun 07 06:34:14.635027 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] Email verification processing failed!
[Fri Jun 07 06:34:14.635052 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] Traceback (most recent call last):
[Fri Jun 07 06:34:14.635057 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/airavata-django-portal/django_airavata/apps/auth/views.py",
line 222, in verify_email
[Fri Jun 07 06:34:14.635062 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] msg.send()
[Fri Jun 07 06:34:14.635066 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/message.py",
line 348, in send
[Fri Jun 07 06:34:14.635070 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] return
self.get_connection(fail_silently).send_messages([self])
[Fri Jun 07 06:34:14.635074 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/backends/smtp.py",
line 111, in send_messages
[Fri Jun 07 06:34:14.635078 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] sent = self._send(message)
[Fri Jun 07 06:34:14.635081 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/backends/smtp.py",
line 127, in _send
[Fri Jun 07 06:34:14.635085 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] self.connection.sendmail(from_email, recipients,
message.as_bytes(linesep='\\r\\n'))
[Fri Jun 07 06:34:14.635089 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File "/usr/lib64/python3.4/smtplib.py", line 797, in
sendmail
[Fri Jun 07 06:34:14.635092 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] raise SMTPRecipientsRefused(senderrs)
[Fri Jun 07 06:34:14.635098 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] smtplib.SMTPRecipientsRefused: {'=?utf-8?q?g?=': (553,
b'5.1.2 The recipient address <=?utf-8?q?g?=> is not a valid RFC-5321 address.
x22sm393672ioh.87 - gsmtp')}
{noformat}
The problem I think is that settings.ADMINS isn't a list of proper tuples
([ADMINS|https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-ADMINS]).
was (Author: marcuschristie):
Here's the error:
{noformat}
[Fri Jun 07 06:34:14.635027 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] Email verification processing failed!
[Fri Jun 07 06:34:14.635052 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] Traceback (most recent call last):
[Fri Jun 07 06:34:14.635057 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/airavata-django-portal/django_airavata/apps/auth/views.py",
line 222, in verify_email
[Fri Jun 07 06:34:14.635062 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] msg.send()
[Fri Jun 07 06:34:14.635066 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/message.py",
line 348, in send
[Fri Jun 07 06:34:14.635070 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] return
self.get_connection(fail_silently).send_messages([self])
[Fri Jun 07 06:34:14.635074 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/backends/smtp.py",
line 111, in send_messages
[Fri Jun 07 06:34:14.635078 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] sent = self._send(message)
[Fri Jun 07 06:34:14.635081 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File
"/data/portals/django-pfec-hydro/venv/lib64/python3.4/site-packages/django/core/mail/backends/smtp.py",
line 127, in _send
[Fri Jun 07 06:34:14.635085 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] self.connection.sendmail(from_email, recipients,
message.as_bytes(linesep='\\r\\n'))
[Fri Jun 07 06:34:14.635089 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] File "/usr/lib64/python3.4/smtplib.py", line 797, in
sendmail
[Fri Jun 07 06:34:14.635092 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] raise SMTPRecipientsRefused(senderrs)
[Fri Jun 07 06:34:14.635098 2019] [wsgi:error] [pid 32500] [remote
70.95.131.81:56094] smtplib.SMTPRecipientsRefused: {'=?utf-8?q?g?=': (553,
b'5.1.2 The recipient address <=?utf-8?q?g?=> is not a valid RFC-5321 address.
x22sm393672ioh.87 - gsmtp')}
{noformat}
The problem I think is that settings.ADMINS isn't a list of proper tuples
([ADMINS|https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-ADMINS]).
> Email verification link fails in django portal
> -----------------------------------------------
>
> Key: AIRAVATA-3076
> URL: https://issues.apache.org/jira/browse/AIRAVATA-3076
> Project: Airavata
> Issue Type: Bug
> Components: Django Portal
> Affects Versions: 0.18
> Environment: https://cyberwater.scigap.org
> Reporter: Eroma
> Assignee: Marcus Christie
> Priority: Major
>
> 1. Created a new local user account and got the email verification link to
> the provided gmail account.
> 2. Clicked the link and getting "Email verification failed. Please try
> clicking the email verification link again later."
> 3. Clicked the same link again and then got "Your account has already been
> successfully created. Please log in now."
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)