question

resolve123_170609 avatar image
resolve123_170609 asked Erick Ramirez answered

Getting "Error while opening new channel"

My application is working fine but i noticed these warning in logs.

Error while opening new channel (DriverTimeoutException: [s3|id: 0x0fb69615, L:/10.x.x.x:57024 - R:/100.x.x:9042] Protocol initialization request, step 1 (STARTUP {CQL_VERSION=3.0.0, DRIVER_NAME=DataStax Java driver for Apache Cassandra(R), DRIVER_VERSION=4.13.0, CLIENT_ID=a57cccf0-c55c-4821-bbdf-2d6149f250ae}): timed out after 5000 ms).

java driver
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

A DriverTimeoutException gets thrown by the driver when the coordinator node it contacted doesn't reply within the driver timeout period which in your case is 5 seconds (5000 ms).

Apart from issues with network connectivity, the problem stems from the node being unresponsive or down. Check the logs on the problematic node to see if you can find any clues that would explain why it wasn't responding at the time.

If the exception was thrown during high traffic periods, it would explain why it happened. If nodes are overloaded, they can become unresponsive as a result of GC pauses or the disks cannot keep up with the requests. Cheers!

Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.