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
RanaOP2y 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
RanaOP2y ago
Kouhai
Kouhai2y ago
Yeah, instead of just returning Message, return the StackTrace ex.Message to ex.StackTrace
Rana
RanaOP2y ago
Kouhai
Kouhai2y ago
What version of Oracle.ManagedDataAccess are you using?
Rana
RanaOP2y ago
Rana
RanaOP2y ago
Rana
RanaOP2y 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
RanaOP2y ago
the same
Kouhai
Kouhai2y ago
With pooling false as well?
Rana
RanaOP2y ago
yes
Kouhai
Kouhai2y ago
I have no clue then, I guess knowledgeable people at #database might help
Henkypenky
Henkypenky2y ago
are u closing the connections? sorry but there is not much code to go about here probably show connection string, connections manager, closing etc
Jayy
Jayy2y ago
No code showing db code, not much to action on here
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server