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

App Store, "An error has occurred", "The operation couldn’t be completed. (NSURLErrorDomain error -1012.)"

I am encountering a strange issue with two Mac laptops while a third one does not have the issue. Essentially, when I start iTunes, it complains a newer version is available and that I should download it. When I accept, it launches the App Store (as it should). However, this step fails. When I select the "updates" tab, I get a dialog box "An error has occurred", with the message below:


The operation couldn’t be completed. (NSURLErrorDomain error -1012.)


What does this mean ? How can I get to run updates on those computers again ?

Thanks!

iBook, OS X El Capitan (10.11)

Posted on Nov 6, 2015 2:40 PM

Reply
32 replies

Nov 9, 2015 6:43 AM in response to Xrival

If you don't already have a current backup, back up all data, then reinstall the OS.* You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.

There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode. All other data will be preserved.

*The linked support article refers to OS X 10.11 ("El Capitan"), but the procedure is the same for OS X 10.7 ("Lion") and later.

Nov 9, 2015 10:13 AM in response to Xrival

Please read this whole message before doing anything.

This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

The purpose of this test is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”

While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.

Test while logged in as Guest. Same problem?

After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.

*Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

Nov 9, 2015 10:35 AM in response to Linc Davis

It seems I cannot do that, as I have FileVault turned on.

I read: "If FileVault is turned on guest users can only access Safari".

When logging as guest, the computer only lets me use Safari, and I cannot do anything then.


To still try this, I created another admin account. It proposed me to sign in using my Apple Id. I did, and the computer went into an infinite loop (had to reboot). On the second login attempt, I wen to the App Store, and got the same behavior: infinite loop when I attempt to log in (had to kill it).



It seems I cannot authenticate to Apple-anything from that computer. Is there a way to zero out all the settings related to that ?

(without doing a full erase and re-install, which I do not really have time to do now).

Nov 10, 2015 7:02 AM in response to Xrival

Triple-click anywhere in the line below on this page to select it:

/Library/Keychains

Right-click or control-click the line and select

Services Reveal in Finder (or just Reveal)

from the contextual menu.* A folder should open with a subfolder named "Keychains" selected.

Open the Info window. In the General section at the top, is the box marked Locked checked?

Close the Info window. Inside the Keychains folder, there should be a file named exactly "apsd.keychain". Is that file present? Are there any files with a name such as "apsd.keychain.something"?

*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select

Go Go to Folder...

from the menu bar and paste into the box that opens by pressing command-V. You may not see what you pasted because a line break is included. Press return.

App Store, "An error has occurred", "The operation couldn’t be completed. (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.