Bartek
05/13/2020, 1:11 PMUI
as it not showing any flows
and runs
. I register flow with success and see in agent logs and server logs that flow runs when is scheduled but I have no information about flows and runs in UI
.Andrei Duhnea
05/13/2020, 1:33 PMlocalhost:4200
. Worked around it by SSH-forwarding the 4200 port. I noticed an environment setting that might help in the compose file: https://github.com/PrefectHQ/prefect/blob/master/server/docker/docker-compose.yml#L90, will try to see if it does the trick.nicholas
~/.prefect/config.toml
like such:
[server]
[server.ui]
graphql_url = "your_graphql_endpoint:4200/graphql"
nicholas
config.toml
present on the machine you're deploying Prefect Server, and you'll need to restart the Server for changes to apply.Andrei Duhnea
05/13/2020, 1:56 PM405
response codes.nicholas
nicholas
/graphql
, since that's the route GraphQL serves requests fromAndrei Duhnea
05/13/2020, 2:06 PMnicholas
Andrei Duhnea
05/13/2020, 2:08 PM"POST /10.0.10.72:4200/graphql/ HTTP/1.1" 405 157 "<http://10.0.10.72:8080/>"
Andrei Duhnea
05/13/2020, 2:10 PM<http://10.0.10.72:8080/10.0.10.72:4200/graphql/>
Andrei Duhnea
05/13/2020, 2:10 PM[server.ui]
graphql_url = "10.0.10.72:4200/graphql"
Andrei Duhnea
05/13/2020, 2:11 PM<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.18.0</center>
</body>
</html>
nicholas
graphql_url
Andrei Duhnea
05/13/2020, 2:19 PMAndrei Duhnea
05/13/2020, 2:19 PMAndrei Duhnea
05/13/2020, 2:19 PMAndrei Duhnea
05/13/2020, 2:19 PMnicholas
Bartek
05/13/2020, 7:17 PMBartek
05/13/2020, 7:24 PMgraphql
and it works but in UI still no info about flows and runsBartek
05/13/2020, 7:26 PMnicholas
flow.register()
?Bartek
05/13/2020, 9:14 PMnicholas
graphql_url
variable set in ~/.prefect/config.toml
is incorrect for some reason. Can you share what you've got there?Bartek
05/14/2020, 5:49 AMnicholas