Can't connect to the Software Update server (127.0.0.1)
I'm running El Capitan 10.14.4
I am unable to see or download any apple updates from the App store. Everything else in the app store is running fine except updates and within updates I get 3rd party application updates but nothing from apple. If I click on the updates icon at the top of the app store I get the following error
Troubleshooting steps I have gone through so far
- I have rebooted my mac a few times
- I have done some googling and most posts talk about iworm, fortunately I have been unable to find any trace of an worm infection, I have scanned my machine using Sphos and ClamXav and neither has found anything relating to iWorm. I am also unable to find any of the files it leaves behind so I think I am safe in that regard.
- I have checked the hosts file and there are no entries that shouldn't be there, hosts file copied below.
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
The lines in /var/log/install.log that seem relevant are;
May 26 09:44:02 macbook-pro softwareupdated[435]: SUScan: Scan for client pid 435 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)
May 26 09:44:02 macbook-pro softwareupdated[435]: SUScan: Elapsed scan time = 0.2
May 26 09:44:02 macbook-pro softwareupdated[435]: SUScan: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1004 "Can't connect to the Software Update server (127.0.0.1)." UserInfo={NSErrorFailingURLKey=http://127.0.0.1/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lio n-snowleopard-leopard.merged-1_disabled.sucatalog, SUCatalogFetchOverrideURLString=http://127.0.0.1/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lio n-snowleopard-leopard.merged-1_disabled.sucatalog, NSLocalizedRecoverySuggestion=Check to make sure your network connection is operating normally. If there are no issues with your connection, contact your network administrator for assistance., NSLocalizedDescription=Can't connect to the Software Update server (127.0.0.1)., SUErrorRelatedCode=SUErrorCodeScanCatalogNotFound, SUErrorUpdateServerName=127.0.0.1, NSErrorFailingURLStringKey=http://127.0.0.1/content/catalogs/others/index-10.11-10.10-10.9-mountainlion-lio n-snowleopard-leopard.merged-1_disabled.sucatalog, _kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61}
May 26 09:44:02 macbook-pro softwareupdated[435]: Scan got error Can't connect to the Software Update server (127.0.0.1).
May 26 09:44:02 macbook-pro softwareupdated[435]: Ramped updates marked
- I can ping swscan.apple.com and it resolves to 17.164.1.22 which is the same IP address that a mac next to me (that gets update) resolves too
- I can telnet, on port 443, to swscan.apple.com and it connects.
- I have a mac running yosemite next to me that can see updates so I suspect there is no issue with the service itself rather something on why machine.
- I have booted into safe mode and while in safe mode I get the same error.
I'm at a complete loss of what to do next short of wiping and restoring from a time machine backup, can anyone help please
MacBook Pro, OS X El Capitan (10.11.4)