When towing our 5th wheel RV we started getting messages on the computer that the trailer brakes were not working due to an issue with the brake controller. Trailer brakes would come and go. The only time we got notification was when towing. Only 20 minutes after getting the first notification we were involved in an accident due to the trailer brakes not working. We thoroughly had the trailer brakes and plugs checked and they are not the problem .