Hey guys,having trouble with left brake light on the trailer and can't figure it out.

When the lights on the truck are on then all the lights on the trailer are on including the tail lights,hit the brakes and the left light goes out.Doesn't do it all the time,just sometimes.Ground issue? I replaced the whole light assembly and it still does it,works sometimes and sometimes it doesn't,thanks for the help.