Hi everyone, I've setup a selfhosted prefect serve...
# ask-community
k
Hi everyone, I've setup a selfhosted prefect server with authentication using AWS Cognito and API Gateway but I'm having a problem running
prefect --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!