You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "moguchev (via GitHub)" <gi...@apache.org> on 2026/01/23 14:30:50 UTC

Re: [I] Many "Pool connection error" with small Session.Timeout [cassandra-gocql-driver]

moguchev commented on issue #1919:
URL: https://github.com/apache/cassandra-gocql-driver/issues/1919#issuecomment-3790513438

   I experimented. I added a patch to Cassandra `5.0.4` where I set a 1-second sleep in `PasswordAuthenticator`.
   
   In the driver, I set ConnectTimeout = `5s` and Timeout = `200ms` in Session.
   
   As a driver user, I expect `5s` to be used for connection requests and reconnects.
   
   But I end up getting the following error: 
   ```txt
   Control connection error. 
   read tcp 10.201.125.63:46758->10.239.214.7:9042: i/o timeout.
   ```
   
   I decided to check what your colleagues are doing with the ScyllaDB gocql fork. They don't have this problem: ConnectTimeout is always used to establish connections, both in control and in pool.
   
   See: https://github.com/scylladb/gocql/releases/tag/v1.15.3
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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