iPad: Basic troubleshooting
Update and restore alert messages on iPhone, iPad, and iPod touch
iOS: Resolving update and restore alert messages
iPad: Unable to update or restore
This error occurs when iTunes is unable to reach gs.apple.com in a timely fashion. Follow the steps below in Unable to contact the iOS software update server gs.apple.com.