C
C#2y ago
Rana

❔ Connection request timed out

Connection request timed out in API
18 Replies
Kouhai
Kouhai2y ago
@Rana Can you show the full stack trace?
Rana
Rana2y ago
@Kouhai how do it ?
Kouhai
Kouhai2y ago
wrap the code in GetData with a try catch and log the stack trace of the exception Something like Wait, nvm you should actually have it already
Rana
Rana2y ago
Kouhai
Kouhai2y ago
Yeah, instead of just returning Message, return the StackTrace ex.Message to ex.StackTrace
Rana
Rana2y ago
Kouhai
Kouhai2y ago
What version of Oracle.ManagedDataAccess are you using?
Rana
Rana2y ago
Rana
Rana2y ago
Rana
Rana2y ago
Kouhai
Kouhai2y ago
@Rana Try to increase the Connection timeout to something high like 600 If it doesn't work, try with pooling=False
Rana
Rana2y ago
the same
Kouhai
Kouhai2y ago
With pooling false as well?
Rana
Rana2y ago
yes
Kouhai
Kouhai2y ago
I have no clue then, I guess knowledgeable people at #database might help
Want results from more Discord servers?
Add your server