Short flow, and yet "The client application timed out" error
I'm calling a flow from a mobile canvas power app. Average duration of the flow is 17sec, and the "Respond to a PowerApp or flow" action almost always succeeds. Once in a while, even though the duration of the flow is no longer than usual, the response action fails with this error message:
"The execution of template action 'Respond_to_a_PowerApp_or_flow' is failed: the client application timed out waiting for a response from service. This means that workflow took longer to respond than the alloted timeout value. The connection maintained between the client application and service will be closed and client application will get an HTTP status code 504 Gateway Timeout."
In the mobile canvas app, the user gets this error message:
The app is used outdoors. Can it be network issues? Because there is no problem to initiate the flow from the app.