God I wish there was a little dashboard light that blinked red warning of impending injury.
Has your training schedule involved sufficient rest/easy weeks?
At the end of it though, some people are more injury-prone than others and often it's just a case of 'shit happens'.
the best time for a short rest is just when you feel you are going well.