https://prefect.io logo
#prefect-community
Title
# prefect-community
j

John Kang

11/02/2022, 5:18 PM
I've been re-deploying some flows this morning and I have been successful in re-deploying flows until about 15 minutes ago when I received this error. I have not changed anything prefect-wise in my code, is this a server error?
1
(Capacity_venv) C:\Users\jkang1\PycharmProjects\Manheim_Capacity>prefect deployment build main_python_files/w_wrapper_update_data.py:wrapper_data_update_function --name Capacity --storage-block gcs/gcs-capacity-subfolder --work-queue update --cron "0 */8 * * *" --apply Running on nt where nt is windows AND DASH_APP_NAME not in os.environ Found flow 'Capacity data update flow' Traceback (most recent call last): File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\cli\_utilities.py", line 41, in wrapper return fn(*args, **kwargs) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\utilities\asyncutils.py", line 201, in coroutine_wrapper return run_async_in_new_loop(async_fn, *args, **kwargs) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\utilities\asyncutils.py", line 152, in run_async_in_new_loop return anyio.run(partial(__fn, *args, **kwargs)) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\anyio\_core\_eventloop.py", line 56, in run return asynclib.run(func, *args, **backend_options) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\anyio\_backends\_asyncio.py", line 233, in run return native_run(wrapper(), debug=debug) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\asyncio\runners.py", line 44, in run return loop.run_until_complete(main) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\anyio\_backends\_asyncio.py", line 228, in wrapper return await func(*args) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\cli\deployment.py", line 822, in build storage = await Block.load(storage_block) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\client\utilities.py", line 47, in with_injected_client return await fn(*args, **kwargs) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\blocks\core.py", line 647, in load block_document = await client.read_block_document_by_name( File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\client\orion.py", line 1153, in read_block_document_by_name response = await self._client.get( File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\httpx\_client.py", line 1751, in get return await self.request( File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\httpx\_client.py", line 1527, in request return await self.send(request, auth=auth, follow_redirects=follow_redirects) File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\client\base.py", line 182, in send response.raise_for_status() File "C:\Users\jkang1\.conda\envs\Capacity_venv\lib\site-packages\prefect\client\base.py", line 125, in raise_for_status raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.cause prefect.exceptions.PrefectHTTPStatusError: Server error '500 Internal Server Error' for url 'https://api.prefect.cloud/api/accounts/4e02abe6-e67a-4ffa-b8f9-258b7194df4e/workspaces/140a070a-5c2c-4de9-9bf6-33d62e675a65/block_types/slug/gcs/block_documents/name/gcs-capacity-subfolder?include_secrets=true' Response: {'exception_message': 'Internal Server Error'} For more information check: https://httpstatuses.com/500 An exception occurred.
a

Amir

11/02/2022, 5:19 PM
Can you check your blocks in the UI? Same issue, mine are all gone
They came back, issue should be resolved if you try again
j

John Kang

11/02/2022, 5:20 PM
I see my blocks in the UI, let me try again
oh weird it is working now!
What happened?
Thanks for the heads up @Amir
a

Amir

11/02/2022, 5:21 PM
Blocks in prefect cloud are stored server-side, so something probably happened that temporary deleted them prior to restoration
Had a heart attack lol. You're welcome!
j

John Kang

11/02/2022, 5:21 PM
Me too! If they had been deleted I would have had to spend hours recreating them!
😅 1
b

Bianca Hoch

11/02/2022, 5:37 PM
Hey team, apologies for the undue panic. Posting our Status page for visibility. We had a brief outage that has been resolved now. Details to come shortly. https://prefect.status.io/
🙌 1
a

Amir

11/02/2022, 6:46 PM
@Bianca Hoch thanks for letting us know!
🙌 1
j

John Kang

11/02/2022, 6:46 PM
@Bianca Hoch Thanks as well.
I appreciate the link. Subscribing now
🙌 1
3 Views