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

dean_allsopp avatar image
dean_allsopp asked ·

Error with astra-ui Load Balancer deployment Save option

Week 8 - End of Exercise 2 - Deployments and Load Balancers - Access Astra on port 3000

'Test Connection' returned OK (after database unparked), but 'Save' returned this message. Please can you give me a pointer on solving this error (credentials obscured):

{"message":"Network Error","name":"Error","fileName":"http://104.197.143.224/index.js line 6323 > eval","lineNumber":16,"columnNumber":15,"stack":"createError@webpack-internal:///./node_modules/axios/lib/core/createError.js:16:15\nhandleError@webpack-internal:///./node_modules/axios/lib/adapters/xhr.js:81:14\n","config":{"url":"http://104.155.156.9:80/api/credentials?username=**&password=**&keyspace=**","method":"post","data":{},"headers":{"Accept":"application/json, text/plain, */*"},"transformRequest":[null],"transformResponse":[null],"timeout":0,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1}}

Thanks!

workshop
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

bettina.swynnerton avatar image
bettina.swynnerton answered ·

Hi @dean_allsopp,

if the UI rendered correctly for you, the load balancer service was working. I assume that you also tried the serving backend.

I tried your public URLs, but could not access them, I assume that you stopped the services.

It's not an error pattern that I have seen before. You can check in the logs of the backend pod if an api request got rejected.

To do so, list the backend pod to get its full name.

kubectl get pods -n my-app

Then check the logs of this pod:

kubectl -n my-app logs <full pod name>

See if you see any errors.

Thanks!

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.