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

An error has occurred when connecting to the AppStore

Hi I am being told that iTunes has an update, but when I go onto the AppStore I get the error 'A server with the specified hostname could not be found' I have gone through the forums and can't find a solution.


I have found a few forums that link to Arthur Lockman having a solution, but can't get to the link.


I have reset the certificates and tried every other link that I could find and now it is getting frustrating.


Any help please.

MacBook Pro (17-inch Early 2011), OS X Mountain Lion (10.8.3)

Posted on Apr 23, 2013 3:00 AM

Reply
Question marked as Best reply

Posted on Apr 23, 2013 3:51 AM

Can you help me with error message.

7 replies

Apr 23, 2013 11:43 AM in response to helsin

If you have more than one user account, these instructions must be carried out as an administrator.

Launch the Console application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad. Click Utilities, then Console in the icon grid.

Select "/var/log/install.log" from the file list on the left. If you don't see that list, select

View Show Log List

from the menu bar. Then select the messages from the last installation or update attempt, starting from the time when you initiated it. If you're not sure when that was, start over and note the time. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).


If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

When posting a log extract, be selective. Don't post more than is requested.

Please do not indiscriminately dump thousands of lines from the log into this discussion.


Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.

May 2, 2013 3:31 AM in response to sanny25

The error message says


"An error has occurred


A server with the specified hostname could not be found"


Dump of the log when I try to do an update is below


May 2 20:29:05 USHB-347de6 Software Update[1338]: SUAppStoreUpdateController: found in cache: <none>

May 2 20:29:14 USHB-347de6 installd[1349]: installd: Starting

May 2 20:29:14 USHB-347de6 installd[1349]: installd: uid=0, euid=0

May 2 20:29:14 USHB-347de6 Software Update[1338]: SUAppStoreUpdateController: making scan unconditional since did not register local on last scan

May 2 20:29:14 USHB-347de6 Software Update[1338]: SoftwareUpdate: Scan for client pid 1338 (/Applications/App Store.app/Contents/MacOS/App Store)

May 2 20:29:14 USHB-347de6 Software Update[1338]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x7fd7f225f570 {NSUnderlyingError=0x7fd7f6902b30 "A server with the specified hostname could not be found.", NSErrorFailingURLStringKey=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, NSErrorFailingURLKey=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, SUCatalogFetchOverrideURLString=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, NSLocalizedDescription=A server with the specified hostname could not be found.}

May 2 20:29:15 USHB-347de6 Software Update[1338]: SUAppStoreUpdateController: scan (f=0, c=0, p=1, r=1) got error A server with the specified hostname could not be found.

May 2 20:29:15 USHB-347de6 Software Update[1338]: SUAppStoreUpdateController: making scan unconditional since did not register local on last scan

May 2 20:29:15 USHB-347de6 Software Update[1338]: SoftwareUpdate: Scan for client pid 1338 (/Applications/App Store.app/Contents/MacOS/App Store)

May 2 20:29:15 USHB-347de6 Software Update[1338]: SoftwareUpdate: Error encountered in scan: Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo=0x7fd7f20c9830 {NSUnderlyingError=0x7fd7f23d8190 "A server with the specified hostname could not be found.", NSErrorFailingURLStringKey=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, NSErrorFailingURLKey=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, SUCatalogFetchOverrideURLString=http://usrv-macman1.na.uis.unisys.com:8088/index.sucatalog, NSLocalizedDescription=A server with the specified hostname could not be found.}

May 2 20:29:16 USHB-347de6 Software Update[1338]: SUAppStoreUpdateController: scan (f=0, c=0, p=1, r=1) got error A server with the specified hostname could not be found.


Thanks

May 2, 2013 6:39 AM in response to helsin

Your system is configured to download updates from a private server, not from Apple. That server isn't working or isn't reachable. If you're bound to a network directory server, or if you're behind a firewall that doesn't allow downloading updates directly from Apple, your network administrator has to solve the problem. Otherwise, proceed as follows.

Back up all data.

Triple-click the line below to select it:

/Library/Preferences/com.apple.SoftwareUpdate.plist

Copy the selected text to the Clipboard (command-C).

In the Finder, select

Go Go to Folder…

from the menu bar. Paste into the box that opens (command-V), then press return.

A Finder window will open with a file selected. Delete the selected file. You may be prompted for your administrator password. Try Software Update again.

An error has occurred when connecting to the AppStore

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