Kevin Weiler
06/29/2020, 6:43 PMprefect.config.api.url
(env variable PREFECT__CONFIG__API__URL
and setting it in config.toml
but when I call .register()
I get the following error:
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=4200): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbcbd594e10>: Failed to establish a new connection: [Errno 111] Connection refused'))
indicating that it’s still trying localhost
instead of what I’ve given it (which does not resolve to localohost
) - any ideas?Kyle Moon-Wright
06/29/2020, 6:55 PMKevin Weiler
06/29/2020, 6:55 PMKyle Moon-Wright
06/29/2020, 7:10 PMKevin Weiler
06/29/2020, 7:24 PMconfig.toml
it looks like PREFECT__CONFIG__API__URL
is the wrong env variable. I think the one I want to set is PREFECT__CONFIG__SERVER__ENDPOINT
config.toml
though insteadKyle Moon-Wright
06/29/2020, 7:28 PMKevin Weiler
06/29/2020, 7:30 PMjosh
06/29/2020, 7:38 PMPREFECT__SERVER__ENDPOINT
without the __CONFIG
Kevin Weiler
06/29/2020, 9:38 PM