on 09-01-2023 3:39 PM
Hi All,
My team currently facing challenge calling On Prem Odata service via BTP subaccount destination from local BAS. if same CAP app we deploy on CF this is working perfectly fine but when we try running CDS watch(even after keeping .cdsrc-private.json updated with destination and connectivity service) from local, its not working. its throwing error as :
"Error: Error during request to remote service:
read ECONNRESET
at run (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/libx/_runtime/remote/utils/client.js:310:31)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RemoteService.<anonymous> (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/libx/_runtime/remote/Service.js:295:20)
at async next (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/lib/srv/srv-dispatch.js:79:17)
at async RemoteService.handle (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/lib/srv/srv-dispatch.js:77:10)
at async RemoteService.handle (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/libx/_runtime/remote/Service.js:343:22)
at async next (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/lib/srv/srv-dispatch.js:79:17)
at async ApplicationService.handle (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/lib/srv/srv-dispatch.js:77:10)
at async _readCollection (/home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/libx/_runtime/cds-services/adapter/odata-v4/handlers/read.js:249:19)
at async /home/user/deloitte/CAPS4H/sample1/node_modules/@sap/cds/libx/_runtime/cds-services/adapter/odata-v4/handlers/read.js:480:16 {
statusCode: 502,
reason: {
message: 'Error during request to remote service: \nread ECONNRESET',"
Please let us know if any one faced this issue before and we have solution for it.
I was able to fix this with 3112360 sap note. Thank you!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.