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

NSURLErrorDomain error -1012

app store doesnt update programs. It inform: The operation couldn’t be completed. (NSURLErrorDomain error -1012.) How is it possible to fix it?

MacBook Air, OS X Mountain Lion (10.8.3)

Posted on Sep 26, 2013 12:41 PM

Reply
Question marked as Best reply

Posted on Sep 26, 2013 5:57 PM

Please read this whole message before doing anything.

This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.


Test while in safe mode. Same problem?


After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.
22 replies
Question marked as Best reply

Sep 26, 2013 5:57 PM in response to CLcapital

Please read this whole message before doing anything.

This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.


Test while in safe mode. Same problem?


After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

Nov 10, 2013 11:07 AM in response to CLcapital

Thanks to Linc for the info. I stopped reading at "third-party software," somehting which I've noticed that Linc is very fond of.


For me, Avast was the cause of this error. I simply disabled the "active" scanner and without logging out or restarting, the App Store immediately updated properly.


Gotta love antivirus, and third-party software.

Nov 22, 2013 4:36 AM in response to urabus

Thanks, @urabus; disabling the Web Shield in avast! Preferences solved the problem.


I'm still satisfied with avast! for now, even though it seems to disable Dropbox automatic syncing as well. There might be Network Prefs firewall settings that can fix either of these problems instead of disabling avast! or another antivirus app; haven't figgered it out yet. 🙂


(btw, I tried Kaspersky recently and it slowed my system to a wounded snail's crawl 😠)

Nov 22, 2013 5:23 AM in response to z00m3rr

Lol, and thank you for my new favorite "slow" analogy - "wounded snail," that's awesome.


FYI, Sophos is, IMO, the best, least intrusive and least resource demanding AV software. However, it always ends up hogging up "inactive" memory during scans, and some other occasions. I don't know if it's a "leak" or what the problem is but it's never been fixed.

Jan 26, 2014 6:32 AM in response to urabus

Fix for Avast users to receive updates from Mac App Store:


1. Open Avast Preferences

2. If Preferences is Locked, click the lock to Unlock

3. Under the Shields tab, select Advanced next to Web Shield

4. Under Exclusions tab, add the following two servers that will prevent Web Shield from denying MAS updates:


swscan.apple.com (https)

swdist.apple.com (https)


Done! Lock the Preferences again.

Hope this helps 🙂

May 25, 2014 5:04 AM in response to Linc Davis

I have the same problem after fresh install of Maverics 10.9.2. I tried to manually download-install the update 10.9.3 and it was succesful, but the problem still occurs.

I tried to boot in safe mode... no help, I did not install any third party software since the fresh install.


I also wanted to use

sudo codesign -f -s - /Applications/Utilities/Boot\ Camp\ Assistant.app/

... so new window with Install XCode appeared, but there was also an error, that it cannot be downloaded and installed.

May 25, 2014 7:15 AM in response to CLcapital

I encountered the same error while attempting to update a brand new iMac this morning.


After contacting Apple Support, I was told that the App store was brought down for unscheduled maintenance. This was not reflected on the Apple Status web page BTW. I was told to retry updating via the App Store in a few hours.


While some updates (iWork) did complete, the "error has occurred" message continue to display between updates. The other symptom was that my new iMac was not detecting that OS X 10.9 was in need of an update to 10.9.2.

NSURLErrorDomain error -1012

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