sark
09/10/2020, 8:10 AMprefect server start
and registered some flows but when i run them they never start (always “late”)
i have also started agents with prefect agent start
and prefect agent start docker
but the agents just keep polling and fail to find any flows
how can i check that the server sees the agent or the agents see the servers?prefect get flow-runs
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: <http://localhost:4200/graphql>
curl '<http://dev.prefect.i.ghpr.asia:4200/graphql>' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'Connection: keep-alive' -H 'DNT: 1' -H 'Origin: <http://dev.prefect.i.ghpr.asia:4200>' --data-binary '{"query":"# Write your query or mutati\n{\n agent {created}\n}\n"}' --compressed
{
"data": {
"agent": []
}
}
[server]
endpoint = "url"
in config.toml
Dylan
09/10/2020, 1:53 PMsark
09/11/2020, 3:35 AMDylan
09/11/2020, 4:46 AMsark
09/11/2020, 4:51 AMprefect agent start -a <http://localhost:4200>
now the jobs are always submitted, but somehow always still get stuck in that submitted state forever