cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CAP Application not mocking remote services on every second app start

SorenLeibach
Discoverer
104

Hello,

we are currently facing the issue accross multiple CAP projects, that during local development, mocking of remote services doesnt work as expected. 

Every second time our app restarts in local development during cds watch the remote mock services are not started.

We have observed that behavior during in multiple projects:
- It seems only to happen when trying to mock multiple remote services at the same time (3+)
- It seems to only occur in CAP node.js not Java
- It seems to be related to the cds.env not being populated properly.

We have first noted it down since cds 8.3.0

We can mitigate the problem by either causing the server to restart again or running the mocks on a different server seperatly, but a solution would be appreciated.

Best regards
Sören

Accepted Solutions (0)

Answers (0)