Alireza
08/12/2024, 1:43 PMSuccessfully uploaded 667 files to <s3://prefect-greenfact-github/high-freq/>
Traceback (most recent call last):
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/cli/_utilities.py", line 41, in wrapper
return fn(*args, **kwargs)
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 255, in coroutine_wrapper
An exception occurred.
return call()
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 383, in __call__
return self.result()
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 283, in result
return self.future.result(timeout=timeout)
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 169, in result
return self.__get_result()
File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 346, in _run_async
result = await coro
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/cli/deployment.py", line 1210, in build
deployment_id = await deployment.apply()
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/deployments/deployments.py", line 718, in apply
deployment_id = await client.create_deployment(
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/client/orchestration.py", line 1479, in create_deployment
response = await <http://self._client.post|self._client.post>(
File "/home/runner/.venv/lib/python3.10/site-packages/httpx/_client.py", line 1892, in post
return await self.request(
File "/home/runner/.venv/lib/python3.10/site-packages/httpx/_client.py", line 1574, in request
return await self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/client/base.py", line 280, in send
response.raise_for_status()
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/client/base.py", line 138, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Server error '503 Service Unavailable' for url '***/deployments/'
Marvin
08/12/2024, 1:43 PMgot this error while deploying some flows :```Successfully uploaded 667 files to s3://prefect-greenfact-github/high-freq/ Traceback (most recent call last): File "/home/runner/.venv/lib/python3.10/site-packages/prefect/cli/_utilities.py", line 41, in wrapper return fn(*args, **kwargs) File "/home/runner/.venv/lib/python3.10/site-packages/prefect/utilities/asyncutils.py", line 255, in coroutine_wrapper An exception occurred. return call() File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 383, in call return self.result() File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 283, in result return self.future.result(timeout=timeout) File "/home/runner/.venv/lib/python3.10/site-packages/prefect/_internal/concurrency/calls.py", line 169, in result return self.__get_result() File "/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/home
Alireza
08/12/2024, 1:44 PMMarvin
08/12/2024, 1:44 PMAlireza
08/12/2024, 1:44 PMAn exception occurred.
....
File "/home/runner/.venv/lib/python3.10/site-packages/prefect/client/base.py", line 138, in raise_for_status
raise PrefectHTTPStatusError.from_httpx_error(exc) from exc.__cause__
prefect.exceptions.PrefectHTTPStatusError: Server error '503 Service Unavailable' for url '***/deployments/'
Marvin
08/12/2024, 1:45 PM503 Service Unavailable
error typically indicates that the server is temporarily unable to handle the request. Here are some steps you might consider to resolve this issue:
1. Retry the Deployment: Sometimes, a 503 Service Unavailable
error is a transient issue. Waiting a few moments and trying the deployment again can resolve the problem.
2. Check Server Status: Ensure the server hosting the deployments is up and running.
3. Inspect Network Configuration: Verify that there are no network issues or misconfigurations, as these can also lead to server unavailability.
4. Contact Support: If the problem persists, consider reaching out to Prefect support for further assistance.
For further details, you might want to look into:
- A relevant excerpt from the Databricks integrations documentation: Databricks Common Cluster Errors
If you need more specific debugging steps or additional assistance, providing more context or additional log information would be helpful.Alireza
08/13/2024, 8:51 AMprefect.exceptions.PrefectHTTPStatusError: Server error '503 Service Unavailable' for url '***/deployments/'
so the question is if the /deployments endpoint running?Marvin
08/13/2024, 8:51 AM/deployments
endpoint. However, a 503 Service Unavailable
typically means the server is temporarily overloaded or undergoing maintenance.
Potential Actions:
1. Retry Deployment: Sometimes services are temporarily unavailable. Wait and try again later.
2. Check API Status: Ensure the Prefect server or cloud service is operational.
3. Inspect Server Logs: Review any logs on your server for more detailed error information.
4. Contact Support: If the issue persists, reach out to Prefect support for help.
For more information on deployments, you can review the Prefect Deployments Documentation.
If you have access to the server, it would be helpful to check the service status and ensure everything is running correctly on your deployment infrastructure.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by