iTunes: Specific update-and-restore error messages and advanced troubleshooting
Products Affected
iPad, iPhone, iPod touch, iTunes
Symptoms
This article is the companion of the more general, Update and restore alert messages on iPhone, iPad, and iPod touch. Follow that article first. If, after following that article, the issue persists, continue with this article.
The alert message in iTunes may include one of the following numbers (or the message may include a number not listed here):
-1, 2, 4, 6, 9, 13, 14, 20, 21, 23, 26, 28, 29, 34, 35, 36, 37, 40, -48, -50, 1000, 1002, 1004, 1011, 1013, 1014, 1015, 1479, 1600, 1601, 1602, 1603, 1604, 1611, 1631, 1638, 1639, 2001, 2002, 2005, 2006, 2009, 3002, 3004, 3013, 3014, 3015, 3194, 3200, 9006, 9807, -9808, 9844, 4026xxxxx.
Click the link for the error code you have. If it's not listed here, check the error messages below, and then if necessary follow the advanced steps below to resolve the issue.
Resolution
Specific error messages and resolutions
Error -1
Error 3194 or "This device is not eligible for the requested build"
See this article for more information.
Error 3014
Error 9
Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
Error 1604
If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
- Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode, put it into Recovery Mode.
- Restore and wait for the error.
- When prompted, click OK.
- Close and reopen iTunes while the device remains connected.
- The device should now be recognized in Recovery Mode again.
- Try to restore again.
If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
Error 1600, 1601, 1602
Error 1603
Error 1611
Error 13, 14, 35 and 50 (or -50)
- Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
- Put a USB 2.0 hub between the device and the computer.
- Try a different USB 30-pin dock-connector cable.
- Eliminate third-party security software conflicts.
- There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
- Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
- Try to restore from another known-good computer and network.
Error 2000-2009 (2001, 2002, 2005, 2006, 2009, and so on)
Restore loop (being prompted to restore again after a restore successfully completes)
There was a problem downloading the software for the iPhone (or another iOS device)
iTunes cannot connect to the iPhone because an invalid response received from the device
Unknown Error containing "0xE" when restoring
Hang during restore process
There are two ways to resolve this:
You can follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) , or follow the steps below to manually find and remove TcpWindowSize and MaxGlobalTcpWindowSize entries from the Registry.
- For Windows XP, Windows Vista, Windows 7: Go to the C:\Windows folder and launch regedit.
- Go to Edit > Find.
- Search for "TcpWindowSize" entries. There are typically multiple entries of TcpWindowSize/GlobalMaxTcpWindowSize spread throughout the entire Registry. If "TcpWindowSize" exists, one or more third-party applications have changed the user's default Windows settings for TCP/IP.
- Go to File and select Export. This step will export a copy of the Registry that can be used as a backup of the original settings.
- Delete the "TcpWindowSize" entry.
- Search for the next "TcpWindowSize" entry and delete each one until the Registry no longer has any "TcpWindowSize" entries.
- Close Regedit, restart the PC, and test.
If you are uncertain as to why these registry entries exist and the PC is a business computer, contact your network administrator and determine what values TCP/IP can be set in their Windows Registry setting so that the PC can update or restore an iOS device rather than deleting the "TcpWindowSize" entry.
If editing the registry does not resolve the issue, restoring on a different computer that did not install the communication software is the step most likely to resolve this issue.
Additional error codes and resolutions
Unable to contact the iOS software update server gs.apple.com
- Install the latest version of iTunes.
- Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
- Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
- Try to restore from another known-good computer and network.
- If the errors persist on another computer, the device may need service.
Network connection or download errors
Error 1479: This error occurs when trying to contact Apple for an update or restore. Quit iTunes, disconnect from USB, restart the iOS device, reconnect the device to the computer, then launch iTunes and attempt to update or restore again.
Error 1639: See this article for resolution.
Errors 3000-3999 (3004, 3013, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the update server (gs.apple.com) on ports 80 or 443.- Update to the latest version of iTunes.
- Verify the computer's date and time are accurate.
- Check that your security or firewall software is not interfering with ports 80 or 443, or with the server gs.apple.com.
- Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
- An entry in your hosts file may be redirecting requests to gs.apple.com (see "Unable to contact the iOS software update server gs.apple.com" above).
- Internet proxy settings can cause this issue. If you are using a proxy, try without using one.
- Test restoring while connected to a known-good network.
Error 3002: If you experience this error while updating an iPod touch (2nd generation) or iPhone 3G, please use the standard update or restore process in iTunes (click Update or Restore).
Error 3194: You may not have the latest version of iTunes installed Update to the latest version of iTunes. If the issue persists, follow the steps above in "Unable to contact the iOS software update server gs.apple.com".
Error 3004: If you are using a Mac, you may be able to resolve an error 3004 by quitting iTunes and using the following command at the command line: dscacheutil -flushcache
The device could not be restored. An internal error occurred: This indicates a network-connectivity or traffic issue. If you see this error, wait an hour or more and try again.
Error 3200: This indicates a network-connectivity or traffic issue. If you see this error, wait an hour or more and try again.
Error 9807: Verify the computer's date and time.
If unresolved, open access to the following VeriSign servers:
- evintl-ocsp.verisign.com
- evsecure-ocsp.verisign.com
Access to these servers may be blocked by security software, content filtering software, a misconfigured router, or anti-spyware software. For iTunes for Windows, follow iTunes for Windows: Troubleshooting security software issues.
Error 9808 (or -9808): Follow the steps in iTunes Store: Unknown alert error message when connecting to resolve the issue. If those steps do not resolve the issue, or if the settings revert to their original values after the restart, then follow iTunes for Windows: Troubleshooting security software issues.
Error 9844: This is typically caused by incorrect firewall settings. See the section titled "Open the proper ports and allow access to Apple servers" in the Advanced Steps section below.
Errors related to third-party security software
Error 2, 4 (or -4), 6, 1000, 9006
- Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
- There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. Your default packet size being set incorrectly can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
- Verify that access to ports 80 and 443 are allowed on your network.
- Verify that communication to albert.apple.com or photos.apple.com is not blocked by a firewall, or other Internet security setting.
- Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps under Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.
- Restore your device while connected to a different network.
- Restore using a different computer.
Errors related to downgrading iOS
Error 1015: This error is typically caused by attempts to downgrade the iPhone, iPad, or iPod touch's software. This can occur when you attempt to restore using an older .ipsw file. Downgrading to a previous version is not supported. To resolve this issue, attempt to restore with the latest iPhone, iPad, or iPod touch software available from Apple. This error can also occur when an unauthorized modification of the iOS has occurred and you are now trying to restore to an authorized, default state.
Possible hardware issues
Error 48 (or -48): Quit iTunes, discard the .ipsw file, (see the steps under Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), open iTunes and attempt to download the update again.
Error 20000-20008: This error may indicate that you have a USB communication failure due to a damaged USB 30-pin Dock Connector cable, out-of-date USB device drivers or firmware, or that other USB devices connected to your computer are interfering with iTunes communicating to the iOS device. Try restarting the PC and testing again with a different USB port. If you are using a custom Windows Theme Pack, revert to the default theme pack, restart, and try to restore.
Error 1631: Insert SIM card into device and try again.
Error 40265xxxx: Errors of the 40265xxxx range generally occur during the restore-from-a-backup phase, after iOS has been installed on the device. Restoring the device and setting up as new can resolve the issue. Before restoring as new, take steps to preserve the previous backups created by iTunes, such as copying the contents of the Backup directory onto the desktop. See iPhone and iPod touch: About backups to learn where backups are stored for your computer's operating system and additional precautionary notes regarding setting up as new. The backups created by iTunes store data such as your SMS, Favorites, Bookmarks, and other app data.
Advanced steps
Follow these advanced steps only if the steps in TS1275 have not resolved the issue or if a specific update and restore error message recommends it. If the update or restore error message is not listed in above, try following all the steps in TS1275 and this article starting from the top down (basic to advanced steps) to resolve the issue.
Force restart your iOS device
Hold down the Home and Sleep/Wake button until the Apple appears and then release. Once the device has started up or displays a connect to iTunes screen, try to restore again.
Restore on a different computer
If the issue is not resolved with the above steps, try to restore using a different computer. Ensure that the computer you use has an active connection to the internet, the latest version of iTunes, other USB devices except the keyboard and mouse have been disconnected, and connect directly to a rear USB 2.0 port on the computer.
If another computer is not available, continue with the steps below.
Open the proper ports and allow access to Apple servers
During the update and restore process, iTunes needs to contact Apple. Ensure that your computer has the following ports open and can access these servers:
- Port 80
- Port 443
- phobos.apple.com, albert.apple.com, gs.apple.com, edgesuite.net, evintl-ocsp.verisign.com, evsecure-ocsp.verisign.com
Note: iTunes makes a secure connection over the Internet to the above servers. Since it is a secure connection, it is especially critical that your computer's date and time are correct.
To learn how to open your network to access these servers, refer to your router, firewall, or security software documentation. Follow the steps in Troubleshooting security software issues to identify, update, and configure third-party security software to resolve a restore error.
You may need to update, properly configure, disable, or uninstall built-in firewalls and other security software to prevent interference with iTunes. For assistance with this, contact the company that supports the firewall or security software you use. If you are using proxy settings, try to restore or update without using a proxy.
Use MSConfig to restart your PC using Selective Startup
On a PC, try to restore your iPhone, iPad, or iPod touch after restarting in Selective Startup mode. Do not use MSConfig to resolve restore issues caused by security software. For instructions on how to use MSConfig to restart your PC in Selective Startup with the appropriate Apple software enabled, see the following articles:
Stop Virtual OS environments
OS virtualization or emulation software may cause restore errors. If you are using a Mac and have a virtual OS environment running, or are attempting to restore from iTunes running in a virtual OS, shut down the virtual OS, quit the virtualization software, and attempt to restore using the latest version of iTunes available for the Mac.
Restore using a new user account
Create a new user account on your computer and try to restore while logged in as the new user. iTunes will download a new version of the software restore file. After creating the new user, log in to that account, open iTunes, and attempt to restore to see whether the issue persists in this new user.
Use these steps if you're not sure how to create a new user:
Windows 7, Windows Vista, Windows XP
- From the Start menu, choose Control Panel.
- Open User Accounts.
- Select "Create a new account" and follow the instructions to complete the account setup process.
- Once the new account is created, choose Log Off from the Start menu.
- Log in to the newly created user account.
Mac OS X
- From the Apple menu, choose System Preferences.
- Choose View > Accounts.
- Click the "+" (you may need to authenticate to be able to click this).
- Give the new user a name and short name and enter a password.
- Select the checkbox for "Allow user to administer this computer". This makes the user an administrator user.
- Click Create Account.
Rename, move, or delete the iOS software file (.ipsw)
iTunes uses "ipsw" files to restore your device. If those files are unusable, then try deleting them, renaming them, or moving the file to a different directory. This will cause iTunes to download a new copy of the IPSW. When a restore issue is specific to a user, it is likely due to an unusable .ipsw file. If removing the .ipsw file does not resolve a user-specific restore issue, then the issue is caused by other user-specific security software settings or iTunes preferences. Creating a new user will also cause new .ipsw restore files to be downloaded in the new user. You can find the ".ipsw" files in these locations:
Mac OS X
| iPhone | ~/Library/iTunes/iPhone Software Updates |
| iPad | ~/Library/iTunes/iPad Software Updates |
| iPod touch | ~/Library/iTunes/iPod Software Updates |
| Note: The tilde "~" represents your Home directory. | |
Windows XP
| iPhone | C:\Documents and Settings\[username]\Application Data\Apple Computer\iTunes\iPhone Software Updates |
| iPad | C:\Documents and Settings\[username]\Application Data\Apple Computer\iTunes\iPad Software Updates |
| iPod touch | C:\Documents and Settings\[username]\Application Data\Apple Computer\iTunes\iPod Software Updates |
| Note: To quickly access the Application Data folder, click Start, and then choose Run. Type %appdata% and click OK. | |
Windows 7 and Vista
| iPhone | C:\Users\[username]\AppData\Roaming\Apple Computer\iTunes\iPhone Software Updates |
| iPad | C:\Users\[username]\AppData\Roaming\Apple Computer\iTunes\iPad Software Updates |
| iPod touch | C:\Users\[username]\AppData\Roaming\Apple Computer\iTunes\iPod Software Updates |
| Note: To quickly access the AppData folder, click Start, and then in the search bar type %appdata% and press the Return key. | |
Restart the Apple Mobile Device Service (Windows only)
Restarting the Apple Mobile Device service on Windows XP, Windows Vista, or Windows 7 may allow you to successfully restore iPhone. Refer to the steps below for your version of Windows.
Note: You'll need to sign in with an administrator account for these steps.
Windows XP
- Quit iTunes and disconnect the device.
- Choose Start > Control Panel.
- Inside the Control Panel, open Administrative Tools.
- Open Services.
- Select Apple Mobile Device and click Stop the service.
- After the service is stopped, click Start the service.
- After the Apple Mobile Device service has started again, open iTunes and connect the device.
- Select the device on the left side of the iTunes window, click the Summary tab, and then click Restore.
Windows Vista and Windows 7
- Quit iTunes and disconnect the device.
- Click the Windows Start button.
- In the Start Search field, type "Services".
- In the Programs section of the search results, click Services.
- Select Apple Mobile Device and click Stop the service.
- After the service is stopped, click Start the service.
- After the Apple Mobile Device service has started again, open iTunes and connect the device.
- Select the device on the left side of the iTunes window, click the Summary tab, and then click Restore.
Remove and reinstall iTunes and Apple Mobile Device Support
Completely remove iTunes and Apple Mobile Device support and then reinstall the latest version of iTunes. Click the appropriate link below for instructions on how to accomplish this for your operating system.
- Windows XP
- Windows Vista
- Mac OS X 10.6.8 and earlier
- For OS X 10.7, removing iTunes is not necessary. Download iTunes and reinstall it.
After removing and reinstalling the latest version of iTunes, try restoring iPhone, iPad, or iPod touch again.
Additional Information
Contact Apple
If you have performed all of the steps in this article and you are still experiencing a restore issue, contact Apple or your wireless carrier, whichever provides phone support for your device.
To find Apple's contact information in your country, refer to Contacting Apple for Support and Service. If you use an iPhone 3G or iPhone 3GS, you can find your wireless carrier at Locating iPhone wireless carriers. Wherever you live in the world, you can find your iPhone service options at the Online Service Assistant.
You may have questions about servicing your iPhone, and you can find answers to frequent questions in this FAQ.
If there is an Apple Retail Store nearby, find the closest store and then make a reservation through the online Apple Store Concierge. Reservations are strongly recommended.
Twitter
Facebook