Failed to build caddy from source

Tried to build Caddy from source but this is what I got:

…/…/…/mholt/caddy/caddytls/client.go:200: too many arguments in call to c.acmeClient.ObtainCertificate

…/…/…/mholt/caddy/caddytls/client.go:288: too many arguments in call to c.acmeClient.RenewCertificate

…/…/…/mholt/caddy/caddytls/tls.go:83: assignment count mismatch: 3 = 2

…/…/…/mholt/caddy/caddytls/tls.go:96: assignment count mismatch: 3 = 2

Environment:

go version go1.7.4 linux/amd64
Linux Mint 18 KDE

Appreciate response from the community.

Thanks!

Hey Gani, run go get -u github.com/mholt/caddy/caddy to update your dependencies. :wink:

Thanks for the reply, Matt.

It works now.

1 Like

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