Nikolaus Landgraf
07/19/2022, 7:15 AM2.0b8
we have experienced 2 things:
• performance of single flows became around 2x slower (we are using the Sequential task runner) and have a lot of database operations in our tasks
• Some Flows get interrupted by a 403 forbidden error and do not pick up from where they were left. Is there a way of increasing the lifetime of the token?Anna Geller
Nikolaus Landgraf
07/19/2022, 11:59 AMTraceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/prefect/cli/_utilities.py", line 44, in wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/prefect/utilities/asyncio.py", line 193, in wrapper
return run_async_in_new_loop(async_fn, *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/prefect/utilities/asyncio.py", line 140, in run_async_in_new_loop
return anyio.run(partial(__fn, *args, **kwargs))
File "/usr/local/lib/python3.8/dist-packages/anyio/_core/_eventloop.py", line 70, in run
return asynclib.run(func, *args, **backend_options)
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 292, in run
return native_run(wrapper(), debug=debug)
File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 287, in wrapper
return await func(*args)
File "/usr/local/lib/python3.8/dist-packages/prefect/cli/agent.py", line 65, in start
await agent.get_and_submit_flow_runs()
File "/usr/local/lib/python3.8/dist-packages/prefect/agent.py", line 100, in get_and_submit_flow_runs
work_queue = await self.client.read_work_queue(work_queue_id)
File "/usr/local/lib/python3.8/dist-packages/prefect/client.py", line 935, in read_work_queue
response = await self._client.get(f"/work_queues/{id}")
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 1751, in get
return await self.request(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 1527, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/usr/local/lib/python3.8/dist-packages/prefect/client.py", line 280, in send
response.raise_for_status()
File "/usr/local/lib/python3.8/dist-packages/prefect/client.py", line 226, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Client error '403 Forbidden' for url '<https://api-beta.prefect.io/api/accounts/.../>...
For more information check: <https://httpstatuses.com/403>
An exception occurred.
Successfully logged in and set workspace to '...' in
profile 'default'.
Zanie
Nikolaus Landgraf
07/21/2022, 3:59 PMZanie
Nikolaus Landgraf
07/21/2022, 4:05 PM2.0b7
-> 2.0b8
. Yes I will share it in a bitZanie
Nikolaus Landgraf
07/22/2022, 8:56 AMAnna Geller
Zanie
Nikolaus Landgraf
07/25/2022, 12:21 PMAnna Geller