I have a NodeJS application which uses oracledb library to connect to an Oracle Database . It's using the following code to try to connect to the database:
this.oracledb.fetchAsBuffer = [this.oracledb.BLOB];
const dbconfig = {
user: 'mysuser',
password: 'mypass',
connectString: '10.xxx.xx.xxx/MYORCLID'
};
console.log("Trying to get connection");
return await this.oracledb.getConnection(dbconfig);
But, I'm receiving the following error now during the "getConnection" method:
"Error: ORA-03135: connection lost contact"
Please, is there anything wrong with this code? It was working before but suddenly I started to receive the above message. From where should I start to check?
I've tried telnet
and it worked too, so I'm not sure if this is a firewall issue.