Error -3001 with Software Update resolved

Hi!

I just tried to update my system. The update application displayed four updates, one of them iTunes 9.0.0. As I was on a slow link, I let the machine running while I went out for lunch. After coming back and waking my machine from either suspend to RAM or at least screen saver mode, I got an error message that the iTunes update could not be loaded and I should try again. I did so, and got an error message quite fast. It looked similar, might even have been the same. The new error message read thus in German:

Das Update "iTunes" konnte nicht gesichert werden.
Es ist ein Netzwerkfehler aufgetreten: Datei kann nicht geöffnet werden (-3001). Überprüfen Sie Ihre Verbindung zum Internet und versuchen Sie es erneut.

Roughly speaking, the title claims that it failed to save the file. The text says there was a network error and some file couldn't be opened. I should check my Internet connection.

I used Wireshark to have a look at the dialog with the download server. It turned out that my machine was sending a request for a partial file. To this the server answered with a partial response, all looking proper as far as I could see. While the server kept sending content data, my machine for some reason sent a bunch of reset packets, cutting the connection. I assume that after requesting the partial content, it tried to open the already received initial part from some local file, and failing to do so, canceled the download and reported the error. Dunno where that partial file should have been, and why it wasn't.

Next, I browsed the web for similar reports. In one case I found some reference to the /var/folders system directory. Looking at my own system, I found a file called

/var/folders/ /*/-Caches-/com.apple.SoftwareUpdate/swcdn.apple.com/content/downloads/*/*/*//iTunesX.tar.resumeData

(with the * standing for what looks like sequence numbers or random strings). That file did indicate the number of bytes received, which were used to formulate the partial download request I saw in Wireshark.

Removing that file caused a subsequent software update to fetch the whole file again, and now everything went all right.

To sum it up, there seems to be some problem with the way partial downloads get resumed. The problem is solvable by the user by removing the corresponding resumeData file. Unfortunately the software update application doesn't seem capable of fixing this kind of problem all by itself. One would hope that in the absence of any file containing a partial download, as I above assumed, it should automatically do a full download. It does not, so there is room for improvement.

I guess I'll write some feedback item on this topic as well. But as I don't expect it to be fixed really soon, I thought I'd write this post here to let you know the workaround. Let's hope people who need it will find it.

Mac OS X (10.5.8)

Posted on Sep 14, 2009 8:33 AM

Reply
5 replies

Sep 14, 2009 11:16 AM in response to gagern

If you want to report this to Apple, either send Feedback or send bug reports and enhancement requests via its Bug Reporter system. To do the latter, join the Apple Developer Connection (ADC)—it's free and available for all Mac users and gets you a look at some development software. Since you already have an Apple username/ID, use that. Once a member, go to Apple BugReporter and file your bug report/enhancement request. The nice thing with this procedure over submitting feedback is that you get a response and a follow-up number; thus, starting a dialog with engineering.

Sep 14, 2009 1:37 PM in response to baltwo

Thanks for these links, baltwo!

For this incident I guess it's too late for a ADC bug report, as I've already reported the issue using the feedback mechanism. And I assume they wouldn't be too happy having multiple tickets open for the same thing if it can be avoided. If they want to contact me, they can surely do so through this thread here, a link to which I included in my feedback message.

However, as I assume this won't be my last bug report, I'll be happy to use the BugReporter next time around, because that seems a lot closer to the kind of bug fixing process I'm used to with open source projects.

On the whole, I'm a bit confused by the different feedback options. In some other thread I had gotten a link to the feedback form for OS X. Truncating that URL got me to the product feedback overview which seemed pretty exhaustive to me. Then today I found that there is a website feedback form not listed in the product feedback overview. And now you give me yet another link to some support form which seems to be geared towards the usability of the support part of the apple website.

Besides the fact that the OS X feedback form which I used is probably more appropriate than the support feedback form you linked to, I wonder whether there is such a thing as a starting page for all kinds of feedback, from which all of these forms could be reached, and if there is, how people are supposed to find it. I found most of these other forms more by chance than by deliberate searching, except for those others told me about here in the forum. I guess I should bookmark them all, or this thread here instead. I might also post a comment about this feedback confusion in the website feedback form...

Sep 14, 2009 2:32 PM in response to gagern

File via ADC. Those are two different mechanisms, with the bugreporter getting an official response. The Feedback mechanism might not go anywhere useful. The feedback is for issues with online support, which discussions is a part of. Since there's nothing in online support for your issue, I feel it's appropriate to report your issue via the link. As for a central place for all feedback, I don't think it exists.

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.

Error -3001 with Software Update resolved

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