https://prefect.io logo
Title
s

Surat Mukker

02/18/2023, 1:03 AM
We are running orion behind a simple https proxy service, which is fronted by an AWS ALB. We updated our dev instance to 2.8.1 and are puzzled that when we access the UI through proxy service, we see Work Queues in the navigation bar, but when we access it directly we see the Work Pools in the navigation bar. There is no caching in the proxy and it is a simple pass through https Proxy, with an authentication step. http://orion-dv.dev.<domain>:<port>/ui-settings returns
{
  "api_url": "<http://orion-datavinci.dev.immersa.io:4200/api>",
  "flags": [
    "work_pools"
  ]
}
and https://orion.dev.<domain>/ui-settings
{
  "api_url": "<https://orion.dev.immersa.io/api>",
  "flags": []
}
FYI
/settings
endpoint using both URLs returns the same settings. Have looked at the code in
server.py
that handles
/ui-settings
and
experimental.py
but that does not explain why the response differs for
/ui-settings
when going via proxy vs direct ? Any ideas ?
We are not setting any
PREFECT_EXPERIMENTAL_
flags are they are all using the default values.
This was an issue in our proxy code and has been resolved.