You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

"connection failed" mac app store

When attempting to purchase/download apps from my Macbook w/Lion OS using App Store I am asked to log in where I get "Connection failed." message. Also I cannot sign in to my account from the App Store. I can access everything else on the internet and even log in to apple.com. Everything was fine up until a few days ago when I upgraded to Lion.


How can I fix this?

MacBook Pro, Mac OS X (10.7.4)

Posted on Jul 6, 2012 4:18 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 6, 2012 4:54 PM

Hi...


Try resetting your Apple ID password > Apple - My Apple ID


If that doesn't help, quit the App Store if it's open.


Open the Finder. From the Finder menu bar click Go > Go to Folder


Type this exactly as you see it here:


~/Library/Preferences


Click Go


Move these files from the Preferences folder to the Trash.


~/Library/Preferences/com.apple.appstore.plist


~/Library/Preferences/com.apple.storeagent.plist


Now do the same for: ~/Library/Caches/com.apple.appstore/Cache.db


Click Go

Move the Cache.db to the Trash.


Try the App Store.


And if you have anti virus software installed, you may need to disable that before accessing the App Store.


Apps such as Little Snitch can also prevent access to the App Store.

58 replies

Sep 24, 2012 4:42 PM in response to realtorjosh

Hi. Same problem of no App Store and other "trust" issues, but a combination of things worked to clear it up.


First I tried the blog post instructions referenced above but they didn't work. Then I tried setting my date and time prefs to automatically update, as mentioned (it had been unchecked), but that didn't work either. I then went at the Keychain Access certificate approach one more time. What I did was not mentioned in the blog instructions, but someone else had mentioned System Roots, so I clicked on System Roots in the left hand column of KeyChain Access, then Certificates below that. I *then* noticed some blue plusses on some certificates I hadn't noticed before, and cleaned them all up (Set them to default, per the instructions). I had thought I had got them all, but I hadn't done the System Roots ones, because they're not mentioned by the blog.


This worked at last. I don't know whether the date thing mattered in conjunction with the rest, but it didn't hurt. Thanks everyone for contibuting.


Safari now presents secure websites correctly and Mountain Lion is now downloading!

Sep 25, 2012 7:28 PM in response to jrusch1

Hi, I have had the same issue since Lion. I couldn't upgrade to Mt. Lion. I upgraded after a clean install and it worked until I migrated my applicaitons. Long story... Anyway, I saw your post and when I went into the keychain>system roots/certificates, I also found about 8 blue + certificates. However, when I attempted to change them to "system default" I found they wouldn't "stick". When I'd return and look at them, they had all reverted to "always trust", as before. So then, upon the kind suggestion of my new "best friend" at Apple tech support, we changed them to "never trust". The certificate would change to red, and when I reopened each certificate, they had stayed. Then when I changed them back to "system default" they remained. I rebooted and YEA! now the app store works and I'm downloading updates!!

Nov 10, 2012 6:08 AM in response to alfredo87

This method solved my issue!


Thank you



from another thread in this forum.

Now to do this follow this:


  1. Open Key chain access in the Utilities folder
  2. Search for "class 3 public" without quotes
  3. select all the certificates on the list by clicking and holding the cmd key (apple key)
  4. right click selection and choose get info
  5. in the windows that open go one-by-one and click on Trust at the top of the list
  6. From the drop down menu choose "Always trust"
  7. Close window and enter your password if asked
  8. Repeat for all certificates
  9. Close Key Chain Access

Dec 27, 2012 11:06 PM in response to realtorjosh

Yep, I got a new macbook air... my pro works fine..... couldn't connect to itunes store or app store.... tried everything else (as I couldn't go elsewhere to try another network) nothing helped, but then der I tried connecting using my iphone personal hotspot and it worked! Disconnected hotspot went back to home network and walla it SEEMS to be fine now???? Very strange! I've spent hours trying to fix it!

Jan 29, 2013 8:47 PM in response to alfredo87

alfredo87, thank you very much. Changing the Class 3 certificates to Always Trust fixed this issue for me. I had deleted all of my certificates and then began manually accepting them when I returned to certain websites (financial, entertainment, etc.). I have also been having a little trouble with the iTunes Store also. So, this seems to have fixed both problems. Wow! Now I have that iPhoto and XCode updates. Nice!

"connection failed" mac app store

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