Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save siddjain/843e12ef7b841e6342d4a2930eb4d7fd to your computer and use it in GitHub Desktop.
Save siddjain/843e12ef7b841e6342d4a2930eb4d7fd to your computer and use it in GitHub Desktop.
2019/05/03 20:27:22 [DEBUG] Connecting to LDAP server over TLS
2019/05/03 20:27:22 [DEBUG] CA Files: [/etc/hyperledger/fabric-ca-server/uber-ca-chain.pem]
2019/05/03 20:27:22 [DEBUG] Client Cert File: /etc/hyperledger/fabric-ca-server/uber-rca-client.pem
2019/05/03 20:27:22 [DEBUG] Client Key File: /etc/hyperledger/fabric-ca-server/uber-rca-client.key
2019/05/03 20:27:22 [DEBUG] Check client TLS certificate for valid dates
2019/05/03 20:27:22 [DEBUG] Could not load TLS certificate with BCCSP: Could not find matching private key for SKI: Failed getting key for SKI [[129 154 143 176 21 210 109 70 220 52 203 138 26 235 147 178 120 244 56 177 19 153 211 16 154 83 188 221 67 44 142 173]]: Key with SKI 819a8fb015d26d46dc34cb8a1aeb93b278f438b11399d3109a53bcdd432c8ead not found in /etc/hyperledger/fabric-ca-server/msp/keystore
2019/05/03 20:27:22 [DEBUG] Attempting fallback with certfile /etc/hyperledger/fabric-ca-server/uber-rca-client.pem and keyfile /etc/hyperledger/fabric-ca-server/uber-rca-client.key
2019/05/03 20:27:22 [DEBUG] Binding to the LDAP server as admin user cn=admin,dc=uber,dc=com
2019/05/03 20:27:22 [DEBUG] Successfully retrieved user 'siddjain', DN: uid=siddjain,ou=users,dc=uber,dc=com
2019/05/03 20:27:22 [DEBUG] Connecting to LDAP server over TLS
2019/05/03 20:27:22 [DEBUG] CA Files: [/etc/hyperledger/fabric-ca-server/uber-ca-chain.pem]
2019/05/03 20:27:22 [DEBUG] Client Cert File: /etc/hyperledger/fabric-ca-server/uber-rca-client.pem
2019/05/03 20:27:22 [DEBUG] Client Key File: /etc/hyperledger/fabric-ca-server/uber-rca-client.key
2019/05/03 20:27:22 [DEBUG] Check client TLS certificate for valid dates
2019/05/03 20:27:22 [DEBUG] Could not load TLS certificate with BCCSP: Could not find matching private key for SKI: Failed getting key for SKI [[129 154 143 176 21 210 109 70 220 52 203 138 26 235 147 178 120 244 56 177 19 153 211 16 154 83 188 221 67 44 142 173]]: Key with SKI 819a8fb015d26d46dc34cb8a1aeb93b278f438b11399d3109a53bcdd432c8ead not found in /etc/hyperledger/fabric-ca-server/msp/keystore
2019/05/03 20:27:22 [DEBUG] Attempting fallback with certfile /etc/hyperledger/fabric-ca-server/uber-rca-client.pem and keyfile /etc/hyperledger/fabric-ca-server/uber-rca-client.key
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f927a0de259]
runtime stack:
runtime.throw(0xd0e3c8, 0x2a)
/opt/go/src/runtime/panic.go:616 +0x81
runtime.sigpanic()
/opt/go/src/runtime/signal_unix.go:372 +0x28e
goroutine 33 [syscall]:
runtime.cgocall(0xa04560, 0xc42003c5f8, 0x29)
/opt/go/src/runtime/cgocall.go:128 +0x64 fp=0xc42003c5b8 sp=0xc42003c580 pc=0x404a74
net._C2func_getaddrinfo(0xc420025a80, 0x0, 0xc4201715f0, 0xc42000e1c0, 0x0, 0x0, 0x0)
_cgo_gotypes.go:92 +0x55 fp=0xc42003c5f8 sp=0xc42003c5b8 pc=0x593455
net.cgoLookupIPCNAME.func1(0xc420025a80, 0x0, 0xc4201715f0, 0xc42000e1c0, 0x11, 0x11, 0xc420066040)
/opt/go/src/net/cgo_unix.go:149 +0x13b fp=0xc42003c640 sp=0xc42003c5f8 pc=0x59a1bb
net.cgoLookupIPCNAME(0xc42025cba0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/net/cgo_unix.go:149 +0x174 fp=0xc42003c738 sp=0xc42003c640 pc=0x594ac4
net.cgoIPLookup(0xc420020d80, 0xc42025cba0, 0x10)
/opt/go/src/net/cgo_unix.go:201 +0x4d fp=0xc42003c7c8 sp=0xc42003c738 pc=0x59518d
runtime.goexit()
/opt/go/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc42003c7d0 sp=0xc42003c7c8 pc=0x45d971
created by net.cgoLookupIP
/opt/go/src/net/cgo_unix.go:211 +0xaf
goroutine 1 [IO wait]:
internal/poll.runtime_pollWait(0x7f927a473f00, 0x72, 0x0)
/opt/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4201e6798, 0x72, 0xc420066000, 0x0, 0x0)
/opt/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4201e6798, 0xffffffffffffff00, 0x0, 0x0)
/opt/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Accept(0xc4201e6780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/internal/poll/fd_unix.go:372 +0x1a8
net.(*netFD).accept(0xc4201e6780, 0xc42060d7f0, 0xc42060d7f0, 0x40460c)
/opt/go/src/net/fd_unix.go:238 +0x42
net.(*TCPListener).accept(0xc42000e3d0, 0xc42040e760, 0xc08da0, 0xc08da0)
/opt/go/src/net/tcpsock_posix.go:136 +0x2e
net.(*TCPListener).Accept(0xc42000e3d0, 0x4382b4, 0xc42060d828, 0x45a3d0, 0xc42060d868)
/opt/go/src/net/tcpsock.go:259 +0x49
crypto/tls.(*listener).Accept(0xc4206059c0, 0xd2e5d0, 0xc42040e6e0, 0xd92300, 0xc4204f2b40)
/opt/go/src/crypto/tls/tls.go:52 +0x37
net/http.(*Server).Serve(0xc4206060d0, 0xd90980, 0xc4206059c0, 0x0, 0x0)
/opt/go/src/net/http/server.go:2773 +0x1a5
net/http.Serve(0xd90980, 0xc4206059c0, 0xd86fa0, 0xc420020a20, 0x1, 0xcf25e4)
/opt/go/src/net/http/server.go:2392 +0x73
github.com/hyperledger/fabric-ca/lib.(*Server).serve(0xc4204f7b00, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/server.go:598 +0x5a
github.com/hyperledger/fabric-ca/lib.(*Server).listenAndServe(0xc4204f7b00, 0x23, 0xc420533c00)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/server.go:578 +0x7c8
github.com/hyperledger/fabric-ca/lib.(*Server).Start(0xc4204f7b00, 0xc4204f7b00, 0x4)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/server.go:137 +0x245
main.(*ServerCmd).init.func3(0xc420094fc0, 0xc420001b00, 0x0, 0x18, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/servercmd.go:121 +0xec
github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).execute(0xc420094fc0, 0xc420001980, 0x18, 0x18, 0xc420094fc0, 0xc420001980)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:643 +0x3db
github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420094900, 0xbe6e80, 0xd850b0, 0xc4201edef8)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:734 +0x2d4
github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420094900, 0xc42011e000, 0xc4200886e0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/github.com/spf13/cobra/command.go:692 +0x2b
main.(*ServerCmd).Execute(0xc4200886e0, 0x5, 0xc420170c01)
/opt/gopath/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/servercmd.go:69 +0x2f
main.RunMain(0xc42001e1a0, 0x1a, 0x1a, 0xc4201edf78, 0xc420072058)
/opt/gopath/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/main.go:45 +0xb2
main.main()
/opt/gopath/src/github.com/hyperledger/fabric-ca/cmd/fabric-ca-server/main.go:27 +0x45
goroutine 32 [select]:
net.cgoLookupIP(0xd92240, 0xc420067400, 0xc42025cba0, 0x10, 0x0, 0x0, 0x2, 0x2, 0x0, 0x2)
/opt/go/src/net/cgo_unix.go:212 +0x19f
net.(*Resolver).lookupIP(0x1347ba0, 0xd92240, 0xc420067400, 0xc42025cba0, 0x10, 0xc42002c070, 0xc420001800, 0xc420066040, 0xc42053baa0, 0xc42002c070)
/opt/go/src/net/lookup_unix.go:95 +0x12d
net.(*Resolver).(net.lookupIP)-fm(0xd92240, 0xc420067400, 0xc42025cba0, 0x10, 0x42ce09, 0x8, 0xc420066040, 0xc42053ba80, 0xc42003c6a0)
/opt/go/src/net/lookup.go:192 +0x56
net.glob..func10(0xd92240, 0xc420067400, 0xc4202af620, 0xc42025cba0, 0x10, 0xc420467b60, 0xd2ed28, 0xc42053b8d0, 0xc42053b8d0, 0xc42003c7a8)
/opt/go/src/net/hook.go:19 +0x52
net.(*Resolver).LookupIPAddr.func1(0x0, 0x0, 0x0, 0x0)
/opt/go/src/net/lookup.go:206 +0xd8
internal/singleflight.(*Group).doCall(0x1347b90, 0xc420089400, 0xc42025cba0, 0x10, 0xc420171530)
/opt/go/src/internal/singleflight/singleflight.go:95 +0x2e
created by internal/singleflight.(*Group).DoChan
/opt/go/src/internal/singleflight/singleflight.go:88 +0x2d0
goroutine 31 [select]:
github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap%2ev2.(*Conn).processMessages(0xc42040fea0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap.v2/conn.go:350 +0x148
created by github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap%2ev2.(*Conn).Start
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap.v2/conn.go:157 +0x61
goroutine 10 [select]:
database/sql.(*DB).connectionOpener(0xc42040f0e0, 0xd92240, 0xc42053b880)
/opt/go/src/database/sql/sql.go:935 +0x119
created by database/sql.OpenDB
/opt/go/src/database/sql/sql.go:634 +0x178
goroutine 11 [select]:
database/sql.(*DB).connectionResetter(0xc42040f0e0, 0xd92240, 0xc42053b880)
/opt/go/src/database/sql/sql.go:948 +0x12a
created by database/sql.OpenDB
/opt/go/src/database/sql/sql.go:635 +0x1ae
goroutine 30 [IO wait]:
internal/poll.runtime_pollWait(0x7f927a473d60, 0x72, 0xc420053808)
/opt/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4201e6398, 0x72, 0xffffffffffffff00, 0xd88cc0, 0x130a378)
/opt/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4201e6398, 0xc420137800, 0x400, 0x400)
/opt/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4201e6380, 0xc420137800, 0x400, 0x400, 0x0, 0x0, 0x0)
/opt/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4201e6380, 0xc420137800, 0x400, 0x400, 0xc4200d19a0, 0xc42013781a, 0x1)
/opt/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e210, 0xc420137800, 0x400, 0x400, 0x0, 0x0, 0x0)
/opt/go/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc4204f2030, 0x7f927a49da90, 0xc42000e210, 0x5, 0xc42000e210, 0x4673a8)
/opt/go/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4200d1880, 0xd2ed17, 0xc4200d19a0, 0xc42046d068)
/opt/go/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4200d1880, 0xc42046d06b, 0x1, 0x1, 0x0, 0x0, 0x0)
/opt/go/src/crypto/tls/conn.go:1156 +0x100
io.ReadAtLeast(0x7f927a49e648, 0xc4200d1880, 0xc42046d06b, 0x1, 0x1, 0x1, 0xbe71c0, 0xc4200f7a01, 0xc42046d06b)
/opt/go/src/io/io.go:309 +0x86
io.ReadFull(0x7f927a49e648, 0xc4200d1880, 0xc42046d06b, 0x1, 0x1, 0x1, 0xc420053ca0, 0x954dee)
/opt/go/src/io/io.go:327 +0x58
github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber%2ev1.readByte(0x7f927a49e648, 0xc4200d1880, 0x955c5f, 0x7, 0xc42046d06a)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber.v1/util.go:7 +0x83
github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber%2ev1.readIdentifier(0x7f927a49e648, 0xc4200d1880, 0x15, 0xc42025cb80, 0x15, 0xc42025cb80, 0x15)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber.v1/identifier.go:15 +0x4d
github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber%2ev1.readHeader(0x7f927a49e648, 0xc4200d1880, 0x15, 0x15, 0x1, 0xc420053e30, 0x414c0c, 0xc4201f4320)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber.v1/header.go:9 +0x39
github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber%2ev1.readPacket(0x7f927a49e648, 0xc4200d1880, 0xc35540, 0xcd3980, 0xc42040fe00, 0x7f927a49e648)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber.v1/ber.go:276 +0x50
github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber%2ev1.ReadPacket(0x7f927a49e648, 0xc4200d1880, 0xc4200d1880, 0x7f927a49e648, 0xc4200d1880)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/asn1-ber.v1/ber.go:199 +0x35
github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap%2ev2.(*Conn).reader(0xc42040fea0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap.v2/conn.go:439 +0xb9
created by github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap%2ev2.(*Conn).Start
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap.v2/conn.go:156 +0x3f
goroutine 26 [IO wait]:
internal/poll.runtime_pollWait(0x7f927a473e30, 0x72, 0xc420040410)
/opt/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4201e6018, 0x72, 0xffffffffffffff00, 0xd88cc0, 0x130a378)
/opt/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4201e6018, 0xc420136400, 0x400, 0x400)
/opt/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4201e6000, 0xc420136400, 0x400, 0x400, 0x0, 0x0, 0x0)
/opt/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4201e6000, 0xc420136400, 0x400, 0x400, 0x43f80c, 0xc4200720b8, 0x1)
/opt/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e010, 0xc420136400, 0x400, 0x400, 0x0, 0x0, 0x0)
/opt/go/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc42026e6f0, 0x7f927a49da90, 0xc42000e010, 0x5, 0xc42000e010, 0x2)
/opt/go/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4200d1500, 0xd2ed17, 0xc4200d1620, 0xc4200407a0)
/opt/go/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4200d1500, 0xc4204f2c41, 0x1, 0x1, 0x0, 0x0, 0x0)
/opt/go/src/crypto/tls/conn.go:1156 +0x100
net/http.(*connReader).backgroundRead(0xc4204f2c30)
/opt/go/src/net/http/server.go:668 +0x5a
created by net/http.(*connReader).startBackgroundRead
/opt/go/src/net/http/server.go:664 +0xce
goroutine 25 [select]:
net.(*Resolver).LookupIPAddr(0x1347ba0, 0xd922c0, 0xc4200208a0, 0xc42025cba0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/net/lookup.go:212 +0x50d
net.(*Resolver).internetAddrList(0x1347ba0, 0xd922c0, 0xc4200208a0, 0xce98ad, 0x3, 0xc42025cba0, 0x14, 0x0, 0x0, 0x0, ...)
/opt/go/src/net/ipsock.go:293 +0x5c4
net.(*Resolver).resolveAddrList(0x1347ba0, 0xd922c0, 0xc4200208a0, 0xce9d96, 0x4, 0xce98ad, 0x3, 0xc42025cba0, 0x14, 0x0, ...)
/opt/go/src/net/dial.go:193 +0x50c
net.(*Dialer).DialContext(0xc4207bf6c8, 0xd92280, 0xc42002a018, 0xce98ad, 0x3, 0xc42025cba0, 0x14, 0x0, 0x0, 0x0, ...)
/opt/go/src/net/dial.go:375 +0x22b
net.(*Dialer).Dial(0xc4207bf6c8, 0xce98ad, 0x3, 0xc42025cba0, 0x14, 0xc42026f9b0, 0x1348fc0, 0xc42028f700, 0xc420020840)
/opt/go/src/net/dial.go:320 +0x75
net.DialTimeout(0xce98ad, 0x3, 0xc42025cba0, 0x14, 0xdf8475800, 0xc4202ae8b0, 0xbcee80, 0xc4200f7ba0, 0xc4204bf400)
/opt/go/src/net/dial.go:306 +0xa6
github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap%2ev2.DialTLS(0xce98ad, 0x3, 0xc42025cba0, 0x14, 0xc420119500, 0x0, 0x14, 0xe)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/gopkg.in/ldap.v2/conn.go:125 +0x73
github.com/hyperledger/fabric-ca/lib/ldap.(*Client).newConnection(0xc42011a240, 0x0, 0xc420341000, 0x7a4)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/ldap/client.go:330 +0x20b
github.com/hyperledger/fabric-ca/lib/ldap.(*user).Login(0xc4200f7b80, 0xc42025c189, 0x8, 0xffffffffffffffff, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/ldap/client.go:382 +0x4f
github.com/hyperledger/fabric-ca/lib.(*serverRequestContextImpl).BasicAuthentication(0xc42040e960, 0xc42034fad8, 0x4ecfec, 0xc42034fad8, 0x414128)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/serverrequestcontext.go:117 +0x2a7
github.com/hyperledger/fabric-ca/lib.enrollHandler(0xc42040e960, 0xc42040e960, 0x0, 0x0, 0x1)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/serverenroll.go:70 +0x2f
github.com/hyperledger/fabric-ca/lib.(*serverEndpoint).ServeHTTP(0xc420171b60, 0xd91c00, 0xc42012a7e0, 0xc420116700)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/serverendpoint.go:43 +0x872
github.com/hyperledger/fabric-ca/vendor/github.com/gorilla/mux.(*Router).ServeHTTP(0xc420020a20, 0xd91c00, 0xc42012a7e0, 0xc420116700)
/opt/gopath/src/github.com/hyperledger/fabric-ca/vendor/github.com/gorilla/mux/mux.go:150 +0xed
net/http.serverHandler.ServeHTTP(0xc4206060d0, 0xd91c00, 0xc42012a7e0, 0xc420116500)
/opt/go/src/net/http/server.go:2697 +0xbc
net/http.(*conn).serve(0xc42040e6e0, 0xd92240, 0xc420067100)
/opt/go/src/net/http/server.go:1830 +0x651
created by net/http.(*Server).Serve
/opt/go/src/net/http/server.go:2798 +0x27b
goroutine 24 [chan receive]:
github.com/hyperledger/fabric-ca/lib/server/idemix.(*nonceManager).startNonceSweeper.func1(0xc420088f00, 0xc4200672c0)
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/server/idemix/nonce.go:134 +0xba
created by github.com/hyperledger/fabric-ca/lib/server/idemix.(*nonceManager).startNonceSweeper
/opt/gopath/src/github.com/hyperledger/fabric-ca/lib/server/idemix/nonce.go:133 +0x5b
siddjain@rca:~/uber-rca$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment