https://prefect.io logo
#prefect-server
Title
# prefect-server
e

Elliot Oram

09/08/2020, 11:07 AM
Hi all, upgrading from 0.10.6 to latest (0.13.5) and have noted that the prefect ui (host:8080) no longer appears to automatically connect to the graphql location (host:4200). I currently have this defined in
config.toml
which I point prefect via the env var:
PREFECT__USER_CONFIG_PATH="/home/ubuntu/config.toml"
My config.toml looks like (obviously with host name actually filled in):
Copy code
[server]
  [server.ui]
    graphql_url = "<host-name>:4200/graphql"
When I
prefect server start
and visit host:8080 I get the front page of the ui asking to connect to host:4200/graphql. Ideally it would be good if this could still be connected automatically using the
config.toml
Any advice would be greatly appreciated. Please let me know if you need anymore details I might have missed
n

nicholas

09/08/2020, 1:53 PM
Hi @Elliot Oram - this was changed with ^0.13.0, but an additional way to configure your GraphQL endpoint via environment variable/config.toml is on our near-term radar. Check out this SO answer and this issue to learn more. In the meantime, you can set your custom endpoint via the input field on the Home screen; this will save in your browser's local storage so should stick around for awhile.
e

Elliot Oram

09/08/2020, 1:57 PM
Thanks @nicholas for the info. I'll keep an eye on the issue for updates 👍