First time installing Dahua IP Cameras

Okay my issue is if I plug a short patch lead in, works no problem. I then plug in a 25m patch lead and the camera status is red.