could be a rectification fault ......
could be gas valve, pcb, pump..... sounds strange
if pilot goes out too - suspect recitification problem - i think your boiler uses same probe for ignition and rectification - may be dirty, out of position, bent under flame a bit, burner dirty...