Austin Sharp07/07/2020, 9:31 PM
However, the flow doesn't appear on the UI I already have up. If I follow the link, it takes me to a UI but I don't see the flow. I think the issue is that I am using a linux machine that I am SSH'd into. Does anyone have any tips? I have tried changing some of my user config settings in .prefect/backend.toml. I suspect I need to change some of the 'localhost' to '0.0.0.0' but I'm not sure which ones and when I try doing them all the server throws errors when I start the server. Any ideas?
Result Handler check: OK Flow: <http://localhost:8080/flow/724c4570-3a00-4362-9df5-27ea72975538>
alex07/07/2020, 9:35 PM
Jim Crist-Harif07/07/2020, 9:37 PM
Austin Sharp07/07/2020, 9:38 PM
Jim Crist-Harif07/07/2020, 9:39 PM
Austin Sharp07/07/2020, 9:40 PM
shows no other running servers
Jim Crist-Harif07/07/2020, 9:40 PM
Austin Sharp07/07/2020, 9:41 PM
from my desktop (not the machine i am running the server or python process on)
Zachary Hughes07/07/2020, 9:44 PM
Austin Sharp07/07/2020, 9:50 PM
Zachary Hughes07/07/2020, 9:57 PM
field to match the host where your API is.
Austin Sharp07/07/2020, 10:40 PM
and I have also tried changing
in a similar fashion, as well as combinations of all of these.
Zachary Hughes07/07/2020, 11:01 PM
to work. When you say "no luck," do you mean that you're seeing errors when you attempt to spin it up, or is it that you're still unable to connect to the API? That aside, Prefect Cloud is also great. It does a lot of this for you, so it works "out of the box." We have a free developer tier if you'd like to give that a shot!
graphql_url = "<http://YOUR_IP_HERE:4200/graphql>"
alex07/07/2020, 11:02 PM
prefect agent start
Austin Sharp07/07/2020, 11:16 PM
. Its all within the same network so I expect hostname to be ok instead of ip. Still nothing. I'll try again with fresh eyes tomorrow and then try cloud if I still can't get it to work.
graphql_url = "http://[hostname]:4200/graphql"
alex07/08/2020, 1:32 PM
Zachary Hughes07/08/2020, 2:45 PM
alex07/08/2020, 7:56 PM
backend = "server" graphql_url = "<http://HOST:4200/graphql>" [server] [server.ui] graphql_url = "<http://HOST:4200/graphql>"
Austin Sharp07/08/2020, 8:07 PM
Zachary Hughes07/08/2020, 8:49 PM