https://prefect.io logo
Title
c

Charles Leung

08/27/2020, 3:39 PM
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

Dylan

08/27/2020, 4:43 PM
Hey @Charles Leung, thanks for letting us know!
@Marvin archive “Config.toml overrides environment variables”
c

Charles Leung

08/27/2020, 4:45 PM
succeeds now 🙂 !
d

Dylan

08/27/2020, 4:45 PM
Excellent!