Matthew Blau
01/04/2021, 2:24 PMKyle Moon-Wright
01/04/2021, 8:29 PMprefect backend server
before prefect server start
?
2 - Have you set the appropriate environment variables to point to your Server deployment? For the UI this means setting apollo_url
as either an environment variable (PREFECT__SERVER__UI__APOLLO_URL
) or in your machine’s ~/.prefect/config.toml
:
# ~/.prefect/config.toml
[server]
[server.ui]
apollo_url="your endpoint:4200/graphql"
You can read more about the different configuration options for Prefect Server in the Prefect configuration docs.Matthew Blau
01/04/2021, 9:31 PMArnaud Fombellida
01/05/2021, 12:15 PMprefect server create-tenant --name default --slug default
which fails with the following error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.176.193', port=4200): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4b14a1dc70>: Failed to establish a new connection: [Errno 111] Connection refused'))
The apollo server is running (according to docker ps) and listening to port 4200. However, there are no logs showing up for it after starting prefect (not sure if that's normal).