I have the same issue was getting it on the stock Rom and it did go through finally but now getting it again.
Sent from my HTC One_M8 using Tapatalk
I had that problem pop up once. I was on WiFi, so it turned WiFi off and it worked
Sent from my HTC One_M8 using XDA Premium HD app