Gonzalo
09/01/2021, 6:01 PMset_schedule_active
I always get "success": false
).
When I try to manually toggle the flow through the GUI the entire server hangs until I manually kill the GraphQL process on the server.
Can anyone help or provide some insight? I'm acting as an interpreter for the tech team so I have to do some back and forth with my questions.Kevin Kho
Gonzalo
09/01/2021, 6:24 PMGonzalo
09/01/2021, 6:24 PMZach Angell
Zach Angell
Gonzalo
09/01/2021, 6:30 PMGonzalo
09/01/2021, 9:18 PMKevin Kho
prefect server start
? Still seems like something may have not spin up rightGonzalo
09/01/2021, 9:31 PMGonzalo
09/01/2021, 9:34 PMKevin Kho
Gonzalo
09/01/2021, 9:36 PMKevin Kho
query { hello }
in the interactive API?Gonzalo
09/01/2021, 9:39 PM{
"data": {
"hello": "👋"
}
}
Kevin Kho
query {flow {
id
}}
Gonzalo
09/01/2021, 9:40 PMKevin Kho
Gonzalo
09/01/2021, 9:41 PMKevin Kho
Gonzalo
09/01/2021, 9:43 PMGonzalo
09/01/2021, 9:45 PM[server]
endpoint = "http://<name>:4200"
request_timeout = 60
[server.ui]
apollo_url = "http://<name>:4200/graphql"
where "<name>" is the urlKevin Kho
/graphql
after endpoint?Kevin Kho
Gonzalo
09/01/2021, 9:50 PMKevin Kho
Gonzalo
09/01/2021, 9:54 PMGonzalo
09/01/2021, 9:54 PMKevin Kho
[server]
[server.ui]
apollo_url = "<http://YOUR_MACHINES_PUBLIC_IP:4200/graphql>"
on the server and
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
for the agent.
and also prefect backend server
of course. Really weird if your agent has no config.toml cuz it looks like it’s hitting a nearly correct endpoint there.Kevin Kho
Gonzalo
09/01/2021, 10:35 PMGonzalo
09/01/2021, 10:37 PMbackend = "server"
that's on the same directoryKevin Kho
config.toml
for the agent also in that same .prefect
directoryGonzalo
09/01/2021, 10:47 PMGonzalo
09/01/2021, 10:49 PMconfig.toml
for the agent under the same directory is confusing since we already have a file with that same nameKevin Kho
.prefect
directory where the backend.toml
is? You already have a config? GraphQL on port 4201 looks good. But your endpoint will be on 4200Kevin Kho
Kevin Kho
Gonzalo
09/01/2021, 11:03 PMconfig.toml
thereZach Angell
.prefect/config.toml
file on the agent ECS machine to include Kevin's addition?
[server]
endpoint = "YOUR_MACHINES_PUBLIC_IP:4200/graphql"
Zach Angell