Dave
10/20/2020, 3:11 PM<http://localhost:4200/graphql>
This specific setup were I'm currently testing this is running the following:
"platform": "Windows-10-10.0.19041-SP0",
"prefect_backend": "server",
"prefect_version": "0.13.11",
"python_version": "3.8.3"
I followed the guide for UI configuration and I added the following to my config (/home./prefect/config.toml):
backend = "server"
[server]
[server.ui]
apollo_url = "http://<url>:4200/graphql"
It works just fine, if you check `prefect diagnostics`:
{
"config_overrides": {
"backend": true,
"server": {
"ui": {
"apollo_url": true
}
}
},
"env_vars": [],
"system_information": {
"platform": "Windows-10-10.0.19041-SP0",
"prefect_backend": "server",
"prefect_version": "0.13.11",
"python_version": "3.8.3"
}
}
I can also see that the UI indeed understand that the configuration have been added to the config.toml where it picks up the specific URL at: http://<url>:8080/settings.json
:
{
"server_url": "http://<url>:4200/graphql"
}
When I then dig a littler deeper into the network requests happening in relation to the UI, I can then see that everything are still are happening at: <http://localhost:4200/graphql>
(Please see attachment)
Which must be related to that it always insert <http://localhost:4200/graphql>
into the localstorage automatically,. (Please see attachment)
Why isn't it inserting the right URL into the localstorage?
It only use the right URL if I manually adds it to the localstorage.nicholas
10/20/2020, 3:26 PMDave
10/20/2020, 3:27 PMnicholas
10/20/2020, 3:28 PMDave
10/20/2020, 3:35 PMnicholas
10/26/2020, 1:25 PMlatest
UI image 🙂Dave
10/26/2020, 1:29 PMnicholas
10/26/2020, 1:30 PMDave
10/27/2020, 1:25 PMnicholas
10/27/2020, 1:39 PMDave
10/27/2020, 2:17 PMprefect server start -uv latest & prefect agent start --name "Agent01" &
When I then browse to the agent page it displays me the following (Please see attachement)
If I go back to a few versions to version 2020-10-13, then the agent page are again working.
This mean that after version 2020-10-13 the agent page stopped working (http://localhost:8080/default?agents=)nicholas
10/27/2020, 9:09 PMDave
10/29/2020, 12:54 PMprefect backend server && prefect server start
After Prefect server is running I ran in CMD 2:
prefect server create-tenant --name default --slug default
Selected the tenant in the UI and ran in CMD 2:
prefect agent start --name "Default Agent"
I then go to Dashboard (Atachment dashboard_core-0.13.13.png) and then to the agent-page (Atachment agent_core-0.13.13.png)
If I then go a version back (I again did a fresh install and did the steps above with the only change):
prefect server start -v core-0.13.12 -uv core-0.13.12
I then go to Dashboard (Atachment dashboard_core-0.13.12.png) and then to the agent-page (Atachment agent_core-0.13.12.png)
Are you not experiencing the same?
Please note that on dashboard_core-0.13.13.png the outline of the "Agent Card" is now Green and not Yellow.nicholas
10/29/2020, 2:07 PMDave
10/29/2020, 2:24 PMnicholas
10/29/2020, 2:39 PMDave
10/29/2020, 6:01 PM