How can I avoid getting this error? ```16:21:19.3...
# prefect-cloud
j
How can I avoid getting this error?
Copy code
16:21:19.382 | ERROR   | prefect.agent - Client error '408 Request Timeout' for url '<https://api.prefect.cloud/api/accounts/{id}/workspaces/{id}/work_queues/{id}/get_runs>'
For more information check: <https://httpstatuses.com/408>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/prefect/agent.py", line 212, in get_and_submit_flow_runs
    queue_runs = await self.client.get_runs_in_work_queue(
  File "/usr/local/lib/python3.10/site-packages/prefect/client/orchestration.py", line 911, in get_runs_in_work_queue
    response = await <http://self._client.post|self._client.post>(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1848, in post
    return await self.request(
  File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1530, in request
    return await self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/site-packages/prefect/client/base.py", line 280, in send
    response.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/prefect/client/base.py", line 137, in raise_for_status
    raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '408 Request Timeout' for url '<https://api.prefect.cloud/api/accounts/{id}/workspaces/{id}/work_queues/{id}/get_runs>'
j
This seems like a networking issue in your infra. We have a fixed 30 second timeout for all HTTP requests (which includes time for your agent/worker to transmit data to Prefect Cloud), and a lot of things can cause this behavior https://cloud.google.com/load-balancing/docs/https/troubleshooting-ext-https-lbs#resolving_http_408_errors