I've been searching for an answer to this question for a while now. I have a request that has the potential to take longer than 1 minute but it keeps timing out after 1 minute resulting in a 504 response. Since this is a .net core application, there is no web.config file to change the timeout property(at least until the application is published), therefore I have not been able to find a solution to this problem. Any help would be very appreciated
I am running on .net core 2.2 by the way.
UPDATE: It seems that I have now uncovered the reason behind the 504. It is the load-balancer that responds with a 504 if the server connection is idle for 60 seconds. The question has now become how do I keep the connection from going idle for 60 seconds during this call.