-09-09 03:51:38.588 UTC [msp] GetDefaultSigningIdentity -> DEBU 018 Obtaining
default signing identity
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f57b5f12259]

runtime stack:
runtime.throw(0xdc37a7, 0x2a)
/opt/go/src/runtime/panic.go:566 +0x95
runtime.sigpanic()
/opt/go/src/runtime/sigpanic_unix.go:12 +0x2cc

goroutine 34 [syscall, locked to thread]:
runtime.cgocall(0xb08d50, 0xc420020df8, 0xc400000000)
/opt/go/src/runtime/cgocall.go:131 +0x110 fp=0xc420020db0 sp=0xc420020d70
net._C2func_getaddrinfo(0x7f57a80008c0, 0x0, 0xc42035ca50, 0xc420028860, 0x0,
0x0, 0x0)
??:0 +0x68 fp=0xc420020df8 sp=0xc420020db0
net.cgoLookupIPCNAME(0x7ffd1c4d8a83, 0x13, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/net/cgo_unix.go:146 +0x37c fp=0xc420020f18 sp=0xc420020df8
net.cgoIPLookup(0xc42036a120, 0x7ffd1c4d8a83, 0x13)
/opt/go/src/net/cgo_unix.go:198 +0x4d fp=0xc420020fa8 sp=0xc420020f18
runtime.goexit()
/opt/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc420020fb0 sp=0xc420020fa8
created by net.cgoLookupIP
/opt/go/src/net/cgo_unix.go:208 +0xb4

goroutine 1 [select]:

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*addrConn).wait(0xc4200d1340,
0x7f57b6935a10, 0xc42035c990, 0xc420130100, 0x8006f0, 0x7f57b6935a10,
0xc42035c990, 0x0)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:1032
+0x183

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).getTransport(0xc420195d40,
0x7f57b6935a10, 0xc42035c990, 0xc42035c900, 0x7f57b6935a10, 0xc42035c960, 0x19,
0x0, 0xc42013d900)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:724
+0x2f7

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newClientStream(0x7f57b6935a10,
0xc42035c990, 0x13e1f40, 0xc420195d40, 0xdb7f76, 0x20, 0x0, 0x0, 0x0, 0x0, …)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:189
+0x599

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.NewClientStream(0x7f57b6935990,
0xc420012290, 0x13e1f40, 0xc420195d40, 0xdb7f76, 0x20, 0x0, 0x0, 0x0, 0x18, …)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/stream.go:105
+0x162

github.com/hyperledger/fabric/protos/orderer.(*atomicBroadcastClient).Deliver(0xc420028850,
0x7f57b6935990, 0xc420012290, 0x0, 0x0, 0x0, 0x0, 0x0, 0x6, 0xc0)
/opt/gopath/src/github.com/hyperledger/fabric/protos/orderer/ab.pb.go:499
+0xba
github.com/hyperledger/fabric/peer/channel.InitCmdFactory(0xc420300100, 0x0,
0x0, 0x13ee140)
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/channel.go:179
+0x2c0
github.com/hyperledger/fabric/peer/channel.getGenesisBlock(0xc4202df1d0, 0x0,
0x0, 0x0)

/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/deliverclient.go:141
+0x11c
github.com/hyperledger/fabric/peer/channel.executeCreate(0xc4202df1d0,
0xc4202df1d0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:183 +0x50
github.com/hyperledger/fabric/peer/channel.create(0xc4202106c0, 0xc42020d540,
0x1, 0xa, 0xc4202df1d0, 0xd9d943, 0x5)
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:213 +0x45
github.com/hyperledger/fabric/peer/channel.createCmd.func1(0xc4202106c0,
0xc42020d540, 0x1, 0xa, 0x0, 0x0)
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/create.go:59 +0x52

github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute(0xc4202106c0,
0xc42020d400, 0xa, 0xa, 0xc4202106c0, 0xc42020d400)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599
+0x234

github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x13e58c0,
0xf, 0xc420010035, 0x7)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689
+0x367

github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute(0x13e58c0,
0x7d, 0xc420010035)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648
+0x2b
main.main()
/opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118 +0x54e

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/opt/go/src/runtime/asm_amd64.s:2086 +0x1

goroutine 33 [select]:
net.cgoLookupIP(0x13fc8c0, 0xc42036a060, 0x7ffd1c4d8a83, 0x13, 0xc42011a780,
0xc420027e68, 0x0, 0x0, 0x0, 0x0)
/opt/go/src/net/cgo_unix.go:209 +0x2f5
net.lookupIP(0x13fc8c0, 0xc42036a060, 0x7ffd1c4d8a83, 0x13, 0xc4202f7440,
0x0, 0x0, 0x0, 0x40005)
/opt/go/src/net/lookup_unix.go:70 +0xf9
net.glob..func11(0x13fc8c0, 0xc42036a060, 0xe2abc0, 0x7ffd1c4d8a83, 0x13,
0xc420027ec8, 0x71c6a9, 0xc420027f08, 0xc420027f18, 0x455cc0)
/opt/go/src/net/hook.go:19 +0x52
net.lookupIPContext.func1(0xc420195d40, 0x7ffd1c4d8a83, 0x18, 0x0)
/opt/go/src/net/lookup.go:119 +0x5c
internal/singleflight.(*Group).doCall(0x1419790, 0xc420358910,
0x7ffd1c4d8a83, 0x13, 0xc42035c9f0)
/opt/go/src/internal/singleflight/singleflight.go:93 +0x3c
created by internal/singleflight.(*Group).DoChan
/opt/go/src/internal/singleflight/singleflight.go:86 +0x339

