Announcement: On Wednesday, December 5, starting at 9:00am PST | 12:00pm EST, Apple Support Communities will be down a portion of the day. Please pardon our dust as we work behind the scenes to make improvements to the community. We appreciate your patience.
Currently Being Moderated

Resolving NSURLErrorDomain error -1012

This tip is derived from the thread started by

AppStore Error "NSURLErrorDomain error -1100" – how to fix it


by roto.  Corrected a couple typos and after the quote added some commentary:


After searching around for a longer time how to fix this problem in Software-Update, I finally found out how to manage this:


1. Delete PLISTs

   /Users/<my username>/Library/Preferences/

    /Users/<my username>/Library/Preferences/

    /Users/<my username>/Library/Preferences/

[/ indicates the path from the boot hard drive to folders inside.  Use Go to Folder in the Go menu to navigate to that folder

replacing <my username> with the login user trying to access the store, the file in question is after the last slash.  Quitting from the Mac App Store is recommended before you delete these files, by going to the Mac App Store menu and selecting Quit.]


2. In Applications -> Utilities -> Terminal type or copy/paste:


sudo killall -HUP mDNSResponder


[Hit enter/return key when done typing the above.  Enter your administrative password when requested followed by return/enter key.]


Mac OS X 10.6.6 to 10.6.8 users should use instead:


sudo dscacheutil -flushcache


Source: OS X: How to reset the DNS cache

3. Restart



1. Open System Preferences - Network

2. Highlight active connection

3. Click Advanced.


5. Renew DHCP Lease

Step 2, mDNSResponder issues should not happen unless:


1. The internet service provider is not supporting your IPv6 or IPv4 configuration.

2. The internet service provider has latency issues, such as satellite connections.

3. The internet service provider has a proxy/firewall configuration getting in the way.  Often this setup is common with schools and corporate networks.

4. The DNS at the internet service provider is corrupted.  To isolate this, change the DNS to an one.


Also generally speaking sudo commands should not be issued, or moving any files after a sudo command without ensuring file sharing is first turned off.  The good portion of this tip is the reboot which clears the login for sudo, which can leave your machine vulnerable until the reboot has been executed.


Software such as Little Snitch, and software firewalls may also interfere with the connection, as well as peer2peer software.

Average User Rating (2)
Average User Rating: 5
(2 ratings)
My Rating
rating Poor(1)rating Below Average(2)rating Average(3)rating Above Average(4)rating Exceptional(5)

Rating Saved!

Write a review

  • Reply to a brody


  • 0 Replies:

There are no comments on this user tip.

Delete User Tip

Are you sure you want to delete this user tip?