zappa / Zappa

Serverless Python
https://zappa.ws/zappa
MIT License
3.31k stars 363 forks source link

Custom domain name not working #1280

Closed ibachar-es closed 6 months ago

ibachar-es commented 11 months ago

Context

I'm trying to setup a custom domain name for my Zappa application while also removing the stage name from the URL. I'm using Flask and have added a /ping endpoint which should return "pong". The stage name is called dev. Using the Invoke URL of the api gateway works as expected (https://xxxxx.execute-api.eu-central-1.amazonaws.com/dev/ping returns "pong") I've followed the manual and verified my domain using ACM (I'm using CloudFlare). When going to the AWS console and trying to invoke the "API Gateway domain name" created by Zappa it doesn't work

Expected Behavior

I expect xxxx.cloudfront.net/ping to return "pong" and thus properly invoking my endpoint defined in the Flask application

Actual Behavior

Your Environment

github-actions[bot] commented 6 months ago

Hi there! Unfortunately, this Issue has not seen any activity for at least 90 days. If the Issue is still relevant to the latest version of Zappa, please comment within the next 10 days if you wish to keep it open. Otherwise, it will be automatically closed.

github-actions[bot] commented 6 months ago

Hi there! Unfortunately, this Issue was automatically closed as it had not seen any activity in at least 100 days. If the Issue is still relevant to the latest version of Zappa, please open a new Issue.

benjamindell commented 6 months ago

Hi, did you resolve this issue in the end? I'm seeing the same issue :(

benjamindell commented 6 months ago

Ignore me - i've resolved it!

benjamindell commented 6 months ago

For anyone else that sees this, it looks like things just needed to propagate. After about 30 mins it worked,