Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
DebanjanKabiraj
Contributor
Contributor

Database Connection Error

We are facing issues while connecting client's database server, tns ping is occurring, telnet is occurring, normal ping is also occurring.

We can established the connection on qlik cloud, with on prem database using both the oracle and oracle (Via direct access gateway) but data is not fetching from database and test the connection that giving the following error: 

Oracle Error:

ERROR [HY000] [Qlik][OracleOCI] (3000) Oracle Caller Interface: ORA-03135: connection lost contact

Oracle (Via direct access gateway) Error:

Status(StatusCode="Internal", Detail="Command testconnection returned non-success: Error message:
Please check the values for Username‚ Password‚ Host and other properties. Description: General error - ERROR [HY000] [Qlik][OracleOCI] (3000) Oracle Caller Interface: ORA-03135: connection lost contact

ERROR [HY000] [Qlik][OracleOCI] (3000) Oracle Caller Interface: ORA-03135: connection lost contact
[Qlik][OracleOCI] (3000) Oracle Caller Interface: ORA-03135: connection lost contact
")

 

Labels (1)
  • SaaS

1 Reply
diegozecchini
Specialist
Specialist

Hi!
Oracle may be terminating idle sessions due to timeout settings.
On the Oracle database server, check and increase the value of SQLNET.EXPIRE_TIME in sqlnet.ora: SQLNET.EXPIRE_TIME=10
This setting ensures that keepalive packets are sent every 10 minutes.

If the issue is related to timeouts, you may need to increase CONNECT_TIMEOUT, RECV_TIMEOUT, and SEND_TIMEOUT in the sqlnet.ora file on the client-side.
CONNECT_TIMEOUT=60
RECV_TIMEOUT=300
SEND_TIMEOUT=300