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 15, 2012 1:53 AM

Hi all of you worried people,



here is something that worked for me:

alimacc

Re: "Connection Failed." when signing in to Mac App Store

Oct 26, 2011 3:45 AM (in response to call-151)

This worked... Signing out and in did nothing... for me I could download standard type apps but when trying to get OS X Lion it just sat all day trying to connect and never went beyond the get app status.


None of my certificates had a red X beside them but I applied allow always to the top class 3 paublc one and it worked.


OS X Lion on it's way down now.



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

Try App Store and let this forum know if it worked or not:

it did for me and I just updated iPhoto like that!


Bon courage from Central France!

58 replies
Sort By: 
Question marked as Top-ranking reply

Jul 15, 2012 1:53 AM in response to sharma.k.arvind

Hi all of you worried people,



here is something that worked for me:

alimacc

Re: "Connection Failed." when signing in to Mac App Store

Oct 26, 2011 3:45 AM (in response to call-151)

This worked... Signing out and in did nothing... for me I could download standard type apps but when trying to get OS X Lion it just sat all day trying to connect and never went beyond the get app status.


None of my certificates had a red X beside them but I applied allow always to the top class 3 paublc one and it worked.


OS X Lion on it's way down now.



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

Try App Store and let this forum know if it worked or not:

it did for me and I just updated iPhoto like that!


Bon courage from Central France!

Reply

Jul 6, 2012 4:54 PM in response to realtorjosh

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.

Reply

Jul 15, 2012 4:19 AM in response to alfredo87

This is a bug in Lion 10.7.4 and to get more info look at this post:

https://discussions.apple.com/thread/3941688


I have tried what I posted above and it got rid of the AppStore issue for me, but there may be other issues that are related to certificates:

I had many error messages saying invalid certificate on websites like hotmail and others since updating to Lion 10.4.7

Also my bank site and others gave same error while before it never did so!


Come on, Apple solve the bug in Lion without forcing us to buy Mountain Lion because of a bug!!

Here is the message that solves the issues so far from above thread:


antonyoung



Thank you quickSti! This finally solved the problem for me.

quickSti wrote:


I solved this on my wife's computer by resetting the security certificate settings. This might help others:

Close all windows.


Keychain Access -> click on System Roots on the left, and then click on Certifcates on the bottom left.


Check to see if any of the certificates on the right have the blue "+" symbol - this means they have custom trust settings.


There is a bug in changing the policies, so you'll have to change them via the method below. Changing them just by changing the access to "system defaults" doesn't seem to save. The method below worked for me.


Double-click on each certificate with the custom setting (blue "+"), expand the section labled "trust". Change the "Secure Sockets Layer (SSL)" setting to "no value specified". Close window - you should be prompted for the password. Double-click on the certificate again, expand trust, change the "When using this certificate" setting to "Use System Defaults". Close window, and re-enter password.


If you didn't re-enter your password upon closing the window, the setting didn't take. The blue "+" should disappear after a few seconds when it's set back to default. Once all of the certificates are changed back to default, restart Safari.


This solved all of the problems for my wife's computer with these issues and OSX 10.7.4


Thank you to everybody who helped with this bug...

Reply

Jul 29, 2012 9:33 PM in response to remittancegirl

Gah! You beat me to it! I was just going to post the same tip.😁


The instructions in the blog fixed both my App Store login problem and the certificate problem I was having in Safari as described here:

https://discussions.apple.com/thread/3941688?answerId=18956717022#18956717022

I found the blog solution right at the bottom of page 6 of that discussion.

Reply

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.

Reply

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

Reply

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
Reply

Jul 14, 2012 1:40 PM in response to alfredo87

Hi unlucky people,


The same here. Everything is fine on all our Macs, but on my wife's MBP, though I can use it to connect to the App Store in iTunes using my/our Apple ID. This drives me crazy.


I tried all the possible for a regular geek, after consulting many discussion sites. I even reinstalled the 10.7.4 Combo update and iTunes.


Maybe the next step would be a voodoo ceremony... We are about 10:30 pm French time, will wait 24 hours before to set an appointment to a Genius Bar...


Cheers

JB

Reply

Jul 18, 2012 9:02 AM in response to realtorjosh

cross posting this from another thread, because it seems more appropriate to this than where I originally posted (couldn't find this thread again at first):


I had a similar problem, but wasn't related to going through a proxy (and its cause is still unknown).


Using a new (refurb) i7 quad core 15" from oct 2011, I can get into the app store fine from 10.7.3. After upgrading to 10.7.4 I get "connection failed" when logging in to the app store. I can log into my apple account from every other possible interface imaginable (itunes on the same machine, developer.apple.com, from app store on another machine running 10.6.8, from another machine in the Apple Store running 10.7.4, etc).


I tried the various things in this thread (and a few other) including changing a ton of certificates to Always Trust, with no effect. Tried creating a new keychain (no effect). Changing those certificates to always trust (no effect). I also tried installing the 10.7.4 combined system install over the top of the existing system.


I went to the apple store, demonstrated the problem there for the genius, and it was his first time seeing that problem. We rolled my system back to 10.7.3 and the app store works fine. The genius bar was closing down for the night by the time it finished, so we didn't update it to 10.7.4. I updated to 10.7.4 this morning, and the problem returns, exactly as previously manifested...


Time to roll back to 10.7.3


UPDATE: When rolling back to 10.7.3 it again wouldn't do it from the internal. I booted with the option key pressed and selected the internal restore drive to boot from. It then only showed me the restore drive (locked) and my still connected external (for time machine). I tried again from USB stick that I'd put a restore drive on last night, and that restore seems to be working.

Reply

Jul 18, 2012 9:15 PM in response to arthurlockman

It Worked!!


Thanks! It was driving me a bit nuts, and was quite reproducible on the one machine. I wasn't having trouble with anything other than with the App Store, but since the whole point of upgrading to Lion was to be able to do iBooks Author, it was a bit of a problem. Neither of the two guys I dealt with at the Apple Store had ever heard of it either.


I didn't have a "/var/db/crls/ocspcache.db"


It's definitely a reproducible bug in 10.7.4, as I described above-- hopefully they'll sort it out and issue a patch. I'll probably be updating to Mountain Lion in a few weeks anyway, as the machine is only a couple days old.

Reply

Jul 20, 2012 9:31 AM in response to arthurlockman

I had the same problem from one day to another on my MB Pro with 10.7.4. Remarkably I had no problems on my Mac Pro also running with 10.7.4. and no problem on my MacBook with any other services including iTunes Store, iCloud etc. - ONLY Mac AppStore was unable to connect.


Finally your procedure helped - eventhough I wonder what it does to the general security of my MacBook.


Thanx a lot for your post!

Reply

Jul 20, 2012 1:16 PM in response to arne501

It shouldn't do anything to your mac's security. If anything, it'll be more secure, because SSL will function properly now on all sites, where it might have defaulted to non-secure connections before because the certificates were improperly configured. Your mac should be more secure having applied this fix.

Reply

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