Solution: Getting macOS Messages to work with Google Chat / Talk / Hangouts in High Sierra
After struggling to get it going I finally got it going after some searching on the Internet and trying a couple of supposed fixes. What ended up working for me were the instructions on https://forums.macrumors.com/threads/gtalk-messages-solution-found-high-sierra.2073393/ with a couple of tweaks. The tweaks were required to support 2FA which is enabled on my account.
The instructions, repeated here so that I can find them again if required and to assist others having the same problem, are as follows:
- Go to System Preferences / Internet Accounts and delete your google account.
- Open Terminal and run the following commands (Warning: This will delete your history!):
- find ~/Library/Preferences -name "*iChat*" -delete
- rm -rf ~/Library/Caches/com.apple.Messages
- rm -rf ~/Library/Messages
- Reboot
- Open Messages
- In the "Messages" menu select "Add Jabber Account..." and add your google account details.
- Since I have 2FA enabled on my account, I setup a separate App Password at this point at https://myaccount.google.com/apppasswords
- I then ensured "Enable this account" was not selected and went to the "Server settings" tab and changed the settings to:
- Server: talk.google.com (it was set to gmail.com I think)
- Port: 5223 (this was set to 5222)
- Enabled "Use SSL"
- I then switched back to the "Account Information" tab and enabled the account.
- Reboot
- Open Messages
- Change status to Available (if it's not working for you, see next step re Keychain)
- Check Buddy list to see if it is populated
- Messages didn't work for me at this point, so I went into the Keychain and searched the passwords for "jabber". I changed all related accounts passwords to my "App Password" and it worked.
- Go to System Preferences / Internet Accounts and re-add your google account.
Thanks a LOT for this! I've been trying for a couple years now to figure out how to get this working. I too am using 2FA and couldn't figure that part out WRT getting Messages working. Once I added the app via your link, and got an app-specific password, it just worked! Thanks again!
ReplyDelete