java.lang.ClassCastException: org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via DataStax JIRA by Tran Huynh, 1 year ago
org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage
via DataStax JIRA by Tran Huynh, 1 year ago
org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage
java.lang.ClassCastException: org.apache.cassandra.transport.messages.AuthenticateMessage cannot be cast to org.apache.cassandra.transport.messages.ErrorMessage
at com.datastax.driver.core.Connection.initializeTransport(Connection.java:157)
at com.datastax.driver.core.Connection.(Connection.java:118)
at com.datastax.driver.core.Connection.(Connection.java:90)
at com.datastax.driver.core.Connection$Factory.open(Connection.java:376)
at com.datastax.driver.core.ControlConnection.tryConnect(ControlConnection.java:203)
at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:166)
at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:83)
at com.datastax.driver.core.Cluster$Manager.(Cluster.java:548)
at com.datastax.driver.core.Cluster$Manager.(Cluster.java:533)
at com.datastax.driver.core.Cluster.(Cluster.java:65)
at com.datastax.driver.core.Cluster.buildFrom(Cluster.java:93)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.