the heater fires back up increases temp 1-2 degrees and then light comes on and heater shuts of again.
Did the heater run for about an hour (1 to 2 degree heat rise)?
Or did you mean that it ran for 1 to 2 min and shut off?
If it Runs for 1 to 2 hours:
May be a borderline velocity issue. The variable speed pump could be set too low (if you have a VS pump that is).
Since it is resetting, and fires again on its own, this means it could be:
HLS/AGS Hi limit, and automatic gas shutoff switch. Will shut off the heater when water temp exceeds limits of the switch(s), and then the water cools back down, the switch(s) self-resets, and the heater tries to fire again.
PRS or PS, Pressure switch. Flow/pressure would have to change. IOW go from a workable pressure to a non workable pressure and then back to the original pressure. (using your symptoms) Can't come up with a scenario that would cause that.
AFS (Air flow switch) this switch confirms that he blower is running by checking for a vacuum through the blowers inlet air-horn. An obstruction to the blower inlet would cause this. But like the pressure switch, you would have to have an un-obstructed condition then an obstruction, then un-obstructed again. Not impossible, just unlikely.
SFS Stack flue sensor. Measures exaust temps and opens safety circuit if the exhaust temps rise too high. This switch is not self reset-able, will lockout IGN, and display an error code (E05).
If it is running 1 to 2 min and then shuts off:
Check thermostatic by-pass.