The UI doesn't seem to be connected to the same database #3704
-
I have a ubuntu server running prefect. And if I use the UI to access the database and do a query, it finds no flows. But if I go to the same IP address in my browser but instead the graphql port, it does find flows from my simple agent script. http://<MY_IP_ADDRESS>:8080/default/api?request= There is nothing else installed or running on this server, and I have no idea how to fix it. It seems like there are 2 separate graphql databases, one for the UI and one for the agent code to connect to. I'm using this query:
agent code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @WilliamBurdett the UI is rendered client side which will require you to change the address that your UI is looking at to the address of the Apollo endpoint running on your Ubuntu server: https://docs.prefect.io/orchestration/server/deploy-local.html#ui-configuration |
Beta Was this translation helpful? Give feedback.
Hi @WilliamBurdett the UI is rendered client side which will require you to change the address that your UI is looking at to the address of the Apollo endpoint running on your Ubuntu server: https://docs.prefect.io/orchestration/server/deploy-local.html#ui-configuration