Why does my iPhone get an error when I try to restore it?

iPhone can't be restored error?

I'm trying to restore my iPhone 4, running iOS 7.1.2 its Jailbroken, and when I try to do so iTunes pops up with a message saying an 'The iPhone can't be restored, an Unkown Error Occurred 11, anybody know why? and if I can fix it?
Re: iPhone can't be restored error?

https://discussions.apple.com/thread/3078698?start=0&tstart=0
Re: iPhone can't be restored error?

Keep trying. It'll restore. Remove the ipsw file from your computer, put the iPhone in DFU mode and try again.

Original thread: https://forums.imore.com/threads/why-does-my-iphone-get-an-error-when-i-try-to-restore-it.319564/