Under the NS headlamp is a wiring loom going to the fuse Box/ECU. It touches a round steel tube that can rust, giving it a surface like sandpaper, chafe away the insulation and do all sorts of funny things to the electrics. Its easily missed when you don't expect a smooth round tube to chafe through a wiring loom