FIX::: NSURLErrorDomain error -1012 [for Avast users]
If you've been unable to receive updates from the Mac App Store, and getting this particular error (NSURLErrorDomain error -1012), then you can do the following in order to enable your Web Shield again.
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 🙂