I was in exactly the same stage of pain after two months of rest because I failed to attack the tight iliotibial band and hip muscles. The treatment that finally cured me involved digging at scar tissue in my hip and thigh with the back end of a screwdriver to release the muscle and tendon, and then learning how to ward off further flare-ups with a sensible stretching routine. Attack those tight muscles before they turn into debilitating injuries. Experiment to see which positions get it right where it hurts. Certainly stretching is an important first step in recovery, but gains in flexibility will be short-lived if the involved muscles are weak and atrophied.
Strength training is equally critical in injury rehabilitation or preventative care.
Whether using free weights, weight machines, elastic devices or isometric exercises, the involved muscles should be isolated in such a way as to ensure that they are being worked through a range of motion that mimics their racewalking action as closely as possible. This may involve a good deal of improvisation with weight machines, or experimentation with postural changes until the perfect position is found. During rehabilitation, resistance should be just enough to cause minor fatigue without hurting the injured area. 1 RM is the amount of weight that you are able to lift one time, but not two.