Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-41342

SMTP -test connection- button incorrectly gives username / password error.

      Summary:

      When trying to setup SMTP from Mailgun.org within JIRA, even if you enter the correct username and password the test connection button will return an error.

      If you ignore the error and add the SMTP server it will work fine.

      This is confusing for customers.

      Steps to Reproduce:

      • Add a custom SMTP server

      smtp.mailgun.org
      port: 25
      username / password in comment

      • press test connection

      Expected Results:

      Test connection successful message should be displayed.

      Actual Results:

      Red error message is thrown.

            [JRASERVER-41342] SMTP -test connection- button incorrectly gives username / password error.

            There is issue with 'Test connection' button in V 8.10.0 that after test connection (initial one) the 'change password' is still on and it overwrites the password for which connection test was made. Hence test connection goes successful and while saving, there is no password and hence incorrect configuration is saved.

            radhika.punchepady added a comment - There is issue with 'Test connection' button in V 8.10.0 that after test connection (initial one) the 'change password' is still on and it overwrites the password for which connection test was made. Hence test connection goes successful and while saving, there is no password and hence incorrect configuration is saved.

            askar added a comment -

            Please use

            SMTP Port:587

            and it will work.

            askar added a comment - Please use SMTP Port:587 and it will work.

            AWS, EC2, Google Cloud platforms direct users to third-party email services such as Mail Gun. Erroneous error messages like these suggest that the software is incompatible or difficult to configure and may lead customers to seek alternative solutions. I'd rate this bug as high and fix it soon.

            Robert Jacobs added a comment - AWS, EC2, Google Cloud platforms direct users to third-party email services such as Mail Gun. Erroneous error messages like these suggest that the software is incompatible or difficult to configure and may lead customers to seek alternative solutions. I'd rate this bug as high and fix it soon.

            still not fixed

            li0nsar3c00l added a comment - still not fixed

            ThomasH added a comment -

            It's still not fixed. Just tried it.

            ThomasH added a comment - It's still not fixed. Just tried it.

            This issue is actual since Jira 6 I can't believe it's not yet fixed.

            Nikola Majksner added a comment - This issue is actual since Jira 6 I can't believe it's not yet fixed.

            Same

            Nicolò Zanetti added a comment - Same

            Same issue

            Etienne Lachance added a comment - Same issue

            安坚实 added a comment -

            I face the same problem too.

            After I pressed "Test Connection", it says "Username or password is incorrect."

            And in the $JIRA_HOME/atlassian-jira.log :
            2015-06-19 10:52:02,862 http-bio-9510-exec-15 ERROR anonymous 652x108x1 1ifwxj7 218.73.114.88 /secure/VerifySmtpServerConnection!setup.jspa [plugins.mail.webwork.VerifyMailServer] Unable to authenticate to smtp.mailgun.org

            安坚实 added a comment - I face the same problem too. After I pressed "Test Connection", it says "Username or password is incorrect." And in the $JIRA_HOME/atlassian-jira.log : 2015-06-19 10:52:02,862 http-bio-9510-exec-15 ERROR anonymous 652x108x1 1ifwxj7 218.73.114.88 /secure/VerifySmtpServerConnection!setup.jspa [plugins.mail.webwork.VerifyMailServer] Unable to authenticate to smtp.mailgun.org

            Hey ohernandez@atlassian.com,

            Attached the error message, just added the config to JIRA 6.4.6, send myself a test mail, even with the error on Test Connection the test mail went through afterwards.

            Ibrahim (Inactive) added a comment - Hey ohernandez@atlassian.com , Attached the error message, just added the config to JIRA 6.4.6, send myself a test mail, even with the error on Test Connection the test mail went through afterwards.

              Unassigned Unassigned
              ilabras Ibrahim (Inactive)
              Affected customers:
              17 This affects my team
              Watchers:
              20 Start watching this issue

                Created:
                Updated: