fermyon / installer

Fermyon Installer
https://fermyon.dev
Apache License 2.0
160 stars 39 forks source link

AWS: intermittent Bad Gateway immediately after deployment #66

Closed itowlson closed 2 years ago

itowlson commented 2 years ago

If I do a deploy to AWS, and click on the application URL soon after it's displayed, I occasionally get a Bad Gateway response. I think I've also seen 404 in this situation but I'm not sure. If I click again it usually sorts itself out.

(I assume this is Traefik coming up or something like that, but might be worth mentioning under troubleshooting or somewhere else in the docs.)

itowlson commented 2 years ago

ETA: I have definitely seen the odd 404 but even more intermittently than the gateway error. I think the 404 may happen briefly between the Bad Gateway and everything working... is that possible? (to be clear I am not at all certain this is the sequence)

vdice commented 2 years ago

Thanks, @itowlson. Indeed, both symptoms are due to either pending routing/load balancing (via Traefik) for the app or the app itself not being quite ready. We should add a mention in the docs.

vdice commented 2 years ago

Closed by https://github.com/fermyon/installer/pull/69