Flaredown icon indicating copy to clipboard operation
Flaredown copied to clipboard

staging.flaredown.com doesn't work

Open benlangfeld opened this issue 4 years ago • 5 comments

Since #498 we broke staging.flaredown.com because the staging app uses free dynos and therefore is unable to issue Let's Encrypt certs for custom domains, and so cert validation fails.

In the meantime,

  1. Use paid dynos in staging (maybe r4g can make this happen).
  2. Use the https://flaredown-staging.webapp.herokuapp.com domain for staging. Additionally we could do a redirect at the registrar for staging.flaredown.com. @lmerriam would have to set that up I think.
  3. Stop forcing TLS in staging, apply #498 only to production.

@compwron suggests a preference for 2 and possibly 1 in the future.

This issue is just a marker in case anyone wonders what happened to staging.flaredown.com.

benlangfeld avatar Oct 13 '21 18:10 benlangfeld

I am totally happy to upgrade to the $7/mo hobby dyno if that will solve this most quickly while you are all working on it this week

lmerriam avatar Oct 13 '21 18:10 lmerriam

@lmerriam We're able to make progress using the herokuapp.com domain. It would only be necessary to solve if someone is particularly attached to the vanity domain.

benlangfeld avatar Oct 13 '21 18:10 benlangfeld

@lmerriam So it turns out that reCAPTCHA is somewhat attached to usage of the vanity domain. I'm going to upgrade staging to hobby dynos and we can figure out the financial situation later.

benlangfeld avatar Oct 14 '21 15:10 benlangfeld

Ok, that isn't a complete solution. It's necessary to drop the current A records for staging.flaredown.com and app.flaredown.com and replace them with the following CNAMEs:

app. CNAME app.flaredown.com.herokudns.com
staging. CNAME staging.flaredown.com.herokudns.com

@lmerriam Any chance you could make that change for us?

benlangfeld avatar Oct 14 '21 15:10 benlangfeld

Records updated

lmerriam avatar Oct 14 '21 16:10 lmerriam