I have a lengthy user defined API (+- 40 seconds)
I have already modified the code-behind automation script to avoid a timeout there.
I have configured the DxM that hosts the API to extend the timeout:
When triggering this using postman, it succeeds when using 'localhost', only when I go via x-y.on.dataminer.services I get a timeout in postman after about 30 seconds.
Is there anything I can do to solve this?
Thx
Reponse in postman
Hi Jan,
All request going through remote access (dataminer.services) have to be finished within the 30 seconds timeout. Currently there is no way around that.
A better (asynchronous) approach for your use case is by having a call to trigger the process which, if the request is valid & authenticated, just returns 'Accepted' and ideally an ID. And another call to get the response or status of the process by that ID.
Wkr