Skip to Content
0
Aug 16, 2023 at 03:01 PM

CAP consume Onpremise OData Error in Local: ECONNREFUSED

63 Views

Hi all,

I'm consuming an API from an On-premise system using SAP CAP. My backend service is connected to connectivity, destination, and xsuaa. When the application is deployed, the API I consume from the On-premise system works seamlessly. However, until two days ago, I was able to open a tunnel with the settings below using SSH.

cf enable-ssh <app_name>
cf restart <app_name> cf ssh <app_name> -L <onpremise_proxy_port>:<onpremise_proxy_host>:<onpremise_proxy_port>

But now, when I call the API locally, I receive an ECONNREFUSED error.

image.png

Do you have any idea what has changed?

Thank you for your interest!

Attachments

image.png (10.7 kB)