This error is occurs when your app’s infrastructure closes the connection because it is inactive. Your app client does not know this and gets this error when it makes a new request.
There are two ways to resolve this:
Alter the value of the
http.client.CleanupAfterSeconds runtime setting to be less than the connection timeout. This will ensure that the your app client will create a new HTTP client for the request.
Handle the error in your microflow and retry a number of times before returning the error. Your flow might look similar to the one below.