I had the same problem but replaced the female connector for shore power, my original bavaria one similarity, kept getting wet.
Also very simply made a loop in in the cable just prior to the plug with a cable tie to stop water tracking along the wire and into the plug.