Skip to content

Instantly share code, notes, and snippets.

@calvin-puram
Last active December 11, 2021 15:12
Show Gist options
  • Select an option

  • Save calvin-puram/34040363236b7672ae33b6f1c640b3ed to your computer and use it in GitHub Desktop.

Select an option

Save calvin-puram/34040363236b7672ae33b6f1c640b3ed to your computer and use it in GitHub Desktop.
[2021-12-11 15:01:48,342] ERROR in app: Exception on /register [POST]
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ubuntu/naut-backend/flaskr/auth.py", line 97, in register
comfirm_email(user)
File "/home/ubuntu/naut-backend/flaskr/auth.py", line 113, in comfirm_email
mail.send(msg)
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask_mail.py", line 491, in send
with self.connect() as connection:
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask_mail.py", line 144, in __enter__
self.host = self.configure_host()
File "/home/ubuntu/.local/lib/python3.8/site-packages/flask_mail.py", line 165, in configure_host
host.login(self.mail.username, self.mail.password)
File "/usr/lib/python3.8/smtplib.py", line 743, in login
raise last_exception
File "/usr/lib/python3.8/smtplib.py", line 732, in login
(code, resp) = self.auth(
File "/usr/lib/python3.8/smtplib.py", line 655, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs\n5.7.14 HnPi7SCImDR_ybf0ST4MhOk5wgWLt9AoifT_it080AxVBh_gIXiqoO\n5.7.14 PyHM0_JSkHZWBw8Q_tNRoElfVcx2Xodk8zp67pu4cMi8FGlBARtZ5UrIRcUrTPQ1>\n5.7.14 Pleasur web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 s20sm3910060iog.25 - g
S[2021-12-11 15:08:50 +0000] [92433] [INFO] Handling signal: winch
[2021-12-11 15:08:51 +0000] [92433] [INFO] Handling signal: winch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment