Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-6329

Crowd Mail Configuration page bug: after updating its settings, every subsequent test fails.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 6.1.5, 6.2.4, 6.3.1
    • 6.2.0, 6.1.4
    • Email system
    • None

      Issue Summary

      In Crowd version 6.2.0, there is an issue on the Mail Configuration page. After updating the settings, any further attempts to send a test email do not succeed. Despite this, the ability of Crowd to send emails remains unaffected.
      Instance Details

      Crowd Version: 6.2.0
      Previous Crowd Version: 5.3.1 (migration was performed from this version)
      SMTP Server Requirements: The server requires a username and password for authentication. Tests have been conducted with both encrypted and unencrypted connections.

      Investigation Done

      The issue has been replicated in a local environment, confirming that the problem is not isolated to a specific instance.

      Steps to Reproduce

      Loom video: https://www.loom.com/share/6e34f60964d949f19c2c76d7969f0512

      1. Install Crowd version 6.2.0.
      2. Navigate to the "Mail Configuration" page.
      3. Set up the SMTP settings for the first time.
      4. Click "Send Test Email" to verify the setup. The email should be sent successfully.
      5. Click the "Update" button at the bottom of the "Mail Configuration" page.
      6. Attempt to "Send Test Email" again. The test email will fail to send.
      7. Navigate away from the "Mail Configuration" page to another page within the application.
      8. Return to the "Mail Configuration" page.
      9. Attempt to "Send Test Email" once more. The test email will fail again.

      Actual Results

      After updating the SMTP settings on the "Mail Configuration" page, any attempt to send a test email fails. This failure persists even after navigating away from and returning to the page.

      Expected Results

      The test email should successfully send every time the "Send Test Email" button is clicked, regardless of whether the SMTP settings have been updated or not. This functionality is observed in Crowd version 5.3.6, where the test email consistently works after updates.

      Workaround

      Its possible to use a SMTP relay without authentication to circumvent this issue.

      Additional Notes

      The issue seems to be directly linked to the update action on the "Mail Configuration" page.
      The problem persists with both encrypted and unencrypted SMTP connections.
      This does not affect the CROWD capability to send e-mails whatsoever.
      This behavior was not present in the previous version (5.3.1, 5.3.6), indicating a potential regression in version 6.2.0.

            [CWD-6329] Crowd Mail Configuration page bug: after updating its settings, every subsequent test fails.

            Pawel Cieszko made changes -
            Fix Version/s New: 6.2.4 [ 112196 ]
            Fix Version/s New: 6.1.5 [ 111593 ]
            Pawel Cieszko made changes -
            Link New: This issue relates to CWD-6364 [ CWD-6364 ]
            Michal Samujlo made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Michal Samujlo made changes -
            Fix Version/s Original: 6.2.4 [ 112196 ]
            Fix Version/s Original: 6.1.5 [ 111593 ]
            Pawel Cieszko made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Pawel Cieszko made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            Pawel Cieszko made changes -
            Fix Version/s New: 6.3.1 [ 112997 ]
            Fix Version/s New: 6.2.4 [ 112196 ]
            Fix Version/s New: 6.1.5 [ 111593 ]

            Hello, 

            It seems the issue is related to https://jira.atlassian.com/browse/CWD-6319

            The fixed versions will be published soon.

            Best regards,

            Paweł Cieszko

            Pawel Cieszko added a comment - Hello,  It seems the issue is related to https://jira.atlassian.com/browse/CWD-6319 The fixed versions will be published soon. Best regards, Paweł Cieszko

            Ravi added a comment -

            I'm on Crowd 6.2.3 and ran into this issue today. Password reset emails go through fine, but that 'Send test email' button logs this error:

            http-nio-8095-exec-8 ERROR [manager.mail.validator.MailServerValidator] Failed to connect to SMTP server
            com.atlassian.crowd.manager.mail.MailSendException: javax.mail.AuthenticationFailedException: 535 Authentication Credentials Invalid 

            Ravi added a comment - I'm on Crowd 6.2.3 and ran into this issue today. Password reset emails go through fine, but that 'Send test email' button logs this error: http-nio-8095-exec-8 ERROR [manager.mail.validator.MailServerValidator] Failed to connect to SMTP server com.atlassian.crowd.manager.mail.MailSendException: javax.mail.AuthenticationFailedException: 535 Authentication Credentials Invalid
            SET Analytics Bot made changes -
            UIS Original: 8 New: 4

              63999e271dab Pawel Cieszko
              175a6044de5f Tiago T. (Inactive)
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: