https://prefect.io logo
Title
l

Lucas Cavalcanti Rodrigues

12/11/2022, 10:15 PM
Hey, I'm running prefect orion on Docker. The prefect UI launched fine but I'm keeping getting this error. What am I doing wrong?
1
r

Ryan Peden

12/11/2022, 10:18 PM
Is
<http://prefect-server:4200>
the address you are entering in your browser to load the UI?
1
If not, you will probably need to set the
PREFECT_ORION_UI_API_URL
to match the address you enter in your browser (with
/api
added to the end)
1
l

Lucas Cavalcanti Rodrigues

12/11/2022, 10:21 PM
Thanks, Ryan I just noted there was an inconsistency in my docker-compose file. I was using PREFECT_ORION_API_HOST: 0.0.0.0 and PREFECT_API_URL: http://prefect-server:4200/api When I change prefect-server to 0.0.0.0, it works.
r

Ryan Peden

12/11/2022, 10:27 PM
You're welcome! I'm happy it is working! 😄
1