Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ML 10.8.2 Cannot login to Messages, Facetime, or Game Center

I upgraded to 10.8.2 today and cannot login to Messages, Facetime or Game Center. In Messages I get the error "Could not sign in to iMessage. The server encountered an error processing registration. Please try again later. " when I enter my Apple ID. It was working this morning prior to the update. In FaceTime i get the error "The server encountered an error processing registration. Please try again later.". I was able to also use this in the prior version (10.8.1).


Game Center on the other hand; I've never been able to get that to login. I immediately get an error when I try to login: "The requested operation could not be completed due to an error communicatiing with the server." I was hoping today's update would fix this. (I don't use it often. And it is a different Apple ID than I use for messages/facetime.


It looks like an problem on Apple's account side, but I was able to log in to the support community with my Apple ID, and my iPhone/iPad. Hopefully, I'm not the only one, and we can get this fixed.

Posted on Sep 19, 2012 9:43 PM

Reply
274 replies

Mar 15, 2013 11:33 AM in response to cmsmith

Ok I have spent few hours on this, reading this thread and trying various options and finally fixed the issue. Here's what worked for me... Forget deleting Library/Preferences files and keychain keys, or resetting PRAM - the issue is that iMessage needs to refer to certificate authorities during activation process. So whatever you've done with the software on your mac before, go find the /etc/hosts file and comment all the lines containing the words like thawte, verisign or other authorities issuing trusted certificates. Or better just revert it to the default look at least temporarily:


##

# Host Database

#

# localhost is used to configure the loopback interface

# when the system is booting. Do not change this entry.

##

127.0.0.1 localhost

255.255.255.255 broadcasthost

::1 localhost

fe80::1%lo0 localhost


No need to re-boot then - just go activate your iMessage and then you may come back to restore the previously commented or deleted /etc/hosts lines.


For those not really friendly with UNIX permissions etc. - you may find Textmate editor very useful in this case, it would just ask you to confirm your actions with standard authorization request and you won't need to play with copying /etc/hosts file for editing, copying it back and fixing ownership and permissions on it.


I think this is it. Thank you guys for a great research and you Ralph for helping out!

Mar 19, 2013 12:27 PM in response to General Mischief

HI,


IN the Finder > GO Menu > GO to Folder type /etc/hosts in to the dialogue box that appears.

This will show you the Hosts file in the etc folder.

User uploaded file

It can be opened with TextEdit and a unchanged one looks like this

User uploaded file

Any line that has been added and refers to Verisign or Apple needs to be "Commentated Out" by placing and extra # symbol on those lines (Anything that Starts # is ignored).

When you try and Save the System may ask you for your Login Password as you would not normally have permissions to change this file.



User uploaded file
7:27 PM Tuesday; March 19, 2013


 iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Mar 20, 2013 1:36 AM in response to Ralph-Johns-UK

Thank you so much! I have only one more question; when I try to edit the hostsfile and add a # before anything with verisign OSX prompts that I dont have permission to do that and asks me if I want to create a copy. I've done that and saved it to my desktop with the changes made. Can I just replace (and maybe save the original file) the original file with the copy if I rename it?

Mar 20, 2013 5:55 AM in response to cmsmith

The procedure of setting the right permissions and using Text editor would be too complicated for a user asking about # signs and "create a copy" things. Just go google "Textmate editor", download and install yourself a trial version and you can open, edit and just save /etc/hosts without problems of creating copies or setting manual permissions. It would just ask you periodically for authentification as MacOS usually asks when you install something important. Trust me 🙂

Mar 20, 2013 12:59 PM in response to General Mischief

Hi,


It was a while ago that I did this and the precise steps I did at the time escape me for the moment.


_y3k_ is suggesting this App to do the job, Textmate Editor

This should get around the Permissions thing and the issue with trying to do it Terminal.



User uploaded file
7:59 PM Wednesday; March 20, 2013


 iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Mar 20, 2013 1:01 PM in response to General Mischief

You don't need any of that stuff. Just get to terminal and do a:


"sudo nano /etc/hosts"


It's text navigation, so use your arrow keys to move around. when you are done, hit Ctrl+O (letter O), hit enter to save changes, then Ctrl-X to exit. Changes are immediately refected the next time you perform any dns-related transaction.


Note, it is "Control" not "Command."


t


Message was edited by: Thor HoG Made the command-line command more clear.

Mar 22, 2013 7:57 AM in response to General Mischief

Guys, I have been reading through the post.


issue is comparable, but I see an error in my console that keeps poping up as soon as I try to login to imessage or face time


the message is: check connection.


I tried the DNS 8.8.8.8. I tried to edit the host file... nothing seems to work.


Can anyone shed some light on this? the accounts I used are all valid appleID. I use them on my iPhone and Ipad, none of them work.


would appreciate to hear what I can do next. The certificate list in my macbook has quite a list with apple


com.apple.ubiquity.ssl-cert.403A2B5A-E352-4BA0-BEC5-D44130B65A17

and also

com.apple.ubiquity.peer-uuid.403A2B5A-E352-4BA0-BEC5-D44130B65A17


as not being trusted. the experiy date has past (nov 12) issue is that even before this date it never worked on this macbook. (macbook air late 2011)


I am lost...



22-03-13 15:51:58,871 apsd[71]: Got connection error Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “albert.apple.com” which could put your confidential information at risk." UserInfo=0x7f85ccbfab30 {NSURLErrorFailingURLPeerTrustErrorKey=<SecTrust 0x7f85ceb020d0 [0x1108c4110]>, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7f85cea22150 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “albert.apple.com” which could put your confidential information at risk.", NSErrorPeerCertificateChainKey=(

"<SecCertificate xfxfxfxfxfxfxfxf [xvxvxvxvxvxv]>",

"<SecCertificate xvxvxvxvxvvx [xvxvxvxvxvv]>",

"<SecCertificate xvxvxvxvxv [xvxvxvxvxv]>"

), NSLocalizedDescription=The certificate for this server is invalid. You might be connecting to a server that is pretending to be “albert.apple.com” which could put your confidential information at risk., NSErrorFailingURLKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=Mac OS, NSErrorFailingURLStringKey=https://albert.apple.com/WebObjects/ALUnbrick.woa/wa/deviceActivation?device=Mac OS, NSErrorClientCertificateStateKey=0}

Mar 22, 2013 2:03 PM in response to MacEdwinC

HI,


It appears at some levels that iMessages and FaceTime are separate as you can use different names (Apple IDs)

However this can make for strange iMessages invokes of FaceTime as the FaceTime Invite is then from "someone else" as far as the contact is concerned. (i.e. it is possible but I would not recommend it)


It does seems that both services need to check on the Apple ID and it would make sense that this was via the same server.


AS to why your certificates have gone out of date without an update I have no idea I am afraid.





User uploaded file
9:03 PM Friday; March 22, 2013


 iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images."  No, Seriously

Apr 1, 2013 9:24 AM in response to cmsmith

If the /etc/host file suggestion doesn't fix the problem, then try the solution for Facetime shown here:

http://pastebin.com/ke3SJLL0


In my case, my host file was fine, but I still had the problem.


I had migrated over from an old MacBook Pro running Lion to a new one running Mountain Lion.

I had copied over my old login keychain (as "login-old").


I finally tracked down the problem to an old key in the "login-old" keychain -

"ids: identity-rsa-public-key"


I deleted this key from the "login-old" keychain, then deleted the plists mentioned previously:

com.apple.imessage.bag.plist

com.apple.imservice.iMessage.plist

com.apple.imservice.FaceTime.plist


(all in the user's /Users/<username>/Library/Preferences folder)


Then rebooted.

When I started Messages, I re-enabled my account, signed in and everyone worked.

Hope this helps.


Chip


P.S. While debugging this, I found that rebooting into Safe Mode hangs on my MBP.

Workaround was to reboot into Safe+Verbose Mode (Shift-Cmd-V).

Apr 1, 2013 10:03 AM in response to Hascall Sharp

Hascall Sharp wrote:


If the /etc/host file suggestion doesn't fix the problem, then try the solution for Facetime shown here:

http://pastebin.com/ke3SJLL0


In my case, my host file was fine, but I still had the problem.


Personally, I'm quite surprised anyone's host file would have been screwed up in the first place. I don't know what circumstances would warrant a process arbitrarily making host entries for 3rd party hosts would be. My host file was fine as well.


I had copied over my old login keychain (as "login-old").


I finally tracked down the problem to an old key in the "login-old" keychain -

"ids: identity-rsa-public-key"


I deleted this key from the "login-old" keychain,

It's a good thing your errant public key was in the "login-old" keychain. IDs public and private pairs are in the Login keychain by default, and can be used for any number of things, primarily your logon for network access. The suggestions on Pastebin are actually pretty dangerous for people in the wrong circumstances - disastrous, really. Not that anyone would, but if someone started going through keychains and deleting keys, the could, say, delete their filevault private key and be completely screwed. Some keys will be automatically regenerated, like the message: key, but I thought I would at least warn people.


Glad it worked for you, though! Locking on safe-boot isn't good. I've only seen that on Hackintosh's. In fact, I've only seen the iMessage problem on Hackintosh's as well, but TonyMacx86 has a fix for that.


Anyway, cya.


t

Jul 27, 2013 12:37 PM in response to B. Kennedy

Hi,


That's interesting because the iMessages Account has nothing to do with iCloud.


That is to say the Apple ID in use does not have to be your iCloud one.

People that have not registered for iCloud can use iMessages with any Apple ID they already have.


Of course you may Sync your Contacts via iCloud to your iOS devices.

You may also actually use an iCloud linked Apple ID as your iMessages ID.


However in System Preferences > iCloud there is not option to Activate Messages.


The Hosts file is the basic backend link for DNS.

It can have sites and addresses added to it that you don't want your computer to call.

As most apps "Call Home" during their launch, mostly under the idea of looking for updates, they can check if the app is legitimate as well.

People have reported that Verisign and Apple have become blocked sites in their Hosts file.







User uploaded file
8:37 pm Saturday; July 27, 2013


 iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
 G4/1GhzDual MDD (Leopard 10.5.8)
 MacBookPro 2Gb (Snow Leopard 10.6.8)
 Mac OS X (10.6.8),
 Couple of iPhones and an iPad
"Limit the Logs to the Bits above Binary Images."  No, Seriously

ML 10.8.2 Cannot login to Messages, Facetime, or Game Center

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.