Error with cloudflare plugin

When trying to build caddy with the cloudflare plugin with
xcaddy build --output /usr/local/bin/caddy --with github.com/caddy-dns/cloudflare
I get this error.
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e github.com/smallstep/certificates/authority/provisioner /root/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/jwk.go:155:24: assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values /root/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/x5c.go:197:24: assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values 2020/09/05 18:55:56 [INFO] Cleaning up temporary folder: /tmp/buildenv_2020-09-05-1855.908626713 2020/09/05 18:55:56 [FATAL] exit status 2 Command: xcaddy build --output /usr/local/bin/caddy --with github.com/caddy-dns/cloudflare failed! Failed to build Caddy with cloudflare plugin, terminating.

See thread Building From Source With Cloudflare Plugin Not Working

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.