Datastax Astra : error fetching metadata information using secure bundle

135 views Asked by At

My goal is to use a Secure Connect Bundle to connect to my database on Astra. However, I'm getting This error (underlined in blue):

enter image description here


First I went to my server (Celestia) and went to the connect tab to download the bundle. enter image description here


Afterwards, I followed the instruction:enter image description here

Since I am on windows i used "type nul" to create the file instead of touch connect-database.js.


I modified the connect-database.js file as per the instructions. enter image description here However, as mentioned above when I try to run the code :node connect-database.js I get a NoHostAvailableError.

1

There are 1 answers

0
Andrew On

Following the instructions - I am able to connect without issue - the only difference being that I am using OSX and not windows.

Double check that you have not set the database to 'Restrict Public Access', you would need to have your IP in the allow list to make a connection.