goroutine 10 [syscall]:
os/signal.signal_recv(0x0)
/opt/go/src/runtime/sigqueue.go:116 +0x157
os/signal.loop()
/opt/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.1
/opt/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 32 [select]:
net.lookupIPContext(0x13fc8c0, 0xc42036a060, 0x7ffd1c4d8a83, 0x13, 0x0, 0x0,
0x0, 0x0, 0x1cc09901)
/opt/go/src/net/lookup.go:122 +0x7bc
net.internetAddrList(0x13fc8c0, 0xc42036a060, 0xd9cd17, 0x3, 0x7ffd1c4d8a83,
0x18, 0x0, 0x0, 0x0, 0x13fc8c0, …)
/opt/go/src/net/ipsock.go:241 +0x5e0
net.resolveAddrList(0x13fc8c0, 0xc42036a060, 0xd9d317, 0x4, 0xd9cd17, 0x3,
0x7ffd1c4d8a83, 0x18, 0x0, 0x0, …)
/opt/go/src/net/dial.go:179 +0x106
net.(*Dialer).DialContext(0xc4200496c8, 0x13fc8c0, 0xc42036a060, 0xd9cd17,
0x3, 0x7ffd1c4d8a83, 0x18, 0x0, 0x0, 0x0, …)
/opt/go/src/net/dial.go:329 +0x238

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.dialContext(0x13fc8c0,
0xc42036a060, 0xd9cd17, 0x3, 0x7ffd1c4d8a83, 0x18, 0x0, 0x0, 0xc420106e10,
0xc42033b780)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/go17.go:53
+0xaa

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.DialContext.func1(0x7f57b6935a50,
0xc42036a060, 0x7ffd1c4d8a83, 0x18, 0x1, 0x0, 0x13ee140, 0xc420125e40)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:341
+0x86

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.newProxyDialer.func1(0x7f57b6935a50,
0xc42036a060, 0x7ffd1c4d8a83, 0x18, 0x13, 0x7f57b6936f60, 0x0, 0x0)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/proxy.go:136
+0x143

github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.dial(0x7f57b6935a50,
0xc42036a060, 0xc4203664a0, 0x7ffd1c4d8a83, 0x18, 0x410a5e, 0xc42032b040, 0xa0,
0x98)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:135
+0x5a

github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.newHTTP2Client(0x7f57b6935a50,
0xc42036a060, 0x7ffd1c4d8a83, 0x18, 0x0, 0x0, 0xda8cf6, 0x11, 0x0, 0x0, …)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/http2_client.go:173
+0xbf

github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport.NewClientTransport(0x7f57b6935a50,
0xc42036a060, 0x7ffd1c4d8a83, 0x18, 0x0, 0x0, 0xda8cf6, 0x11, 0x0, 0x0, …)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/transport/transport.go:463
+0xae

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*addrConn).resetTransport(0xc4200d1340,
0xc420337400, 0x70a61c, 0x0)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:876
+0x282

github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn.func1(0xc4200d1340)

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:648
+0x34
created by
github.com/hyperledger/fabric/vendor/google.golang.org/grpc.(*ClientConn).resetAddrConn

/opt/gopath/src/github.com/hyperledger/fabric/vendor/google.golang.org/grpc/clientconn.go:657
+0x756
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario
==================

cd $GOPATH/src/github.com/hyperledger/fabric/examples/e2e_cli vi
/etc/resolv.conf 配置,将 options timeout:2 attempts:3 rotate single-request-reopen
内容注释掉。

orderer.example.com:7050: connection error: desc = “transport: authentication
handshake failed: x509: certificate signed by unknown authority (possibly
because of \”x509: ECDSA verification failure\” while trying to verify
candidate authority certificate \”tlsca.example.com\”)”; please retry.
Error: Error connecting due to rpc error: code = Internal desc = connection
error: desc = “transport: authentication handshake failed: x509: certificate
signed by unknown authority (possibly because of \”x509: ECDSA verification
failure\” while trying to verify candidate authority certificate
\”tlsca.example.com\”)”
Usage:
peer channel create [flags]

Flags:
-c, –channelID string In case of a newChain command, the channel ID to create.
-f, –file string Configuration transaction file generated by a tool such as
configtxgen for submitting to orderer
-t, –timeout int Channel creation timeout (default 5)

Global Flags:
–cafile string Path to file containing PEM-encoded trusted certificate(s) for
the ordering endpoint
–logging-level string Default logging level and overrides, see core.yaml for
full syntax
-o, –orderer string Ordering service endpoint
–test.coverprofile string Done (default “coverage.cov”)
–tls Use TLS when communicating with the orderer endpoint
-v, –version Display current version of fabric peer server

!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario
==================

./network_setup.sh down mychannel 重启即可

友情链接
ioDraw流程图
API参考文档
OK工具箱
云服务器优惠
阿里云优惠券
腾讯云优惠券
华为云优惠券
站点信息
问题反馈
邮箱:ixiaoyang8@qq.com
QQ群:637538335
关注微信