James Ashby
04/28/2023, 5:29 PMprefect agent start -q main
. When I look at the logs for this, it shows me the agent starts and that it's checking for runs but it doesn't find any. Meanwhile the work queue in Prefect Cloud is unhealthy with a bunch of late runs. I tried reauthenticating to Prefect Cloud from the terminal and restarting the agent and upgrading to the latest prefect version. Any other advice?Will Raphaelson
04/28/2023, 5:31 PMprefect config view
James Ashby
04/28/2023, 5:35 PMSteven Trimboli
04/28/2023, 5:35 PMJames Ashby
04/28/2023, 5:42 PMSteven Trimboli
04/28/2023, 5:44 PMJames Ashby
04/28/2023, 5:55 PMSteven Trimboli
04/28/2023, 5:56 PMJames Ashby
04/28/2023, 5:56 PMWill Raphaelson
04/28/2023, 5:58 PMSteven Trimboli
04/28/2023, 5:59 PMAndrew Brookins
04/28/2023, 7:30 PMSteven Trimboli
04/29/2023, 3:20 PMTraceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/prefect/_internal/concurrency/services.py", line 120, in _run
async with self._lifespan():
File "/usr/local/lib/python3.10/contextlib.py", line 199, in __aenter__
return await anext(self.gen)
File "/usr/local/lib/python3.10/site-packages/prefect/events/worker.py", line 30, in _lifespan
async with self._client:
File "/usr/local/lib/python3.10/site-packages/prefect/events/clients.py", line 118, in __aenter__
await self._reconnect()
File "/usr/local/lib/python3.10/site-packages/prefect/events/clients.py", line 136, in _reconnect
self._websocket = await self._connect.__aenter__()
File "/usr/local/lib/python3.10/site-packages/websockets/legacy/client.py", line 637, in __aenter__
return await self
File "/usr/local/lib/python3.10/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
return await self.__await_impl__()
File "/usr/local/lib/python3.10/site-packages/websockets/legacy/client.py", line 659, in __await_impl__
_transport, _protocol = await self._create_connection()
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1036, in create_connection
infos = await self._ensure_resolved(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1418, in _ensure_resolved
return await loop.getaddrinfo(host, port, family=family, type=type,
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 863, in getaddrinfo
return await self.run_in_executor(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 821, in run_in_executor
executor.submit(func, *args), loop=self)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 167, in submit
raise RuntimeError('cannot schedule new futures after shutdown')
RuntimeError: cannot schedule new futures after shutdown
Andrew Brookins
05/06/2023, 1:14 AM