Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2504

User registration is no longer working from tvb-demo app

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
    • Environment:
      tvb demo server
    • Epic Link:
    • Sprint:
      TVB release 2.0
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      I am using the following emails related code:

      server = smtplib.SMTP('mail.thevirtualbrain.org', 587)
      server.ehlo()
      server.starttls()
      server.ehlo()
      server.login('tvb_appserver', ‘xxx')
      server.sendmail(address_from, address_to, email.as_string())
      server.quit()
      

      When trying to send emails I get this error:

      2019-08-12 15:41:41,494 - ERROR - tvb.interfaces.web.controllers.users_controller - (550, 'Verification failed for <donotreply@thevirtualbrain.org>\nUnrouteable address\nSender did not verify', 'donotreply@thevirtualbrain.org')
      Traceback (most recent call last):
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/interfaces/web/controllers/users_controller.py", line 226, in register
          okmessage = self._create_user(**data)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/interfaces/web/controllers/users_controller.py", line 391, in _create_user
          return self.user_service.create_user(email_msg=email_msg, validated=validated, **data)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/user_service.py", line 141, in create_user
          raise UsernameException(str(excep))
      UsernameException: (550, 'Verification failed for <donotreply@thevirtualbrain.org>\nUnrouteable address\nSender did not verify', 'donotreply@thevirtualbrain.org’)
      

      The exact same code used to work in the past.

      Perhaps we should create donotreply@thevirtualbrain.org address.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              lia.domide Lia Domide
              Reporter:
              lia.domide Lia Domide
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes Time Not Required
                  1h 30m