Thread
#prefect-server
    c

    Charles Leung

    2 years ago
    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..
    Dylan

    Dylan

    2 years ago
    Hey @Charles Leung, thanks for letting us know!
    @Marvin archive “Config.toml overrides environment variables”
    Marvin

    Marvin

    2 years ago
    c

    Charles Leung

    2 years ago
    succeeds now 🙂 !
    Dylan

    Dylan

    2 years ago
    Excellent!