Top-of-unit leaks are diagnostic puzzles: the water often originates higher than where it appears.
Three origins
Above the tank. Connectors, unions and the supply from the pressure tank. Dye or a dry tissue test on each joint settles it.
At a fitting split by frost. Winter minima near freezing make this the most common weather-driven cause. It shows after a cold night and may pause while frozen.
From pressure, not a hole. A drip that appears only during a heating cycle is expansion finding an outlet. On a private well with a check valve, the plumbing is closed and an expansion tank is the fix.
The gas exception
Water at the flue collar is condensation or spillage. That is a combustion-safety finding, not plumbing, and it should stop the unit being used until it is checked.
Proving it
Isolate, dry every surface, then run a heating cycle and watch. A pressure-dependent leak will not appear on a cold test.
Repair
Replace the failed component, reseal, and retest under heat. If the same fitting has split twice, treat the exposure: insulate the run, move what can be moved inside the envelope, and drain the dead leg before a frost.
What to have ready
Where the water appears, whether it is cycle-dependent, whether it followed cold weather.