Skip to content

Instantly share code, notes, and snippets.

@happymcplaksin
Created February 2, 2016 01:14
Show Gist options
  • Save happymcplaksin/e296ee228b2ced7326d4 to your computer and use it in GitHub Desktop.
Save happymcplaksin/e296ee228b2ced7326d4 to your computer and use it in GitHub Desktop.
lego-output-cname-fix.txt
2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Obtaining bundled SAN certificate
2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Could not find solver for: http-01
2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Could not find solver for: tls-sni-01
2016/02/01 20:07:54 [INFO][iamacname.example.com] acme: Trying to solve DNS-01
2016/02/01 20:07:54 [INFO] acme: Please create the following TXT record in your DNS zone:
2016/02/01 20:07:54 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "pVPLrrztiNGjYSKfNvyKbJloXZBEB9aTGuHVDOeUF7w"
2016/02/01 20:07:54 [INFO] acme: Press 'Enter' when you are done
2016/02/01 20:07:54 [INFO] acme: You can now remove this TXT record from your DNS zone:
2016/02/01 20:07:54 [INFO] acme: _acme-challenge.iamacname.example.com. 120 IN TXT "..."
panic: interface conversion: dns.RR is *dns.CNAME, not *dns.SOA
goroutine 1 [running]:
github.com/xenolf/lego/acme.checkDNS(0x7ffce88a34f4, 0x13, 0xc820434720, 0x24, 0xc820434720)
/home/happy/src/lego/src/github.com/xenolf/lego/acme/dns_challenge.go:82 +0x355
github.com/xenolf/lego/acme.(*dnsChallenge).Solve(0xc8204961a0, 0x0, 0x0, 0xc82044a1f0, 0x6, 0xc82044a200, 0x7, 0xc8202da150, 0x68, 0xc8204340f0, ...)
/home/happy/src/lego/src/github.com/xenolf/lego/acme/dns_challenge.go:65 +0x5a6
github.com/xenolf/lego/acme.(*Client).solveChallenges(0xc8204aa000, 0xc820090240, 0x1, 0x1, 0xc820090240)
/home/happy/src/lego/src/github.com/xenolf/lego/acme/client.go:369 +0x250
github.com/xenolf/lego/acme.(*Client).ObtainCertificate(0xc8204aa000, 0xc8200777b0, 0x1, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/home/happy/src/lego/src/github.com/xenolf/lego/acme/client.go:227 +0x25b
main.run(0xc8200fa240)
/home/happy/src/lego/cli_handlers.go:174 +0x173f
github.com/codegangsta/cli.Command.Run(0x9412b0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x9dbd80, 0x3a, 0x0, ...)
/home/happy/src/lego/src/github.com/codegangsta/cli/command.go:163 +0x131d
github.com/codegangsta/cli.(*App).Run(0xc8200a5e60, 0xc820090000, 0xc, 0xc, 0x0, 0x0)
/home/happy/src/lego/src/github.com/codegangsta/cli/app.go:179 +0x1169
main.main()
/home/happy/src/lego/cli.go:126 +0x106f
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go/src/runtime/asm_amd64.s:1696 +0x1
goroutine 23 [IO wait]:
net.runtime_pollWait(0x7f104c1afb28, 0x72, 0xc8200760a0)
/usr/lib/go/src/runtime/netpoll.go:157 +0x60
net.(*pollDesc).Wait(0xc82011f330, 0x72, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc82011f330, 0x0, 0x0)
/usr/lib/go/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc82011f2d0, 0xc820326000, 0x800, 0x800, 0x0, 0x7f104c1aa028, 0xc8200760a0)
/usr/lib/go/src/net/fd_unix.go:232 +0x23a
net.(*conn).Read(0xc82008e078, 0xc820326000, 0x800, 0x800, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/net.go:172 +0xe4
crypto/tls.(*block).readFromUntil(0xc820132300, 0x7f104c1afbe8, 0xc82008e078, 0x5, 0x0, 0x0)
/usr/lib/go/src/crypto/tls/conn.go:455 +0xcc
crypto/tls.(*Conn).readRecord(0xc8200f2840, 0xa14117, 0x0, 0x0)
/usr/lib/go/src/crypto/tls/conn.go:540 +0x2d1
crypto/tls.(*Conn).Read(0xc8200f2840, 0xc8200ad000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go/src/crypto/tls/conn.go:901 +0x167
net/http.noteEOFReader.Read(0x7f104c1bc618, 0xc8200f2840, 0xc8201301b8, 0xc8200ad000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go/src/net/http/transport.go:1370 +0x67
net/http.(*noteEOFReader).Read(0xc820456ce0, 0xc8200ad000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
<autogenerated>:126 +0xd0
bufio.(*Reader).fill(0xc8203f4fc0)
/usr/lib/go/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Peek(0xc8203f4fc0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/lib/go/src/bufio/bufio.go:132 +0xcc
net/http.(*persistConn).readLoop(0xc820130160)
/usr/lib/go/src/net/http/transport.go:876 +0xf7
created by net/http.(*Transport).dialConn
/usr/lib/go/src/net/http/transport.go:685 +0xc78
goroutine 24 [select]:
net/http.(*persistConn).writeLoop(0xc820130160)
/usr/lib/go/src/net/http/transport.go:1009 +0x40c
created by net/http.(*Transport).dialConn
/usr/lib/go/src/net/http/transport.go:686 +0xc9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment