It is probably the ignition lead and or electrode ,These boilers use flame rectification.when your ignition lights the heat creates a signal via the ignition electode and lead to the circuit board to tell the gas valve to stay open as a flame is present if there is bad contact or damage not always visible to the lead or electrode continuity is lost and the boiler closes down. 99 percent certain that will fix the problem
steve@thermagasplc,com, March 2007