Very Often this type of thing is often caused by extensions and Y cords and yes corrosion of the plugs. Some times this can be fixed just by multiple plugging of the connectors. Buried plug connections can do this and thats why often removed plugs such as wing aileron plugs tend to not corrode.
John