Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SMTP Auth Failing as Anonymous

Hi there, 

Trying to config Jira to send SMTP via O365 (Exchange) - Can verify that the connection to the server is successful, but when Jira tries to send test mail, it's being rejected by the server, because it says Jira's trying to send anonymous: 


DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.office365.com", port 587, isSSL false
220 CY4PR18CA0032.outlook.office365.com Microsoft ESMTP MAIL Service ready at Fri, 19 Jan 2018 05:52:01 +0000
DEBUG SMTP: connected to host "smtp.office365.com", port: 587

its showing user=jira, password as <null> - which is NOT what's setup in the SMTP config.

Notification schema is set to default, which is suppose to take the creds entered in the SMTP setup dialogue. doesn't seem to be happening. 

I've tested the correct account with O365 and it seems to be working fine. 
Could use a little help. :-)

TIA, 
JC

6 answers

0 votes
Moga Atlassian Team Feb 14, 2018

Hi John,

From the following based on what you have posted here:

DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=jira, password=<null>

It seems like the password is null as you have mentioned. Something might have gone wrong with the configuration. What if you just delete the Outgoing Mail configuration on JIRA and reconfigure it again? Do you have the same error?

Cheers,
Moga

Similar problem here:

DEBUG SMTP: protocolConnect returning false, host=smtp.gmail.com, user=jira, password=<null>

 

I have configured the smtp password, and I have also tried deleting then recreating.

But still getting this password null problem.

I am getting the same problem and have also recreated my Outgoing Mail configuration. Does anybody have any ideas?

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=my.mail.host, user=jira, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "my.mail.host", port 465, isSSL true

Same here, any solutions?

DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: need username and password for authentication
DEBUG SMTP: protocolConnect returning false, host=smtp.office365.com, user=ALJIRA01$, password=<null>
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.office365.com", port 587, isSSL true
DEBUG SMTP: exception reading response, THROW:

In my case it was outbounding ports that was closed!

I have the same problem, someone have resolved it?

I have also the same issue and see no solution so far:

DEBUG SMTP: protocolConnect returning false, host=smtp.***.**, user=root, password=<null>

Why the username/password is not taken into account?

Thanks

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,138 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you