So in this code I wrote, I am trying to connect to my database through a ssh tunnel. And when I am only using oracledb.createPool(dbconfig), everything works fine. But when I wrote const connection = await oracledb.getConnection(dbConfig);, the process timed out. The SSH tunnel got connected successfully by the way.
So in this code I wrote, I am trying to connect to my database through a ssh tunnel. And when I am only using
oracledb.createPool(dbconfig)
, everything works fine. But when I wroteconst connection = await oracledb.getConnection(dbConfig);
, the process timed out. The SSH tunnel got connected successfully by the way.