I think that you got water in harness plug.
Once I had a problem with civic 96. Transmition was jerking, shifting at wrong
speed, CEL came on. So i took it to a dealer and by CEL code they found exactly what wire lost connection in a plug. that was it.