Hey, I have the following error when trying to run...
# ask-community
k
Hey, I have the following error when trying to run Prefect via docker-compose:
Copy code
etl-server-1  |     raise mapped_exc(message) from exc
etl-server-1  | httpx.ConnectError: All connection attempts failed
etl-server-1  |
It does disappear after the prefect server starts up and there's no warning on the Prefect UI about the API being unreachable. I have set the following for the server container too:
Copy code
PREFECT_API_URL = "<http://0.0.0.0:4200/api>"
PREFECT_UI_API_URL = "<http://0.0.0.0:4200/api>"
I'm just wondering if that's an actual warning or Prefect trying to connect to the API before the server even starts?
t
almost certainly the latter
k
Ah got it thanks