C
C#3y ago
Rana

❔ Connection request timed out

Connection request timed out in API
18 Replies
Kouhai
Kouhai3y ago
@Rana Can you show the full stack trace?
Rana
RanaOP3y ago
@Kouhai how do it ?
Kouhai
Kouhai3y 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
RanaOP3y ago
Kouhai
Kouhai3y ago
Yeah, instead of just returning Message, return the StackTrace ex.Message to ex.StackTrace
Rana
RanaOP3y ago
Kouhai
Kouhai3y ago
What version of Oracle.ManagedDataAccess are you using?
Rana
RanaOP3y ago
Rana
RanaOP3y ago
Rana
RanaOP3y ago
Kouhai
Kouhai3y ago
@Rana Try to increase the Connection timeout to something high like 600 If it doesn't work, try with pooling=False
Rana
RanaOP3y ago
the same
Kouhai
Kouhai3y ago
With pooling false as well?
Rana
RanaOP3y ago
yes
Kouhai
Kouhai3y ago
I have no clue then, I guess knowledgeable people at #database might help
Henkypenky
Henkypenky3y 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
Jayy3y ago
No code showing db code, not much to action on here
Accord
Accord3y 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.

Did you find this page helpful?