# Warning message with Java driver - Error while opening new channel

**URL:** <https://forum.scylladb.com/t/warning-message-with-java-driver-error-while-opening-new-channel/4567>\
**Category:** ScyllaDB\
**Tags:** error-message, java-driver\
**Created:** [March 5, 2025, 4:33am UTC](https://forum.scylladb.com/t/warning-message-with-java-driver-error-while-opening-new-channel/4567 "2025-03-05T04:33:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [March 5, 2025, 4:33am UTC](https://forum.scylladb.com/t/warning-message-with-java-driver-error-while-opening-new-channel/4567/1 "2025-03-05T04:33:33Z")

</div>

> [@](#):
>
> [**Originally from the User Slack**](https://scylladb-users.slack.com/)
> 
> ![stewart](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/e/e64036a4b6fd74b10be043ee5fb24b1cd0c18a99.png) **@stewart:** Hi Guys,  
> Every time we replace a ScyllaDB node, the client generates the following warning log.  
> In this case, it doesn’t seem to cause any major issues with the service, and restarting the service makes the warning log disappear. However, we would like the warning log to disappear immediately when the node is replaced.  
> How should we change the ScyllaDB Datastax Java driver settings?  
> we are using scylladb 4.6.3.
> 
> ```auto
> [s0|{scylla-endpoint}/{old-scylla-endpoint, replaced already}:9042] Error while opening new channel (ConnectionInitException: [s0|connecting...] Protocol initialization request, step 1 (OPTIONS): failed to send request (java.nio.channels.NotYetConnectedException))
> 
> ```
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** Apparently could be due to [https://datastax-oss.atlassian.net/browse/JAVA-3005](https://datastax-oss.atlassian.net/browse/JAVA-3005) and its ramifications.  
> [https://github.com/apache/cassandra-java-driver/pull/1604/files](https://github.com/apache/cassandra-java-driver/pull/1604/files) seems to be in 4.15 - I believe (though no java expert here) you should be able to force a metadata refresh, if this solves it for you then that would help.
> 
> ![stewart](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/e/e64036a4b6fd74b10be043ee5fb24b1cd0c18a99.png) **@stewart:** I just found that feature as well, but I’m not sure if it has been bumped in the ScyllaDB Java driver.  
> How does the ScyllaDB Java driver import the functionality from the DataStax Cassandra Java driver?
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** we should be at 4.18.x [https://forum.scylladb.com/t/release-scylladb-java-driver-4-18-0-2/4490](https://forum.scylladb.com/t/release-scylladb-java-driver-4-18-0-2/4490) - so latest should it, considering upstream never dropped it in between
> 
> ![stewart](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/e/e64036a4b6fd74b10be043ee5fb24b1cd0c18a99.png) **@stewart:** Then, should I upgrade the driver version to 4.18.0.2?
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** Yes but which driver version are you currently at?
> 
> ![stewart](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/e/e64036a4b6fd74b10be043ee5fb24b1cd0c18a99.png) **@stewart:** so many microservices using scylla, so I need to check it one by one lol
> 
> ![Felipe_Cardeneti_Mendes](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/1X/233a9d524fbc97e39f08633c16b3dd2575d1d1f4.jpeg) **@Felipe\_Cardeneti\_Mendes:** right, and always remember 3.x-\>4.x is a breaking change  
> though AFAICT 3.x shouldn’t be affected
> 
> ![stewart](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/e/e64036a4b6fd74b10be043ee5fb24b1cd0c18a99.png) **@stewart:** thx felipe!
