Skip to Content
0
Jan 09, 2023 at 06:04 PM

Service Timeout Error : Cloud Foundry Node API Call via Cloud Connector

569 Views Last edit Jan 09, 2023 at 07:56 PM 3 rev

Hello Experts,

I am trying to consume ES5 Demo gateway service(Northwind works fine) in a Node Application
Below I have mentioned the details of my application:

SAP CC Details:

image.png

Destination in BTP Cockpit:

image.png

Node App Details:

default-env.json:

image.png

manifest:

image.png

index.js:

Getting a Destination token and using that to fetch the destination information correctly

image.png


After this using the connectivity service information to fetch the Connectivity service token so that URL request can be made via proxy to the cloud connector destination.

image.png

Running locally gives below output :

Getting tokens sucessfully :

image.png

Timeout Error when running the app locally:

image.png

image.png

When running the app in BTP CF:

image.png

Frank Essenberger Carlos Roggan
Mahesh Palavalli

Regards,

Vishnu

Attachments

image.png (46.2 kB)
image.png (54.7 kB)
image.png (14.5 kB)
image.png (13.4 kB)
image.png (62.1 kB)
image.png (79.0 kB)
image.png (92.7 kB)
image.png (20.0 kB)
image.png (38.7 kB)
image.png (9.2 kB)