Great to hear.
Sounds like a bad connection. Just remember that refitting the plugs can sometimes only be a temporary fix. If the fault returns try leaving everything plugged in and do the same tests to try and determine which connector/header is faulty. You may have a cold or cracked solder joint somewhere.