Build Cloud-Native apps with Apache Cassandra

GOT QUESTIONS from the Workshop? You're in the right place! Post a question here and we'll get you answers.

Click here for Week 8 Materials and Homework.

Follow us on Eventbrite to get notified when new workshops are scheduled!


question

shaileshmaharaj avatar image
shaileshmaharaj asked Erick Ramirez answered

Why am I getting "no such file or directory" when connecting to Astra for the workshop exercise?

I am not able to connect python or node js to Cassandra despite following all the steps. Error seems to be in directory

gitpod /workspace/cassandra-workshop-series/week3-AppDev-crud/crud-nodejs $ node Ex02_Connect_to_Cassandra.js
========================================
Start exercise
========================================
ENOENT: no such file or directory, open '/C:/Users/10651748/Downloads/secure-connect-killrvideocluster(2).zip'
workshopastra
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

The problem you're facing appears to be due to an incorrect path to your Astra secure connect bundle.

In the error message, you've configured it with an incorrect Windows path:

/C:/Users/10651748/Downloads/secure-connect-killrvideocluster(2).zip

In step 3c of the workshop instructions, you needed to upload your bundle to Gitpod. Since you're running on Gitpod, it needs to be a Linux path.

Bettina has explained why it doesn't work in question #6499. Have a look at her answer if you still need assistance. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.