question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Oracle.ManagedDataAccess.Client.OracleException (0x80004005): Connection request timed out

See original GitHub issue

I can success get data from oracle when running in visual studio. but after I deployed to IIS, I always get error information like below. I have tryed version with 2.19.101 and 2.19.80, but none of them worked. { "Error":{ "Code":"Exception", "Message":"Connection request timed out", "Details":"Oracle.ManagedDataAccess.Client.OracleException (0x80004005): Connection request timed out at OracleInternal.ConnectionPool.PoolManager3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, OracleConnection connRefForCriteria, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString csWithNewPassword, Boolean bGetForApp, OracleConnection connRefForCriteria, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OracleConnectionDispenser3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword, SecureString securedProxyPassword, OracleConnection connRefForCriteria) at Oracle.ManagedDataAccess.Client.OracleConnection.Open() at Serenity.Data.WrappedConnection.Open() at Serenity.Data.SqlConnections.EnsureOpen(IDbConnection connection) at Serenity.Data.SqlHelper.ExecuteScalar(IDbConnection connection, String commandText, IDictionary2 param) at Serenity.Data.EntitySqlHelper.ForEach(SqlQuery query, IDbConnection connection, Action callBack) at Serenity.Services.ListRequestHandler3.Process(IDbConnection connection, TListRequest request) at lambda_method(Closure , Object , Object[] ) at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)" } }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Nathan2020-0126commented, May 28, 2021

@alexkeh after I go back to use Oracle.ManagedDataAccess.Core version 3.21.1, the problem is solved. thanks very much

0reactions
alexkehcommented, Apr 24, 2023

@wortelus TNSNAMES is on by default unless you specifically enable alternative DB naming methods. You can turn on ODP.NET tracing to see what naming methods have been enabled, whether intended or unintended.

I suspect you likely have TNSNAMES enabled and ODP.NET has found a tnsnames.ora file somewhere, not necessarily in your current ODP.NET directory.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oracle ManagedDataAccess - Connection Request Timed ...
There seems to be a synchronization bug, causing Oracle client is unable to extend connection pool once all connections are used.
Read more >
Connection request timed out - Oracle Forums
We are experiencing intermittent timeout errors i.e. Oracle.ManagedDataAccess.Client.OracleException (0x80004005): Connection request timed out ...
Read more >
Oracle ODP.NET "Connection request timed out" error
We are getting the error "Connection request timed out" errors (different web ... -manageddataaccess-client-oracleexception-0x80004005-connection-request- ...
Read more >
AppDBSubmit failing with "Connection request timed out"
Frequent "Connection request timed out -11" messages in Planning.log, submitting the same data from ... DataAccess.Client.OracleException
Read more >
Oracle database Connection request timed out
We are using SDL Web 8.5 with Oracle database. most of the time we are facing "Connection request timed out" and it requires...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found