Not sure if this applies to your heater but I spent ages trying to find what was causing my Glowworm domestic boiler to trip the main circuit breaker intermittently. Eventually, I discovered the "fault": the flue exhaust above the flat-topped inner boiler housing was leaking condensation, which gathered on the flat surface, eventually creeping up to the small cut-out switch mounted there and causing it to trip. The water eventually evaporated, leaving no clue as to why this was happening. Quick fix - shield the cut-out with a ring of waterproof putty or similar but remember to CHECK FOR WATER BUILDING UP. Full fix - replace the exhaust gasket.
Arnold J. Bilgepump, December 2009