An unexpected error occurred while updating
var microsoft = microsoft
STEP 8 Once your i OS update is finished, go back to the hosts file and remove the "18.104.22.168 gs.apple.com" line again so that i Tunes can properly update as usual.Error 3194 often happens when i Tunes on your computer cannot connect to Apple's software update server.This is usually caused by unsigned or expired firmware used during an i OS upgrae and restores, or network connection problem on a computer.I can see this in the "About this Mac" dialog and that the App Store doesn't show any updates.
What is causing this and is there an error log where I can find details about this unexpected error?
Now, your phone may reboot but it will return to normal state.