Candidates of both main political parties face revolt