Luan Tiburcio
12/07/2022, 2:28 PMHello everyone, I'm migrating prefect 1 to 2 in this version I'm uploading to kubernetes. I have the following error in the application. Has anyone managed to fix this?
Ryan Peden
12/07/2022, 2:31 PMPREFECT_API_URL
environment variable in the container running the Prefect API to match the externally-visible URL where you access Prefect. So, for example, if enter <https://my-prefect-hostname>
in your browser to load the UI, you'd set the environment variable to <https://my-prefect-hostname/api>
Luan Tiburcio
12/07/2022, 8:55 PMRyan Peden
12/07/2022, 8:58 PMPREFECT_ORION_UI_API_URL
to the same value as PREFECT_API_URL
help?Lawrence Lee
12/08/2022, 4:54 PMPREFECT_ORION_UI_API_URL
to be the publicly accessible URL. Right now your browser is trying to connect to 127.0.0.1 which is your localhost and not the remote server.