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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to