Hey Team, i'm having an issue when running "prefec...
# prefect-server
c
Hey Team, i'm having an issue when running "prefect server create-tenant". I am getting the error [requests.exceptions.ReadTimeout: HTTPConnectionPool(host='localhost', port=4200): Read timed out. (read timeout=30)], however i have set the environment variable GRAPHQL_URL to my hostname where it's hosted; it seems not to be registering the env variable. Any advice on how to properly change the Graphql url?
Actually i've identified that since create_tenant creates a default Client(), it overrides any environment variables with https://github.com/PrefectHQ/prefect/blob/master/src/prefect/config.toml. I will test changing this file and let you know. The interaction between docker-compose.yml and config.toml is surprising..
d
Hey @Charles Leung, thanks for letting us know!
@Marvin archive “Config.toml overrides environment variables”
c
succeeds now 🙂 !
d
Excellent!