IDC plug, yuck. Replace it with a discrete crimp connector:
Connector:
https://www.greatplainselectronics.com/proddetail.asp?prod=CS100-28-LR
Pins and key:
https://www.greatplainselectronics.com/products.asp?cat=73
And inspect header's solder joints on bottom side of board.