qqshfox / cert-manager-webhook-dnspod

DNSPod Webhook for Cert Manager
Apache License 2.0
55 stars 34 forks source link

Got error on cert-manager v0.16.0, failed to present challenge #7

Closed jasper-zsh closed 3 years ago

jasper-zsh commented 4 years ago

I got endless warning when describing challenge, with reason PresentError and message 'Error presenting challenge: strconv.ParseInt: parsing "": invalid syntax';

Here's the log of cert-manager pod:

I0803 12:06:01.014538       1 controller.go:152] cert-manager/controller/challenges "msg"="syncing item" "key"="some.namespace/my.actual.domain-plft9-3121084118-1454657221"
I0803 12:06:01.014634       1 dns.go:88] cert-manager/controller/challenges/Present "msg"="presenting DNS01 challenge for domain" "dnsName"="my.actual.domain" "domain"="my.actual.domain" "resource_kind"="Challenge" "resource_name"="my.actual.domain-plft9-3121084118-1454657221" "resource_namespace"="some.namespace" "type"="dns-01"
E0803 12:06:01.089601       1 controller.go:158] cert-manager/controller/challenges "msg"="re-queuing item  due to error processing" "error"="strconv.ParseInt: parsing \"\": invalid syntax" "key"="some.namespace/my.actual.domain-plft9-3121084118-1454657221"

And got no log except bootstrap logs for cert-manager-webhook-dnspod.

Here's my helm values:

groupName: changed.group.name.with.no.dns.record
certManager:
  namespace: kube-system
secrets:
  apiID: xxxx
  apiToken: xxxxxxx
clusterIssuer:
  enabled: true
  email: my@fake.email
qqshfox commented 4 years ago

@jasonz93 Sorry for the late reply. It looks like the response from DNSPod contains a mistyped field. You can try to add some logs to investigate which field causes the parse failure. If you find anything interesting, I'm happy to fix and publish a new version.

qqshfox commented 3 years ago

Closing this for inactivity. Free free to reopen.