[SOLUTION] : Thunderbird and Gmail authentication
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)
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.
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