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 Best 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

Mar 22, 2013 12:47 PM in response to realtorjosh

I spent hours looking at certificates, connections, etc., and finally found something that worked for my MacBook Pro running 10.7.5, found here. Instantly fixed my connection issue and I logged right in. FINALLY.


http://www.tonymacx86.com/general-help/64055-mac-app-store-itunes-dont-work.html


August 7th, 2012, 12:57 PM#9


To anyone looking for a solution to this I've cracked it with the help of the forum


Just navigate to the root of your installation drive then go to:


Library/Preferences/SystemConfiguration/


and delete: NetworkInterfaces.plist


(and make a secure copy somewhere else if you are sceptical!).


Reboot


Should be working now.


Jul 22, 2013 5:38 PM in response to realtorjosh

After trying all of the fixes in this blog and a few others outside of this blog, I was ready to erase/reboot the entire computer. And, then... I noticed that the computer date was set incorrectly. I reset the date, and everything worked perfectly.


Note: I'm not sure if the date, along with the certificate reset and cache clear (in combination) helped, but until I changed the date to reflect the actual date/time, the other fixes didn't work.

Apr 15, 2015 9:04 AM in response to young tibby

I was having this problem after installing Security Update 2015-004. Could not access the App Store (sign in said "connection failed"), iTunes store, iMessages, got certificate errors on sites like Twitter, my bank, etc. Two other guys at my office had the same problem at the same time. I'm on 10.9.5, but one of my coworkers was on 10.10, and the other still on 10.8, so there wasn't anything in common there. None of us could log in through our company's Lync app, as it said the server was unreachable, but I could log in to the same Lync account and server via Adium.


My time settings were correct, and I tried several times to replicate the steps of altering the trust settings on certificates (as detailed here: http://b.rthr.me/wp/2012/07/a-fix-for-ssl-certificate-problems-on-mac-osx-lion/) with no luck. Finally, out of desperation, I backed up all of my Login certificates (drag out of Keychain into a folder) and simply deleted them. I then deleted /var/db/crls/crlcache.db and /var/db/crls/ocspcache.db, emptied my trash, and restarted.


NOW everything works again, and the same fix cleared it up for one of my coworkers. Hopefully it will work for the last when he's done with his support call.


Update: This might work for some folks too: Security Update 2015-004 trashes Apple.com SSL Certificate on Mavericks, or this: http://apple.stackexchange.com/questions/180570/invalid-certificate-after-securi ty-update-2015-004-in-mavericks

I'd have tried either of those things first, but until I could log in to the App Store, I couldn't find the number of the update that broke my life for a week.

Jun 27, 2015 6:19 AM in response to realtorjosh

I tried everything like setting auto date and time, installing security update 2015-004, played with keychains, deleted my login keychains, make the keychains of "class 3 public" as trust always , created new admin user, unistalled sophos and little snitch and lot other but nothing worked ................FINALLY i stumbled on this http://apple.stackexchange.com/questions/110940/only-chrome-can-access-the-inte rnet

found that i couldnt ping or curl it was icmp time out


SO for me it was dnsresponder problem...........


followed this need to restart mDNSResponder after every boot up "discussions.apple.com/thread/3514492" to restart my DNS & IT WORKED (i have osx 10.9.5)

It gave me error when i said to unload dns, but when i gave this second command

sudo launchctl load -F /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

seems it wasnt loading on reboot

it loaded the dns and now i can use safari , app store etc


i dont know yet if i have to reload mDNSResponder on reboot or not.. i've to check that later

dont know why chrome was able to connect to internet without this dns and other apps can't?????


Any way i'm done with this after wasting lot of time............

"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 ID.