Open lucasborin opened 8 months ago
hm, I did the same thing, but on Azure: https://github.com/Azure-Samples/app-service-javascript-sap-cap-quickstart/blob/293b5a4d78c3ccd2ca38440b0b01a19c2ae6f517/src/.cdsrc.json#L26 that worked ootb. → assumption: this might be an issue with CF/destination?
@lucasborin have you been able to solve this problem on your end?
@lucasborin have you been able to solve this problem on your end?
I'm using SAP HANA now, and I was not able to use the postgres in hybrid mode.
[odata] - > READ Activities { '$count': 'true', '$filter': '(IsActiveEntity eq false or SiblingEntity/IsActiveEntity eq null)', '$select': 'HasActiveEntity,IsActiveEntity,accountManagerId,accountManagerName,activityAdministrator,activityDesc,activityId,activityOrg,contract,goLiveDate,modifiedAt,modifiedBy,projectManagerId,projectManagerName', '$skip': '0', '$top': '30' } [cds] - TimeoutError: ResourceRequest timed out at ResourceRequest._fireTimeout (/home/user/projects/timesheet/packages/server/node_modules/generic-pool/lib/ResourceRequest.js:62:17) at Timeout.bound (/home/user/projects/timesheet/packages/server/node_modules/generic-pool/lib/ResourceRequest.js:8:15) at listOnTimeout (node:internal/timers:573:17) at process.processTimers (node:internal/timers:514:7) Active connections:0 { id: '1017596', level: 'ERROR', timestamp: 1720285318950 }
I am facing the same issue. Is there a solution or workaround available for this to test the postgre db in hybrid mode
@arunkrishnamoorthy it is not possible to give support with the ResourceRequest timed out
error. If you are still facing this issue please catch the error thrown here. Most likely the error message will already give you an indication of what is going wrong. Most likely the connection is being rejected as your host is blocked. It is standard practice for internal services to only allow known internal host to connect to the server.
Description of erroneous behaviour
The statement
cds watch --profile hybrid
binds the Postgres instance, but the CAP read fails due to resource timeout.CAP database call:
Console (sensitive data hidden):
Project
.cdsrc.json
:Project
.cdsrc-private.json
(sensitive data hidden):Details about your project