caddy: panic: certificate worker: runtime error invalid memory address or nil pointer dereference from certmagic
This is not the same error as #6609 as I built caddy manually with certmagic@0.21.4.
I tracked the panic down to a network issue, it occurs when the api of the dns provider isn’t reachable. So it seems that network issues might not be nicely handled yet? To be clear, the api hostname could be resolved through DNS, but actually connecting to the api failed due to a network routing issue.
Unfortunately I don’t have a stack trace anymore as docker only kept 100 lines of the log, but let me know if you really need one as I can break the network routing again if needed. The panic occured on this line though
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (8 by maintainers)
Ah ok, sorry had no idea. Maybe I’m just too spoiled by other dev env’s that I expected some internal dependency check if two closely developed packages shouldn’t be used without each other’s corresponding versions 😉
As I dont have the time to retest this again I’m gonna assume that that was the issue until it bites me again. Thanks.