Samuel Bunce

02/23/2023, 9:15 AM
hi prefect, we had the following error last night
prefect\client\", line 130, in raise_for_status
    raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Server error '502 Bad Gateway' for url
For more information check: <> 
Agent stopped!
which we believe is caused by a failure to communicate with the cloud instance. We have a default argument for number of tries, which is set here to 3 - ideally we would like to be able to reconfigure it or set it to infinite so that when our agents cannot communicate with cloud, they don't all collapse - we had to restart everything this morning. As another point, this obviously generated hundreds of late flows. Why is there no 'select all' function on the UI, or capability to remove all late flows. The best I have been able to do so far is to go through and manually click to remove all late flows. Feel like there should be more functionality for actions on batches of flow runs