Protocol version mismatch -- expecting %1 but received %2

Error code -10004
Error constant STREAM_INCORRECT_VERSION
Parameter 1 The maximum version accepted.
Parameter 2 The version as sent from the client.
 Probable cause