Closed Hiromi-Kai closed 6 years ago
That suggests that your app is responding before it has finished rebooting, so is still responding using the old environment variables. That's normally only an issue with Preboot though, which you don't have.
I'm getting this same issue, I've been using heroku run rake letsencrypt:renew
for about a year and a half now. Haven't changed any server settings and I am getting the same error, also don't have Preboot.
@fergyfresh as per the README this gem is deprecated in favour of the official Heroku implementation. Are you able to swap to that instead?
Hello. I use this gem our Rails 4.2 App and try to renew rake script but it didn't work. In my verification,
Letsencrypt:: Middleware
works butLetsencrypt.challenge_configured? && env["PATH_INFO"] == "/#{Letsencrypt.configuration.acme_challenge_filename}"
seems to be false so server returns another result.Then I use very simple controller method and add route to verify env and run renew rake some times.
The result is as shown below, our server refered old ACME_CHALLENGE_FILE_CONTENT. So I guess that the MiddleWare also refers old value. Have you ever seen such case?