AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure) Edited

We've noticed our email haven't been coming into our JIRA Cloud instance. I first of all checked the POP / IMAP Mail server we have setup to suck emails out of our GMail host using the 'Test Connection' button. It however failed with the 'AuthenticationFailedException: [AUTHENTICATIONFAILED] Invalid credentials (Failure)' error (see below).

I then thought someone must have changed the password so I logged in to the GMail website using the credentials but that was OK and let me in. 

I tried entering the password into the JIRA form again clicking 'Update' to save it regardless of the failed test connection but the emails remained unread in the inbox.

I followed the instructions I found on https://confluence.atlassian.com/jirakb/authenticationfailedexception-when-connecting-to-gmail-as-smtp-server-744723578.html but the account does not have 2 factor authentication and it does have "less secure access" enabled under the account.

Is there any way to further find out a more specific error, is this happening for other people or does it just impact our JIRA <--> GMail connection? It is difficult to tell which side of the interface is the problem.

Any help would be appreciated.image.png

 

1 answer

1 accepted

2 votes

Hi Simon,

If you are on Jira Server, were you able to get any further details from the Jira logs? 

Google also suggestions going to display unlock Captcha if those steps you already tried don't work.

Kind Regards,
Shannon

Hi Shannon,

Thanks for your suggestions, we're on on cloud hosting and I did try the 'display unlock Captcha' too.

We did get a burst of emails though yesterday, including many, many, many duplicates from single emails, but trying the test button now it still tells me that authentication failed.

Simon,

What if you change the username to the full email? Google suggests that here: Read Gmail messages on other email clients using IMAP

 

Kind Regards,
Shannon

Bingo!

Good find Shannon, worked a treat! Thanks for your help

(I've accepted the answer but it was the comment under the answer that was the solution)

Great :) Glad I could help.

No worries, the thread isn't too long so it should still help others in the future.

Take care and Kind Regards,
Shannon

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

140 views 1 17
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you