firewall port number for softwareupdate?

wondering if anyone know what port number is the port that apple softwareupdate runs from the GUI? customer has a firewall and the auto softwareupdate is not running. after you enter password and agree to downloads, it tries and errors out. gave a -1057(i think) error. supposedly there is a closed port in the firewall that needs to be opened. manual downloading works, but just not the auto. i have found this Kbase doc:
http://docs.info.apple.com/article.html?artnum=106439

but it doesn't have a cut an dry answer. any help would be appreciated.

Posted on Sep 20, 2005 8:24 PM

Reply
16 replies

Sep 21, 2005 11:15 AM in response to Jesse Sapp

ok got a little more info.. yes i did have the wrong code, here is the actual message from the machine:

A network error occurred:
Error NSURLErrorDomain -1005(-1005).
Make sure you can connect to the internet.

now what happens is the machine connects to the internet, finds all the downloads it needs. you authenticate, agree to the legal stuff, then it runs through the updates and gives little apostrophe marks in red and then the error message comes up. the machines can manually go up and download the updates, but it is a little painful in the lab of 20 machines. i am thinking of suggesting ARD, but if we can get the auto update to work, then that would solve the problem.

thanks again for any help.

JS

Sep 23, 2005 1:30 AM in response to Jesse Sapp

A network error occurred:

Error NSURLErrorDomain -1005(-1005).
Make sure you can connect to the internet.

Background of an error -1005:

It is a URL loading error when a client computer's resource area fails establishing a handshake to access the data specified by a destination HTTP server-- for instance, when downloading Apple software updates.

This resource area conforms to 5 categories such as URL loading, cache management, authentication and credentials, cookie storage, and protocol support. The first category (URL loading) is consisted of 6 sessions and a session fails for some reason.

Now, secured the Root Certificate Authority system interacts with Safari, Mail, iChat and other Apple products which authorities are made available through the Software Update mechanism. You can view a part of the services on the X509Anchors keychain ( /System/Library/Keychains/X509Anchors and X509Certificates) when you open "Show Keychains" after launching Keychasin Access.app. You can also select Apple Root Certificate Authority therein to check whether the certificate is valid.

To begin with, identify where the cause lies with. It seems likely either .plist, caches, Keychain Access components, or the core system corruption. I recommend to remove file/s or folder/s to temporary folders on the desktop rather than trashing. To do so, you may reuse them after troubleshooting, if they are still needed.

Group 1:

(a) /Library/Preferences/com.apple.SoftwareUpdate.plist

This preference stores the keys and their values stating about when Software Update.app lastly attempted to access the Software Update service, etc.

(b) /Users/HOME/Library/Preferences/ByHost/com.apple.SoftwareUpdate.000xxxxxxxxx.pli st

This preference contains the key "AgreedToLicenseAgrement" for the value 1, and the key of "BackgroundDownload" as the value 0. The modified date and time of Get Info should be matched with the previous Security Update (e.g. 2005-007)

(c) /Users/HOME/Library/Preferences/com.apple.SoftwareUpdate.plist

The modified date and time of Get Info will be set in between D/T for loginwindow[xxx]: Login Window Started Security Agent and
kernel[0]: IPv6 packet filtering initialized, default to accept, logging disabled... Two lined events are indicated on system.log.

/Users/HOME/Library/Preferences/com.apple.keychainaccess.plist

Group 2:
/Users/HOME/Library/Caches/com.apple.SoftwareUpdate/
/Users/HOME/Library/Caches/Software Update/


/Library/Caches/com.apple.SoftwareUpdate/swcdn.apple.com/content/downloads/

Group 3:
/Users/HOME/Library/Keychains/login.keychain
/Library/Keychains/System.keychain
/System/Library/Keychains/X509Anchors
/System/Library/Keychains/X509Certificates


NOTE: You may be asked the admin password when removing/trashing "X509" files for the replacement. You need to find another computer which stores these intact files BEFORE restarting the computer.

[ Edited by Apple Discussions Moderator; please refrain from modifying X509 keychains ]

Make sure to back up "Software Update.log" before you do troubleshooting.

Referneces: Apple URL Loading System, Apple Root Certificate and Authority

Oct 4, 2005 12:52 PM in response to Jesse Sapp

ok.. i got an update on these machines. brought one into our office to make sure that it isn't the machine and it seems to work fine to update the software. so i am assuming that there is something wrong with the network at the customer location. i need to find out if anyone would know what port softwareupdate runs through. if it is port 80, the i don't understand how software update is blocked and not the general web services. i can still get out to the internet at the customer location, but not download the software update through the application. i can however pull it down manually and install it that way. any suggestions?

Oct 6, 2005 1:08 PM in response to Jesse Sapp

Jesse,

i don't understand how software update is blocked


The software update mechanism has different implications from those for a third-party application updating, however, and the user experiences for these procedures must reflect this-- Referred from Mac OS X Human Interface Guideline.

For instance case, if an automatic update by third-party application attempts to duplicate the user experience of Software Update in background without launching the application, an unexpected problem will occur.

Oct 6, 2005 1:43 PM in response to Jesse Sapp

Port 80 and 2068 are different. If you mean it is RFC 2068, I would suggest him to ask the router's vendor whether its firewall conform to the RFC rules in HTTP/1.1 specifications. Some rules have been changed.

If the firewall implementation is nothing wrong with the specifications, then he might improperly have treated the original Tiger 10.4 system to install.

As a last resort, he may need "Erase and Install" with Security Option/Zero Out Data after data backup.

Oct 6, 2005 5:59 PM in response to Fumiaki Kawashima

thanks for the info fumiaki. i did take one of his machines and updated it here in our office. it worked fine so i think the os on his machines is ok. i think that maybe he has to have his system administrator reset their firewall/router deal to factory settings and start over from there... a little out of my scope but that is what i am thinking.

thanks again for taking the time to reply, Jesse

Oct 6, 2005 6:09 PM in response to Curt Steger

Curt, Welcome to Discussions.

Since we ought to run permissions before & after all softwareupdates I have disabled all automatic downloads on all Appl. No suprises.

I have forgotten to turn off the firewall when updating & the updates,have not been good, I mostly get the message about "invalid checksum" . I do not
beleieve in coincidence

BTW:Kappy Knows a thing or two, I would take his advice.
No disrespect to any one.
Eme:~{)

Oct 7, 2005 12:09 AM in response to Jesse Sapp

I should have read all your posts. I think you have done necessary diagnoses for the issue.

If the customer install a third-party firewall or any Internet security application, or the administrator uses a network firewall for other platforms, there is a potential to cause such issues.

The customer may be able to check it by running Netstat of Network Utility, and observe the state of socket connections to find any odd indications when testing Software Update run. The local firewall may not work well with the socket implementation-- e.g., pragmatical treatments for every internal socket call.

It seems that if a direct socket connection to the remote VM fails to be attempted due to a firewall, the updating runtime uses HTTP with the explicit port number of the server-- could result in Web proxy caches corruption.

Also, an administrator can examine it by using IP packets professional analyzer (very expensive) for the network. For instance, proxies which serve through a network firewall should take special precautions regarding the transfer of header information that identifies the host behind the firewall for RFC 2068.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

firewall port number for softwareupdate?

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