Went on a weekend ride last week with plenty of night riding (1400 klms). On two occassions after stopping the bike for a short time and restarting, both headlights were out. On the second occassion, after removing the sidecovers and checking the headlight fuse (not blown), and tapping the relay, I flicked the high/low beam switch a few times and the lights came back on.
Would this be a dodgy relay or the high/low switch? It hasn't happened since, and oddly enough it only seems to bother me at night.

TIA