I have created a Http-Triggered Python Azure Function which takes 3-10 mins to process the entire business logic depending upon the data size.
While triggering this function using postman or python web request, it only waits for the response till 4 mins. If the function executes by that time it gives expected response otherwise it returns 504 Gateway Time-out error. Even while it gives 504 error on the request side, the azure function process the entire load as per expectations and does not fails.
Since the response of the request is responsible for next steps in the pipline so it becomes important for me to capture it. I have tried it for both Get and POST requests.
Can anyone help me to get over this problem?