Jarvis Stubblefield
05/25/2023, 5:27 PMrun_deployment
specified in one of it’s routes. When posting to that URL I get an error and it seems like it is looking for the deployment on a local copy of Prefect Server (previously Orion) instead of Prefect Cloud which is what I’m using… Here’s the error without the stack trace…
prefect.exceptions.PrefectHTTPStatusError: Client error '404 Not Found' for url '<http://ephemeral-prefect/api/deployments/name/alert-early-intervention/alert_early_intervention>'
… I have confirmed that the deployment exists in my Prefect Cloud under the name alert-early-intervention/alert_early_intervention
.Jarvis Stubblefield
05/25/2023, 5:31 PMPREFECT_PROFILE
that my project looks for. It uses ENV
variables to fill the PREFECT_API_KEY
and PREFECT_API_URL
. I’m not sure what I’ve missed in setting up the Primary server to communicate with Prefect Cloud. However, I must have missed some difference because the Prefect server has no issue connecting with Prefect Cloud…Jarvis Stubblefield
05/25/2023, 5:43 PMprefect cloud login
and pasted my API Key. It authenticated me. It is using the proper workspace from the CLI which means my Primary server is communicating with the Prefect Cloud via the CLI. However, when running the Django code it doesn’t seem to know about Prefect Cloud and instead is looking locally for an instance of Prefect Orion…Jarvis Stubblefield
05/25/2023, 6:13 PMJarvis Stubblefield
05/25/2023, 6:13 PMZanie