Skip to Content
0
Jun 13, 2023 at 11:03 AM

CAP-consuming on-premise OData service : read ECONNRESET error

810 Views

Hi Experts,

I’m trying to consume an on-premise OData service inside the CAP App and I’m getting “ Error during request to remote service: read ECONNRESET “ when reading the entity as you can see below

image.png

I’m using Hybrid testing by binding XSUAA, Destination and connectivity services to the application. Following are the project elements:

1.Service definition : image.png2.Package Json:image.png

  1. DEV 1 destination:

image.png

FYI :

  • I have tried to use another OData service and I’ve got the same error
  • I get the same error using another destination “DEV” with HTTPS configured in the Cloud connector, this destination is used by Fiori APP on BTP and it is working fine

  • I have tried to deploy the App to check if the issue is only with local testing via hybrid mode but I still get the same issue as you can see belowimage.png

Please Do you have any suggestions of how to overcome this issue?

Thank you and best regards,

Mariam

Attachments

image.png (149.8 kB)
image.png (62.3 kB)
image.png (86.5 kB)
image.png (133.4 kB)
image.png (235.1 kB)
image.png (198.0 kB)
image.png (235.1 kB)
image.png (130.6 kB)