You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brad Schoening (Jira)" <ji...@apache.org> on 2021/09/10 13:19:00 UTC

[jira] [Comment Edited] (CASSANDRA-16940) Confusing ProtocolException msg Invalid or unsupported protocol version (4)

    [ https://issues.apache.org/jira/browse/CASSANDRA-16940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413173#comment-17413173 ] 

Brad Schoening edited comment on CASSANDRA-16940 at 9/10/21, 1:18 PM:
----------------------------------------------------------------------

I agree its odd.  During the time we were seeing this error, our code was able to connect using the Java driver with protocol v3 explicitly defined in the code and CQLSH 5.0 with v3 and v4 protocol – some nodes would negotiate down to v3, most would use v4.


was (Author: bschoeni):
I agree its odd.  During the time we were seeing this error, our code was able to connect with the Java driver using protocol v3 explicitly defined in the code and CQLSH 5.0 with v3 and v4 protocol – some nodes would negotiate down to v3, most would use v4.

> Confusing ProtocolException msg Invalid or unsupported protocol version (4)
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16940
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16940
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Messaging/Client
>            Reporter: Brad Schoening
>            Priority: Normal
>
> The following warning was seen frequently after upgrading from 3.0.x to 3.11.11 in the cassandra.log:
> {noformat}
> ProtocolException: Invalid or unsupported protocol version (4); supported versions are (3/v3, 4/v4, 5/v5-beta){noformat}
> It is at best unclear, or maybe a bug in the code throwing this exception stating version '4' not supported but 4/v4 is.
> from org/apache/cassandra/transport/ProtocolVersion.java
> public static String invalidVersionMessage(int version)
> { return String.format("Invalid or unsupported protocol version (%d); supported versions are (%s)", version, String.join(", ", ProtocolVersion.supportedVersions())); }
> We later found invalid IP addresses in the system.peers table and once removed, this exception went away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org