Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Connecting with node

edited Apr 16, 2022 7:56AM in Autonomous Database 1 comment

Content

A very basic question but I’m having problems connecting a basic node app to my trial subscription cloud database. 

I used the examples from https://github.com/oracle/node-oracledb/tree/master/examples. The only env variable I’m using is NODE_ORACLEDB_PASSWORD but everything else I just put in the config file. If I console log the connect info it looks as I expect with the connection string, user and password as I have set them.
 
The error I’m getting when running node example is ORA-12537: TNS:connection closed. Am I missing something basic or could you possibly point me in the right direction on how to troubleshoot this? I connected from SQL Developer using the wallet I downloaded and it works fine.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!