this is a problem with PoE, damp gets conductive at dc volts...
Remake the plug, give the socket contacts a gentle scrub and try to remove some of the (conductive) black crap in behind them, then goop it up with vaseline or silicone grease as per @ProDave