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.

An unknown error has occurred app store

An unknown error has occurred


This message An unknown error has occurred when i try login to APPSTORE in my MacBookAir.'

MacBook Air, OS X Mountain Lion (10.8.1), Problem to log in to app store

Posted on Aug 31, 2012 3:45 AM

Reply
198 replies

Sep 10, 2012 9:03 PM in response to OlofMork

I can't log in to App Store either. My TuneUp app keeps saying it was downloaded from another computer and needs me to sign in to download from the App Store. It was downloaded on this machine. It's the only one I have at the moment. I rebooted the machine, changed password twice, but nothing works. I keep getting "An unknown error has occurred" message. This has been happening for the past couple of days.

Sep 15, 2012 1:43 PM in response to OlofMork

I have the same problem. "An unknown error has occured" when trying to sign in App Store, or update softwares, or buying stuff. I am sure that it registers correct username and passowrd, for otherwise I would get "Your Apple ID or password was entered incorrectly." I have tried all suggestion, removing the whole appstore folder from the Library Cache, but it did not work.

Sep 15, 2012 2:30 PM in response to OlofMork

My problem turned out to be network related. I added a wireless airport card to my Mac Pro and disabled the onboard ethernet that was named "en0" (computer not near to a port). This caused my wireless card to be renamed to "en0". Why is this a problem? Apparently, the system checks that the onboard ethernet is working properly before allowing acces to the App Store. If onboard ethernet is not working, it'll display that cryptic message. To fix this:


  1. Click on Apple menu and choose "System Preferences..."
  2. If the wireless (or some other piece of network hardware other than onboard is name "Ethernet (en0)", delete it.
  3. Make sure the onboard gets renamed to "Ethernet (en0)". If it was somehow deleted, you'll have to recreate it by clicking on the "+" sign and choosing the onboard port. This has to be done even if the port isn't connected to anything.
  4. The other port can be recreated afterwards


I know it's a pain.

Sep 15, 2012 5:23 PM in response to Dave Simple

My problem is clearly not network related. If I create another user and login as that user then use my account with App Store then I can successfully log in. Must be something in my own account.


I've tried all the other things like removing ~/Library/Caches/com.apple.appstore/Cache.db and ~/Library/Cookies/com.apple.appstore.plist. There must nbe another corrupted file somewhere in my account that is causing the problem.

Sep 15, 2012 5:26 PM in response to Dave Simple

My network interfaces are ok. I tried to track down the App Store login process and discovered, that the following error message is written into my /var/log/system.log


Sep 16 01:52:13 MacBookPro.local App Store[40652]: [IMKInputSession deactivate] exception caught.

IMKInputSession:<IMKInputSession: 0x7f83392c0870> --

NSInvalidSendPortException : [NSMachPort sendBeforeDate:] destination port invalid


The NSMachPort class is used for distributed object connections on the local machine. Seems the login process has problem with interprocess communication.

Sep 15, 2012 5:44 PM in response to anonyhosking

An update. I get the following errors logged in /var/log/system.log:


Sep 15 20:43:04 chappell com.apple.ShareKitHelper[439]: --warning: [ShareKit-XPC] Received XPC_ERROR_CONNECTION_INVALID

Sep 15 20:43:04 chappell com.apple.ShareKitHelper[439]: --warning: [ShareKit-XPC] connectionWithClientInterrupted

Sep 15 20:43:04 chappell com.apple.ShareKitHelper[439]: --warning: [ShareKit] Cancel UI for running services with Client PID: 961

Sep 15 20:43:04 chappell Dock[310]: LaunchPad: __53-[LPAppManager(StoreSupport) _acceptStoreConnection:]_block_invoke_0 app store xpc message error: Connection invalid


Any ideas?

An unknown error has occurred app store

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