If you got this error trying to update to iOS 8 try to edit your host file
changing line
to
(space after #)
and than refresh DNS cache
this worked for me on my iPhone 5S, iTunes 11.4, OS X 10.9.4
Code:
sudo pico /private/etc/hosts
Code:
#127.0.0.1 gs·apple·com
Code:
# 127.0.0.1 gs·apple·com
and than refresh DNS cache
Code:
sudo dscacheutil -flushcache
this worked for me on my iPhone 5S, iTunes 11.4, OS X 10.9.4