Closed fenchu closed 2 years ago
Try configuring your network and/or Oracle Net e.g. SQLNET.OUTBOUND_CONNECT_TIMEOUT or CONNECT_TIMEOUT. There are a few notes inhttps://cx-oracle.readthedocs.io/en/latest/user_guide/ha.html#network-configuration
If you have further problems, follow up with Oracle Support.
Thanks setting the sqlnet.ora settings seem to work, but the ones set in the dsn they do not matter what they are.
WALLET_LOCATION = (SOURCE =
(METHOD = FILE)
(METHOD_DATA = (DIRECTORY = C:\\dist\\oracle\\instantclient_21_3\\network\\admin))
)
SQLNET.WALLET_OVERRIDE = TRUE
SSL_CLIENT_AUTHENTICATION = FALSE
SSL_VERSION = 0
SQLNET.INBOUND_CONNECT_TIMEOUT = 10
SQLNET.OUTBOUND_CONNECT_TIMEOUT = 10
SQLNET.CONNECT_TIMEOUT = 10
Thanks again.
I use wallet.sso and tcps, if host do not exists it hangs forever, is it possible to get a timeout. from time to time we reconfigure the host and then my programs hang indefinetely:
indefinetely hang.
If the host is correct it works, but if it does not exists, it hangs forever, CONNECT_TIMEOUT=15 do not work.