Kyle
07/09/2023, 3:28 PM$ prefect profile create wb --from default
$ prefect profile use 'wb'
⠦ Checking API connectivity...
TimeoutError
Christopher Boyd
07/09/2023, 4:01 PM127.0.0.1
is a loopback, the only thing listening on that is the local hostKyle
07/09/2023, 4:03 PMChristopher Boyd
07/09/2023, 4:04 PMKyle
07/09/2023, 4:04 PMChristopher Boyd
07/09/2023, 4:04 PMKyle
07/09/2023, 4:04 PMChristopher Boyd
07/09/2023, 4:04 PMKyle
07/09/2023, 4:05 PM$ prefect profile create wb --from default
$ prefect profile use 'wb'
⠦ Checking API connectivity...
TimeoutError
^ this is the problem not the proxyChristopher Boyd
07/09/2023, 4:11 PMPREFECT_UI_API_URL
?When using a reverse proxy (such as Nginx or Traefik) to proxy traffic to a locally-hosted Prefect UI instance, the Prefect server also needs to be configured to know how to connect to the API. The PREFECT_UI_API_URL should be set to the external proxy URL (e.g. if your external URL is <https://prefect-server.example.com/> then set PREFECT_UI_API_URL=<https://prefect-server.example.com/api> for the Prefect server process). You can also accomplish this by setting PREFECT_API_URL to the API URL, as this setting is used as a fallback if PREFECT_UI_API_URL is not set.
Kyle
07/09/2023, 4:11 PMChristopher Boyd
07/09/2023, 4:13 PMKyle
07/09/2023, 4:13 PMChristopher Boyd
07/09/2023, 4:13 PMKyle
07/09/2023, 4:14 PMthere needs to be a distinction between the UI api url and the cli api url. in the nginx case they are not the same.
Christopher Boyd
07/09/2023, 4:15 PMKyle
07/09/2023, 4:16 PM$ prefect profile create wb --from default
$ prefect profile use 'wb'
⠦ Checking API connectivity...
TimeoutError
Christopher Boyd
07/09/2023, 4:18 PMKyle
07/09/2023, 4:18 PM⠦ Checking API connectivity...
TimeoutError
Christopher Boyd
07/09/2023, 4:18 PMKyle
07/09/2023, 4:18 PMChristopher Boyd
07/09/2023, 4:19 PMKyle
07/09/2023, 4:19 PMChristopher Boyd
07/09/2023, 4:20 PMKyle
07/09/2023, 4:20 PMthere needs to be a distinction between the UI api url and the cli api url. in the nginx case they are not the same.
Joe Harrison
08/17/2023, 11:22 PMKyle
08/18/2023, 2:34 PM