https://prefect.io logo
Title
a

A P

03/12/2021, 4:01 PM
Hi all, First time here, tried running prefect local server,,,( prefect server backend) followed every step of Getting started document ,UI server starts but i continuously fail to launch a local agent. Any hints around what could be possibly wrong.
n

nicholas

03/12/2021, 4:02 PM
Hi @A P - welcome! Can you give some information on how you're running Prefect Server and how you're launching your agent? 🙂
e.g. are you Server running locally, in a virtual machine, or maybe a machine in the cloud, are you launching the agent locally etc
a

A P

03/12/2021, 4:45 PM
Thanks Nicholas, Prefect server & all other component (hasura, GraphQL) they are all being launched in docker containers on the local box, and the agent is being launched from the host (not from with in the container)
n

nicholas

03/12/2021, 4:47 PM
Got it, thank you! Which means you're running
prefect server start
from the host machine and not from within another container, correct?
a

A P

03/12/2021, 4:55 PM
yes- exactly
n

nicholas

03/12/2021, 5:01 PM
On your local machine could you try running
prefect backend server
and then registering your agent?
a

A P

03/12/2021, 5:09 PM
this is the order of event that i tried,
1. prefect backend server 2. prefect server start 3, prefect local agent start
n

nicholas

03/12/2021, 5:26 PM
Ok that sounds correct to me, what error are you seeing?
a

A P

03/12/2021, 9:35 PM
Magically another run, after complete start, worked.. can't beat the complete restart magic. 🙂
n

nicholas

03/12/2021, 9:36 PM
Glad you got it! 😄
🙌 1