-
-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version 0.9.1 regression causes a systematic crash (rolled back to 0.8.3 to fix) #56
Comments
Woah, that looks like a bug in lego. I do not recognize this code. Will look at it more on Monday... |
Pinging @ldez as the stack trace points to something in lego. He might have a better idea. |
Matt, thanks for replying so fast. You can't recognize this code because its ours! I just wanted to underline the context. In fact We call |
Oh, right, sorry, I meant the stack trace. :) It's past 2am here, will look
more later. Thanks for the report
…On Sun, Jan 12, 2020, 2:14 AM Benoit Pereira da Silva < ***@***.***> wrote:
Matt, thanks for replying so fast. You can't recognize this code because
its ours! I just wanted to underline the context. In fact We call
certmagic.NewDefault() then cfg.ManageSync(s.Hosts) s.Hosts contains 10
domain names.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#56>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAITTEOCWMTQN3DWYST4WRTQ5LNPVANCNFSM4KFWMWTQ>
.
|
Hello, The panic comes from lego and certmagic use v3.0.0 of
You are using v3.2.1 of An issue has been already reported in More information: So the panic is not related to lego or certmagic, I recommend to use <v3.2.0 of |
Hi @ldez, Thanks for the explanation. We have rolled back to certmagic 0.8.3 successfully without side effects. This issue can cause serious problems to people using caddy, certmagic or lego, ... I'm sure that @mholt will fix the dependencies soon. I recommend reading @rsc's "Our Software Dependency Problem" posted one year ago, but each days more relevant. |
You don't need to rollback certmagic, you just need to downgrade Note that caddy use also the v3.0.0 @mholt or me (I'm the main maintainer of lego) don't have to fix dependencies because we are using the good version: v3.0.0. The problem comes only if:
I recommend reading Minimal Version Selection But to avoid this issue for someone that update the |
@ldez sure we could have downgraded backoff to v3.0.0. But we prefer to use consistent and well tested releases when possible. We have been comparing changes between v0.8.3 vs v0.91 and decided to roll back our production servers. Our CI did not detect this issue, because testing SSL certificate management is not that easy to test. Certmagic is important for us and we prefer to wait for @mholt's fix. NB: good news for caddy's users! |
There is nothing to fix in Certmagic. https://github.com/mholt/certmagic/blob/7311b4680c76370b489f847c901e29eac18c9eb8/go.sum#L45 The problem comes only if:
I recommend reading Minimal Version Selection |
@ldez we are using go modules and did not have set an explicit version. |
@ldez thanks for that clarification. After controlling the go.sum i can confirm that neither lego nor certmagic are responsible of that panic. I'm closing the issue. |
Thank you both for investigating while I was asleep 😅 -- ldez especially, that was very helpful! That's what I get for reading stack traces at 2 in the morning. 😴 To clarify one thing though: Neither CertMagic nor Caddy use the Hope that is helpful! Thanks again to both of you for your cooperation! |
@mholt i'm sorry to have stressed you so late/early in the eve/mor/ning. Some of our servers have crashed due to an involuntary update of |
To be precise: The The CertMagic and Caddy don't use directly the |
@benoit-pereira-da-silva Thanks for checking in anyway, it was my choice to check my notifications in the middle of the night in this case. @ldez I believe that's correct, thank you for explaining that in detail. |
What version of the package are you using?
0.9.1
What are you trying to do?
We use successfully Certmagic in production since 10 months.
What steps did you take?
We just have updated to certmagic 0.9.0 (crashes happened regularly)
With certmagic 0.9.1 panic is systematic
So we have rolled back to 0.8.3 that is stable.
Is "github.com/cenkalti/backoff" really required?
The text was updated successfully, but these errors were encountered: