I made a local cassandra database, my API Proxy cannot access to it.. Is it already possible?

My requests are doing well on Postman, but on APIgee plateform, and after configuring my Target Endpoint with the link to my local data which is http://localhost:8080/cuts. I am getting this error while executing using either TRACE or the browser:

{"fault":{"faultstring":"The Service is temporarily unavailable","detail":{"errorcode":"messaging.adaptors.http.flow.ServiceUnavailable"}}}
Solved Solved
0 2 159
1 ACCEPTED SOLUTION

sidd-harth
Participant V

Are you using Apigee Cloud?

I am pretty sure you are using Apigee Cloud to access the Cassandra DB on your local machine. In simple terms, Apigee Cloud is on the Internet and it cannot access the service running on your local machine. Postman is installed on your machine and so it can access localhost:8080 services.

You have the below options,

  1. You need to use a DB that is on the cloud to use it with the Apigee cloud.
  2. You need to install Apigee on-prem on your machine to use it with your local Cassandra DB.
  3. You can use ngrok to expose your local service publically and then access it through Apigee CLoud.

View solution in original post

2 REPLIES 2

sidd-harth
Participant V

Are you using Apigee Cloud?

I am pretty sure you are using Apigee Cloud to access the Cassandra DB on your local machine. In simple terms, Apigee Cloud is on the Internet and it cannot access the service running on your local machine. Postman is installed on your machine and so it can access localhost:8080 services.

You have the below options,

  1. You need to use a DB that is on the cloud to use it with the Apigee cloud.
  2. You need to install Apigee on-prem on your machine to use it with your local Cassandra DB.
  3. You can use ngrok to expose your local service publically and then access it through Apigee CLoud.

@Siddharth Barahalikar

I am just testing, so I applied the third option and it worked.. Thanks sir!