Open Mrugendra27 opened 1 week ago
Can you try increasing the connection timeout from 15 seconds to 60 seconds in case the database was an Azure DB that needed to be woken up?
Also, if you could confirm that the same credentials work without Application Intent
set to Read-Write
.
Can you try increasing the connection timeout from 15 seconds to 60 seconds in case the database was an Azure DB that needed to be woken up?
Also, if you could confirm that the same credentials work without
Application Intent
set toRead-Write
.
Thank you for the response.
Increasing timeout from 15 seconds to 60 seconds does not change the behavior.By the way it is not an Azure DB.
a. Application Intent set to "Read-Write" -- works, connects immediately b. Application Intent set to Empty -- works, connects immediately
N.B - I did further testing, and I am not sure, but this could be playing a role in this: The way the connection is established is like so: Client machine 1 ==> Jump Linux server ==> SQL Server I say that this could be playing a role, it is because I AM able to connect from a machine that directly has access to the SQL Server (with the same credentials with read-only intent; client machine 2 ==> SQL Server) But if it so, then I wonder - how is it able to connect with Read-Write or Empty intent in the above connection configuration (Client machine 1 ==> Jump Linux server ==> SQL Server)
Are you able to test with another client (SSMS or Azure Data Studio) to see if the Read-Only
has the same issue when connecting through your Jump Linux server?
Steps to Reproduce: