Connection exception when connecting to oracle db from Azure App Service http Post request

0
using Oracle.ManagedDataAccess.Client;

OracleCommand prscmd = new OracleCommand();
prscmd.Connection = new OracleConnection(CONNECTION_STRING);
prscmd.Connection.Open();

I get below exception when i run the webapp http post URL. Can you advise ?

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()

c#
.net
azure-web-app-service
asked on Stack Overflow Mar 3, 2021 by Shashi Kant • edited Mar 3, 2021 by atiyar

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0