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

Marcel commented on CASSJAVA-96:
--------------------------------

We are on Datastax DSE 6.8.53.

Indeed I see at least one application coming up with this:


{code:java}
[s0|default] You specified xxxdc2 as the local DC, but some contact points are 
from a different DC: Node(endPoint=xxx/<unresolved>:9142, hostId=null, 
hashCode=d478326)=null, Node(endPoint=xxx/<unresolved>:9142, hostId=null, 
hashCode=773499b5)=null; please provide the correct local DC, or check your 
contact points {code}
We switched datacenters recently and the old nodes were still lingering around 
(previously they were xxxdc1). Could that have caused the issue? We have just 
today shutdown the old nodes completely and I will retry today if the driver 
still gives me the same error.

> Driver throws warning on nodes not configured
> ---------------------------------------------
>
>                 Key: CASSJAVA-96
>                 URL: https://issues.apache.org/jira/browse/CASSJAVA-96
>             Project: Apache Cassandra Java driver
>          Issue Type: Bug
>          Components: Core
>            Reporter: Marcel
>            Priority: Normal
>
> I have recently switched our application from the datastax 4.17.0 java driver 
> to the Cassandra 4.19.0 java driver. I kept the configuration as before and 
> had no issues using the driver locally on a docker single node instance of 
> datastax. However when I use the new driver with our production datastax 
> cluster with three nodes I get warnings:
> {code:java}
> [s0|/xxx.xxx.xxx.xxx:9042]  Error while opening new channel 
> (ConnectionInitException: [s0|connecting...] Protocol initialization request, 
> step 1 (STARTUP {CQL_VERSION=3.0.0, COMPRESSION=lz4, DRIVER_NAME=Apache 
> Cassandra Java Driver, DRIVER_VERSION=4.19.0, 
> CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}): failed to send request 
> (java.nio.channels.NotYetConnectedException)) {code}
> On the cluster we use SSL connections configured on port 9142. These are also 
> the only ports that the CQLSession is configured to connect to via 
> addContactPoints().
> Is there something I need to change in the configuration?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to