https://prefect.io logo
t

Tim-Oliver

08/02/2023, 12:35 PM
Hi, Has anyone else an issue with the prefect agent polluting the logs with the following:
Copy code
Traceback (most recent call last):
  File "/lib/python3.9/site-packages/prefect/_internal/concurrency/services.py", line 118, in _run
    async with self._lifespan():
  File "/lib/python3.9/contextlib.py", line 181, in __aenter__
    return await self.gen.__anext__()
  File "/lib/python3.9/site-packages/prefect/events/worker.py", line 30, in _lifespan
    async with self._client:
  File "/lib/python3.9/site-packages/prefect/events/clients.py", line 123, in __aenter__
    await self._reconnect()
  File "/lib/python3.9/site-packages/prefect/events/clients.py", line 141, in _reconnect
    self._websocket = await self._connect.__aenter__()
  File "/lib/python3.9/site-packages/websockets/legacy/client.py", line 637, in __aenter__
    return await self
  File "/lib/python3.9/site-packages/websockets/legacy/client.py", line 655, in __await_impl_timeout__
    return await self.__await_impl__()
  File "/lib/python3.9/site-packages/websockets/legacy/client.py", line 659, in __await_impl__
    _transport, _protocol = await self._create_connection()
  File "/lib/python3.9/asyncio/base_events.py", line 1073, in create_connection
    raise OSError('Multiple exceptions: {}'.format(
OSError: Multiple exceptions: [Errno 111] Connect call failed ('34.111.36.90', 443), [Errno 101] Network is unreachable
I get like 2 lines of proper log and then this. All the time. Is there any way I can suppress this? Or maybe better, fix it?
d

Deceivious

08/02/2023, 12:43 PM
Prefect OOS or cloud ?
t

Tim-Oliver

08/02/2023, 12:45 PM
cloud