Ethan Shenker
08/12/2020, 2:33 PMfinished task run for task with final state: 'Paused'
, and I'm not sure as to how this would be fixed.nicholas
nicholas
Ethan Shenker
08/12/2020, 2:52 PMEthan Shenker
08/12/2020, 3:05 PMflow.register(project_name="...")
and flow.run_agent()
, but is there another way that I could have it deploy to the cloud rather than my localhost?nicholas
$ prefect backend cloud && prefect auth login -t <<YOUR_TOKEN>>
nicholas
Ethan Shenker
08/12/2020, 3:12 PMnicholas
prefect version
Ethan Shenker
08/12/2020, 3:13 PMnicholas
Ethan Shenker
08/12/2020, 3:17 PMnicholas
Chris White
Ethan Shenker
08/12/2020, 3:44 PMprefect server start
, prefect agent start
, and running my file, I get an error that's never been thrown before:
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:4200/graphqlnicholas
prefect backend server
before you interact with your local server and prefect backend cloud
for interacting with Cloud 🙂Ethan Shenker
08/12/2020, 3:49 PMprefect backend server
command is also ran. However, that HTTP error still persists.Ethan Shenker
08/12/2020, 3:53 PMEthan Shenker
08/12/2020, 4:01 PMEthan Shenker
08/12/2020, 4:01 PMChris White
Ethan Shenker
08/12/2020, 4:18 PMoverwrite_flow.register(project_name="Pricing Flow")
command, but the same HTTP 400 error is being thrownChris White
Ethan Shenker
08/12/2020, 4:21 PMEthan Shenker
08/12/2020, 4:21 PMEthan Shenker
08/12/2020, 4:21 PMChris White
prefect server start
did you have 0.13.2 installed?Ethan Shenker
08/12/2020, 4:28 PMprefect version
right now, and it displays 0.13.2, and I'm going to run the server again and try from thereEthan Shenker
08/12/2020, 4:29 PMEthan Shenker
08/12/2020, 4:29 PMgraphql_1 | INFO: 172.22.0.6:46756 - "POST /graphql/ HTTP/1.1" 200 OK
these messagesEthan Shenker
08/12/2020, 4:30 PMEthan Shenker
08/12/2020, 4:30 PMChris White
Ethan Shenker
08/12/2020, 4:32 PMprefect backend server
, prefect agent start
, and I try to rerun my flow but I get the same client errorChris White
PREFECT__CLOUD__DIAGNOSTICS=true
as an environment variable before you register your Flow? This will show the GraphQL call your client is making (it’ll be long)Ethan Shenker
08/12/2020, 4:37 PMexport PREFECT__CLOUD__DIAGNOSTICS=true
but nothing changedEthan Shenker
08/12/2020, 4:41 PMEthan Shenker
08/12/2020, 4:44 PMEthan Shenker
08/12/2020, 4:49 PMEthan Shenker
08/12/2020, 4:49 PMnicholas
pip install --force-reinstall prefect==0.12.3
Ethan Shenker
08/12/2020, 4:50 PMEthan Shenker
08/12/2020, 4:56 PMnicholas
Chris White
Ethan Shenker
08/13/2020, 4:59 AM