27

SAP CAP hybrid testing getting 'ECONNRESET' error when calling on-prem odata ser...

 1 year ago
source link: https://answers.sap.com/questions/13834307/sap-cap-hybrid-testing-getting-econnreset-error-wh.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
22 minutes ago

SAP CAP hybrid testing getting 'ECONNRESET' error when calling on-prem odata service

3 Views

In my CAP application, I am consuming an external OData service from my on-prem backend system via BTP destination(using Cloud Connector). When I deploy the app to Cloud Foundry, it works correctly, returning data from the backend OData service. However, when I configure my CAP project for Hybrid Testing, by binding XSUAA, Destination, and Connectivity service instance (in .cdsrc-private.json) and running the project locally with 'cds watch --profile hybrid', I get the following error when I try to read the data from the external service, 'Error during request to remote service: read ECONNRESET'.

My mta.yaml is setup correctly with service module containing 'requires' section for dependency on XSUAA, Destination, and Connectivity service instance which are deployed in BTP and our bound.

When I do the exact same thing for a backend system on internet, Hybrid testing is working correctly. Not sure what's causing this for on-prem?

I just started doing my debugging into this and would appreciate any help from the community.

error.png

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK