I am trying to restore my IPad 2 and it gets so far and stops what may be the issue?

After trying to update the IPad 2 it stopped and returned that the IPad cannot be updated and needs to be restored to factory settings When I started that, it went about half way and stopped.
I tried it 3 or 4 more times
I got 2 different errors:
1 lost contact with the device
2 cannot contact with the update server.
Put the device in recovery mode and then try again. The instructions can be viewed via the following link.

https://support.apple.com/en-us/HT201263

Original thread: https://forums.imore.com/threads/i-am-trying-to-restore-my-ipad-2-and-it-gets-so-far-and-stops-what-may-be-the-issue.332596/