错误1:
在阿里云机器上运行环境:
[signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7fecd68ca259
需要修改所有相关docker容器yaml文件,在environment中加入
image: hyperledger/fabric-peer
environment:
- GODEBUG=netdns=go
参考 https://segmentfault.com/q/1010000011451324
错误2:
+ peer channel join -b mychannel.block
+ set +x
2018-03-29 06:40:30.155 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2018-03-29 06:40:30.155 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2018-03-29 06:40:30.164 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2018-03-29 06:40:30.165 UTC [msp/identity] Sign -> DEBU 004 Sign: plaintext: 0AB3070A5B08011A0B08DE94F2D50510...C04B430567F11A080A000A000A000A00
2018-03-29 06:40:30.165 UTC [msp/identity] Sign -> DEBU 005 Sign: digest: 5246D2EE79F50CB946097EFE94FEE2A36CCEADFC1D788F738E2B84A164AE1D11
Error: proposal failed (err: rpc error: code = Unknown desc = chaincode error (status: 500, message: Cannot create ledger from genesis block, due to LedgerID already exists))
查询block区块号为0的区块,应该已经包含了新org信息.