https://prefect.io logo
Title
p

Peddakotla Sravan Kumar Reddy

03/19/2023, 6:32 AM
hello all, iam very new to prefect I deployed prefect-server in kubernetes via helm "https://github.com/PrefectHQ/prefect-helm" it got deployed, now trying to deploy prefect agent but agent pods are crashing due to api key, please find the error message below can any one help me with is? Thnaks in advance
r

redsquare

03/19/2023, 7:01 AM
You shouldn't need one if self hosting, is your PREFECT_API_URL set correctly
only need a key for the cloud
p

Peddakotla Sravan Kumar Reddy

03/19/2023, 9:59 AM
got it, but iam getting this error even I deployed it with docker compose "Can't connect to Orion API at http://0.0.0.0:4200/api. Check that it's accessible from your machine" can you help
Screenshot 2023-03-19 at 4.00.56 PM.png
r

redsquare

03/19/2023, 10:38 AM
0.0.0.0 is wrong, you’ll want that to be an actual URL that the API can be reached at from the UI user’s machine
p

Peddakotla Sravan Kumar Reddy

03/19/2023, 10:42 AM
so that correct url could be the ip address of the vm which I hosted the prefect-server?
r

redsquare

03/19/2023, 10:45 AM
yeah so you can access outside in
p

Peddakotla Sravan Kumar Reddy

03/19/2023, 10:48 AM
got it thanks
👍 1