This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

[SOLUTION] : Thunderbird and Gmail authentication

  • 2
  • 0
  • 2 views
  • Nzaghachi ikpeazụ nke nkaku

more options

Hi - I am posting a solution to a frustrating problem that I had a few days back and how I solved it.

This is one a bit technical (read: hard to find) so please bear with me.

Problem: Authentication failure while connecting to imap.gmail.com

Assumption: I am assuming that you have put the settings of the server exactly how Gmail requires you to give in Thunderbird.

I am also assuming that the authentication dialog comes up and you are able to allow Thunderbird an access on the Google authentication page and yet Thunderbird responds with authentication failure.

Also, I am assuming that there's no antivirus/firewall blocking communication with Gmail or Thunderbird app itself.


Solution: Check of you have IIS or Apache or anything else running on port 80 - basically - if typing http://localhost on the browser shows something.

You see, after authentication from Google, Thunderbird tries to go back to http://localhost - and it expects to find itself BUT it finds your already running web server itself.

I resolved my problem by ensuring no webserver is running at the time of authentication and that solved my issue.

Hope this helps someone.

Nirav

Hi - I am posting a solution to a frustrating problem that I had a few days back and how I solved it. This is one a bit technical (read: hard to find) so please bear with me. Problem: Authentication failure while connecting to imap.gmail.com Assumption: I am assuming that you have put the settings of the server exactly how Gmail requires you to give in Thunderbird. I am also assuming that the authentication dialog comes up and you are able to allow Thunderbird an access on the Google authentication page and yet Thunderbird responds with authentication failure. Also, I am assuming that there's no antivirus/firewall blocking communication with Gmail or Thunderbird app itself. Solution: Check of you have IIS or Apache or anything else running on port 80 - basically - if typing http://localhost on the browser shows something. You see, after authentication from Google, Thunderbird tries to go back to http://localhost - and it expects to find itself BUT it finds your already running web server itself. I resolved my problem by ensuring no webserver is running at the time of authentication and that solved my issue. Hope this helps someone. Nirav

All Replies (2)

more options

Yes. There are quite a few solutions mentioning this in the Support forum search: https://support.mozilla.org/en-US/questions/1396487

I expect when the Help Articles get updated for all the newest version this will get mentioned.

more options

Thanks Toad-Hall.

I actually Googled for days and I couldn't find anything. However, at some point, I saw a redirection to localhost and then it clicked and I figured it out!

Now, I have to go clean all the signed in devices (about 25 of them) from my google account! Lol!

Nirav