Original: Resentment against colonial rule had been mounting for many years and there had been occasional isolated uprisings against British rule at various times since the British had established themselves in the subcontinent.
Simplified: According to the 1857 Punjab Mutiny Report the attack failed because the British were told of the plan to attack them.