Karl
11/13/2024, 9:59 AMprefect --no-prompt deploy --all --prefect-file the-file
.
Running that command errors out in httpx.ConnectError: All connection attempts failed
. Inspecting the calls I can see that the command generates an https call to the api which then returns a 307 and forwards it to http.
As I am running behind API-Gateway this will not work as API-Gateway does not support HTTP.
Other commands like prefect deployment ls
works fine as that does not return a 307 to an HTTP endpoint.
My question is: Why is prefect deploy
command returning a redirect to HTTP and is there something I can change to not have that happen?
Thanks!