-
Notifications
You must be signed in to change notification settings - Fork 33
Unexpected EOF #42
Comments
That looks like a connection unexpectedly lost when calling the letsencrypt API. You may want to try again in a couple hours. |
Yep, I thought that too but I tried it last night and this morning several times with the same result. |
This EOF is definitely an error in the connection, either with the letsencrypt API or the heroku one. Basically, an error is being returned by the API here. |
The only other way this could have failed is if letsencrypt introduced a breaking change in their API. I just tried regenerating a certificate in a test app using sabayon, which worked properly. |
Looking back through the output of my various attempts I see that one of them returned a different error message:
All of the other attempts returned the EOF error. |
I wonder if the problem may be caused because these domains are all production domains running on Heroku and already use a single Heroku SSL Endpoint with a valid UCC SAN certificate. My Sabayon use is intended to replace the Heroku SSL Endpoint, but I can't remove it without incurring downtime for the clients of those domains. I ran a test to get a cert using certbot and that failed too: Incorrect validation certificate for TLS-SNI-01 challenge. |
Have you tried raising that issue with letsencrypt support? |
I got a cert successfully using certbot --manual, so it's not likely the existing cert causing the problem. Perhaps the problem is to do with the Pre-boot feature of Heroku. This feature is used to prevent downtime on dynos, but a side effect is that when you change an environment variable in a Heroku app, that change is not immediately available to the code running on the dyno. My experience is that it takes 1-2 minutes before the change shows up in the code. That would explain the problem for the first attempt running Sabayon (or first few). But would not explain it if the ACME_KEY-n and ACME_TOKEN_n keep their values every time Sabayon is run. From my quick tests they seem to keep their values, so then it's probably not caused by Pre-boot... |
I don't think this is an issue with preboot. The EOF happens before the app is updated with the new values. |
It looks like this is a bug in https://github.com/xenolf/lego - go-acme/lego#338 |
In the interests of helping this along, I have had the same issue as the OP. So I tried re-deploying fresh to Heroku, and entered the same ENV variables as the current app I had this error on. So I go in and I got an error message (quoted below). After this error happened once, I could not see the error again and instead saw Now I also posted this in the My theory as to why this I got this result is this - perhaps because the cron scheduler runs this job, this error happened to all of us affected, but since it was on a cron cycle who knows when, it would be impossible to find, and all we see now is the I am not 100% sure how
|
Setting Sabayon up on one of my environments is returning an EOF unexpectedly. Everything seems to be setup correctly, the same way I have it setup for another environment which is working great with Sabayon. The error I see is:
Settings:
sabayon-for-my-app is using Hobby dynos; my-app is using standard dynos.
The text was updated successfully, but these errors were encountered: