Setting up a Blockchain Business Network With Hyperledger Fabric & Composer Running in Multiple Physical Machine


(Varun Raj) #42

I can see that you’ve changed the channel name, did you reflect that everywhere in your setup?


(P B) #43

Yes, I have changed it everywhere.


(Varun Raj) #44

Can you share the orderer logs?


(P B) #45

here it is!!

2018-02-16 10:21:13.034 UTC [kvledger.util] CreateDirIfMissing -> DEBU 01e CreateDirIfMissing [/var/hyperledger/production/orderer/index/]
2018-02-16 10:21:13.034 UTC [kvledger.util] logDirStatus -> DEBU 01f Before creating dir - [/var/hyperledger/production/orderer/index/] does not exist
2018-02-16 10:21:13.036 UTC [kvledger.util] logDirStatus -> DEBU 020 After creating dir - [/var/hyperledger/production/orderer/index/] exists
2018-02-16 10:21:13.180 UTC [fsblkstorage] newBlockfileMgr -> DEBU 021 newBlockfileMgr() initializing file-based block storage for ledger: testchainid 
2018-02-16 10:21:13.180 UTC [kvledger.util] CreateDirIfMissing -> DEBU 022 CreateDirIfMissing [/var/hyperledger/production/orderer/chains/testchainid/]
2018-02-16 10:21:13.180 UTC [kvledger.util] logDirStatus -> DEBU 023 Before creating dir - [/var/hyperledger/production/orderer/chains/testchainid/] does not exist
2018-02-16 10:21:13.180 UTC [kvledger.util] logDirStatus -> DEBU 024 After creating dir - [/var/hyperledger/production/orderer/chains/testchainid/] exists
2018-02-16 10:21:13.181 UTC [fsblkstorage] newBlockfileMgr -> INFO 025 No info about blocks file found in the db. 
			This could happen if this is the first time the ledger is constructed or the index is dropped.
			Scanning blocks dir for the latest info
2018-02-16 10:21:13.181 UTC [fsblkstorage] constructCheckpointInfoFromBlockFiles -> DEBU 026 Retrieving checkpoint info from block files
2018-02-16 10:21:13.181 UTC [fsblkstorage] retrieveLastFileSuffix -> DEBU 027 retrieveLastFileSuffix()
2018-02-16 10:21:13.181 UTC [fsblkstorage] retrieveLastFileSuffix -> DEBU 028 retrieveLastFileSuffix() - biggestFileNum = -1
2018-02-16 10:21:13.181 UTC [fsblkstorage] constructCheckpointInfoFromBlockFiles -> DEBU 029 Last file number found = -1
2018-02-16 10:21:13.181 UTC [fsblkstorage] constructCheckpointInfoFromBlockFiles -> INFO 02a No block file found
2018-02-16 10:21:13.181 UTC [fsblkstorage] newBlockfileMgr -> INFO 02b Info constructed by scanning the blocks dir = (*fsblkstorage.checkpointInfo)(0xc4203d47a0)(latestFileChunkSuffixNum=[0], latestFileChunksize=[0], isChainEmpty=[true], lastBlockNumber=[0])
2018-02-16 10:21:13.270 UTC [fsblkstorage] newBlockIndex -> DEBU 02c newBlockIndex() - indexItems:[[BlockNum]]
2018-02-16 10:21:13.270 UTC [fsblkstorage] syncIndex -> INFO 02d No block indexed, Last block present in block files=[0]
2018-02-16 10:21:13.270 UTC [fsblkstorage] syncIndex -> INFO 02e Start building index from block [0]
2018-02-16 10:21:13.270 UTC [fsblkstorage] newBlockfileStream -> DEBU 02f newBlockfileStream(): filePath=[/var/hyperledger/production/orderer/chains/testchainid/blockfile_000000], startOffset=[0]
2018-02-16 10:21:13.270 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 030 Finished reading file number [0]
2018-02-16 10:21:13.270 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 031 blockbytes [0] read from file [0]
2018-02-16 10:21:13.270 UTC [fsblkstorage] syncIndex -> INFO 032 Finished building index. Last block indexed [0]
2018-02-16 10:21:13.325 UTC [fsblkstorage] indexBlock -> DEBU 033 Indexing block [blockNum=0, blockHash=[]byte{0x6, 0x1a, 0x57, 0x31, 0x9e, 0x25, 0xe0, 0x81, 0xb4, 0xc3, 0xf7, 0xa5, 0xcf, 0x2f, 0xfd, 0x4b, 0x33, 0x14, 0xdc, 0x87, 0x51, 0xb3, 0x11, 0x15, 0x1b, 0xdb, 0x5a, 0x11, 0xf0, 0xa6, 0xfb, 0x99} txOffsets=
txId=acf92e71f2a562fdfaae0a729d5f5f205e046314f61ef0e83bb6b39a0977b841 locPointer=offset=38, bytesLength=6309
]
2018-02-16 10:21:13.418 UTC [fsblkstorage] updateCheckpoint -> DEBU 034 Broadcasting about update checkpointInfo: latestFileChunkSuffixNum=[0], latestFileChunksize=[6352], isChainEmpty=[false], lastBlockNumber=[0]
2018-02-16 10:21:13.418 UTC [fsblkstorage] retrieveBlockByNumber -> DEBU 035 retrieveBlockByNumber() - blockNum = [0]
2018-02-16 10:21:13.418 UTC [fsblkstorage] newBlockfileStream -> DEBU 036 newBlockfileStream(): filePath=[/var/hyperledger/production/orderer/chains/testchainid/blockfile_000000], startOffset=[0]
2018-02-16 10:21:13.418 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 037 Remaining bytes=[6352], Going to peek [8] bytes
2018-02-16 10:21:13.418 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 038 Returning blockbytes - length=[6350], placementInfo={fileNum=[0], startOffset=[0], bytesOffset=[2]}
2018-02-16 10:21:13.419 UTC [fsblkstorage] retrieveBlockByNumber -> DEBU 039 retrieveBlockByNumber() - blockNum = [0]
2018-02-16 10:21:13.419 UTC [fsblkstorage] newBlockfileStream -> DEBU 03a newBlockfileStream(): filePath=[/var/hyperledger/production/orderer/chains/testchainid/blockfile_000000], startOffset=[0]
2018-02-16 10:21:13.419 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 03b Remaining bytes=[6352], Going to peek [8] bytes
2018-02-16 10:21:13.419 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 03c Returning blockbytes - length=[6350], placementInfo={fileNum=[0], startOffset=[0], bytesOffset=[2]}
2018-02-16 10:21:13.419 UTC [common/config] NewStandardValues -> DEBU 03d Initializing protos for *config.ChannelProtos
2018-02-16 10:21:13.419 UTC [common/config] initializeProtosStruct -> DEBU 03e Processing field: HashingAlgorithm
2018-02-16 10:21:13.419 UTC [common/config] initializeProtosStruct -> DEBU 03f Processing field: BlockDataHashingStructure
2018-02-16 10:21:13.419 UTC [common/config] initializeProtosStruct -> DEBU 040 Processing field: OrdererAddresses
2018-02-16 10:21:13.419 UTC [common/config] initializeProtosStruct -> DEBU 041 Processing field: Consortium
2018-02-16 10:21:13.419 UTC [common/configtx] addToMap -> DEBU 042 Adding to config map: [Groups] /Channel
2018-02-16 10:21:13.419 UTC [common/configtx] addToMap -> DEBU 043 Adding to config map: [Groups] /Channel/Orderer
2018-02-16 10:21:13.419 UTC [common/configtx] addToMap -> DEBU 044 Adding to config map: [Groups] /Channel/Orderer/OrdererOrg
2018-02-16 10:21:13.419 UTC [common/configtx] addToMap -> DEBU 045 Adding to config map: [Values] /Channel/Orderer/OrdererOrg/MSP
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 046 Adding to config map: [Policy] /Channel/Orderer/OrdererOrg/Readers
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 047 Adding to config map: [Policy] /Channel/Orderer/OrdererOrg/Writers
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 048 Adding to config map: [Policy] /Channel/Orderer/OrdererOrg/Admins
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 049 Adding to config map: [Values] /Channel/Orderer/BatchTimeout
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04a Adding to config map: [Values] /Channel/Orderer/ChannelRestrictions
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04b Adding to config map: [Values] /Channel/Orderer/ConsensusType
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04c Adding to config map: [Values] /Channel/Orderer/BatchSize
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04d Adding to config map: [Policy] /Channel/Orderer/BlockValidation
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04e Adding to config map: [Policy] /Channel/Orderer/Admins
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 04f Adding to config map: [Policy] /Channel/Orderer/Readers
2018-02-16 10:21:13.420 UTC [common/configtx] addToMap -> DEBU 050 Adding to config map: [Policy] /Channel/Orderer/Writers
2018-02-16 10:21:13.421 UTC [common/configtx] addToMap -> DEBU 051 Adding to config map: [Groups] /Channel/Consortiums
2018-02-16 10:21:13.421 UTC [common/configtx] addToMap -> DEBU 052 Adding to config map: [Groups] /Channel/Consortiums/ComposerConsortium
2018-02-16 10:21:13.421 UTC [common/configtx] addToMap -> DEBU 053 Adding to config map: [Groups] /Channel/Consortiums/ComposerConsortium/Org1
2018-02-16 10:21:13.421 UTC [common/configtx] addToMap -> DEBU 054 Adding to config map: [Values] /Channel/Consortiums/ComposerConsortium/Org1/MSP
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 055 Adding to config map: [Policy] /Channel/Consortiums/ComposerConsortium/Org1/Writers
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 056 Adding to config map: [Policy] /Channel/Consortiums/ComposerConsortium/Org1/Admins
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 057 Adding to config map: [Policy] /Channel/Consortiums/ComposerConsortium/Org1/Readers
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 058 Adding to config map: [Values] /Channel/Consortiums/ComposerConsortium/ChannelCreationPolicy
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 059 Adding to config map: [Policy] /Channel/Consortiums/Admins
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 05a Adding to config map: [Values] /Channel/OrdererAddresses
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 05b Adding to config map: [Values] /Channel/HashingAlgorithm
2018-02-16 10:21:13.422 UTC [common/configtx] addToMap -> DEBU 05c Adding to config map: [Values] /Channel/BlockDataHashingStructure
2018-02-16 10:21:13.423 UTC [common/configtx] addToMap -> DEBU 05d Adding to config map: [Policy] /Channel/Admins
2018-02-16 10:21:13.423 UTC [common/configtx] addToMap -> DEBU 05e Adding to config map: [Policy] /Channel/Readers
2018-02-16 10:21:13.423 UTC [common/configtx] addToMap -> DEBU 05f Adding to config map: [Policy] /Channel/Writers
2018-02-16 10:21:13.423 UTC [common/configtx] processConfig -> DEBU 060 Beginning new config for channel testchainid
2018-02-16 10:21:13.423 UTC [common/config] NewStandardValues -> DEBU 061 Initializing protos for *config.ChannelProtos
2018-02-16 10:21:13.423 UTC [common/config] initializeProtosStruct -> DEBU 062 Processing field: HashingAlgorithm
2018-02-16 10:21:13.423 UTC [common/config] initializeProtosStruct -> DEBU 063 Processing field: BlockDataHashingStructure
2018-02-16 10:21:13.423 UTC [common/config] initializeProtosStruct -> DEBU 064 Processing field: OrdererAddresses
2018-02-16 10:21:13.423 UTC [common/config] initializeProtosStruct -> DEBU 065 Processing field: Consortium
2018-02-16 10:21:13.423 UTC [policies] ProposePolicy -> DEBU 066 Proposed new policy Admins for Channel
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 067 Proposed new policy Readers for Channel
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 068 Proposed new policy Writers for Channel
2018-02-16 10:21:13.424 UTC [common/config] NewStandardValues -> DEBU 069 Initializing protos for *config.OrdererProtos
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 06a Processing field: ConsensusType
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 06b Processing field: BatchSize
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 06c Processing field: BatchTimeout
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 06d Processing field: KafkaBrokers
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 06e Processing field: ChannelRestrictions
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 06f Proposed new policy BlockValidation for Orderer
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 070 Proposed new policy Admins for Orderer
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 071 Proposed new policy Readers for Orderer
2018-02-16 10:21:13.424 UTC [policies] ProposePolicy -> DEBU 072 Proposed new policy Writers for Orderer
2018-02-16 10:21:13.424 UTC [common/config] NewStandardValues -> DEBU 073 Initializing protos for *config.OrganizationProtos
2018-02-16 10:21:13.424 UTC [common/config] initializeProtosStruct -> DEBU 074 Processing field: MSP
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 075 Proposed new policy Admins for OrdererOrg
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 076 Proposed new policy Readers for OrdererOrg
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 077 Proposed new policy Writers for OrdererOrg
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 078 Proposed new policy Admins for Consortiums
2018-02-16 10:21:13.425 UTC [common/config] NewStandardValues -> DEBU 079 Initializing protos for *config.ConsortiumProtos
2018-02-16 10:21:13.425 UTC [common/config] initializeProtosStruct -> DEBU 07a Processing field: ChannelCreationPolicy
2018-02-16 10:21:13.425 UTC [common/config] NewStandardValues -> DEBU 07b Initializing protos for *config.OrganizationProtos
2018-02-16 10:21:13.425 UTC [common/config] initializeProtosStruct -> DEBU 07c Processing field: MSP
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 07d Proposed new policy Readers for Org1
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 07e Proposed new policy Writers for Org1
2018-02-16 10:21:13.425 UTC [policies] ProposePolicy -> DEBU 07f Proposed new policy Admins for Org1
2018-02-16 10:21:13.425 UTC [common/config] validateMSP -> DEBU 080 Setting up MSP for org OrdererOrg
2018-02-16 10:21:13.425 UTC [msp] NewBccspMsp -> DEBU 081 Creating BCCSP-based MSP instance
2018-02-16 10:21:13.426 UTC [msp] Setup -> DEBU 082 Setting up MSP instance OrdererMSP
2018-02-16 10:21:13.426 UTC [msp/identity] newIdentity -> DEBU 083 Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICLzCCAdWgAwIBAgIQRg5WEqd72dP4s04WDm8IbjAKBggqhkjOPQQDAjBpMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xFzAVBgNVBAMTDmNhLmV4YW1w
bGUuY29tMB4XDTE4MDIxNjEwMDg1NFoXDTI4MDIxNDEwMDg1NFowaTELMAkGA1UE
BhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFuY2lz
Y28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFtcGxlLmNv
bTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABGFG0W/AfP8B9jVYOpfPerhTi9RO
SF2LGY/S4XN07pldaP6OMV+D2uzLysmUf2nd0v+b1CqdpXUtQQJstcx+WNijXzBd
MA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB/wQFMAMB
Af8wKQYDVR0OBCIEIC0S19a16ExB43O+1K9+2P4iXkmtSiLebURrwbWm9SWSMAoG
CCqGSM49BAMCA0gAMEUCIQDK9lgG8/cmoQHGQndvKs9f02knju1jAaEzfBqMJ8LN
RAIgLvW+Jz8TOz1Qy4HM/qgsQhmhJVjYn1XyGs6lZXWGGUM=
-----END CERTIFICATE-----
2018-02-16 10:21:13.427 UTC [msp/identity] newIdentity -> DEBU 084 Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICCzCCAbGgAwIBAgIRALR4tfp+nn6E/9gxnVdCbSowCgYIKoZIzj0EAwIwaTEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt
cGxlLmNvbTAeFw0xODAyMTYxMDA4NTRaFw0yODAyMTQxMDA4NTRaMFYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
c2NvMRowGAYDVQQDDBFBZG1pbkBleGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqG
SM49AwEHA0IABMpkvkapnD+V5ZkXtHj4F+BJ5z/Tz1MgN0aQlUC6sZIDYoYXAMtC
GQCZWZ6ebAToTiB18S0hOP0yb88PZPLJqeyjTTBLMA4GA1UdDwEB/wQEAwIHgDAM
BgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIC0S19a16ExB43O+1K9+2P4iXkmtSiLe
bURrwbWm9SWSMAoGCCqGSM49BAMCA0gAMEUCIQDLiqaz6tZTZ18fJPPvb6mYGnWO
q8QJqVdY/xsrgmLM4AIgc3u8w4lJcJzB4L0QAuHyvTg0afns2kYsyUD9BPFVJX8=
-----END CERTIFICATE-----
2018-02-16 10:21:13.427 UTC [msp/identity] newIdentity -> DEBU 085 Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICCzCCAbGgAwIBAgIRALR4tfp+nn6E/9gxnVdCbSowCgYIKoZIzj0EAwIwaTEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRcwFQYDVQQDEw5jYS5leGFt
cGxlLmNvbTAeFw0xODAyMTYxMDA4NTRaFw0yODAyMTQxMDA4NTRaMFYxCzAJBgNV
BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
c2NvMRowGAYDVQQDDBFBZG1pbkBleGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqG
SM49AwEHA0IABMpkvkapnD+V5ZkXtHj4F+BJ5z/Tz1MgN0aQlUC6sZIDYoYXAMtC
GQCZWZ6ebAToTiB18S0hOP0yb88PZPLJqeyjTTBLMA4GA1UdDwEB/wQEAwIHgDAM
BgNVHRMBAf8EAjAAMCsGA1UdIwQkMCKAIC0S19a16ExB43O+1K9+2P4iXkmtSiLe
bURrwbWm9SWSMAoGCCqGSM49BAMCA0gAMEUCIQDLiqaz6tZTZ18fJPPvb6mYGnWO
q8QJqVdY/xsrgmLM4AIgc3u8w4lJcJzB4L0QAuHyvTg0afns2kYsyUD9BPFVJX8=
-----END CERTIFICATE-----
2018-02-16 10:21:13.429 UTC [msp] Validate -> DEBU 086 MSP OrdererMSP validating identity
2018-02-16 10:21:13.429 UTC [common/config] validateMSP -> DEBU 087 Setting up MSP for org Org1
2018-02-16 10:21:13.429 UTC [msp] NewBccspMsp -> DEBU 088 Creating BCCSP-based MSP instance
2018-02-16 10:21:13.429 UTC [msp] Setup -> DEBU 089 Setting up MSP instance Org1MSP
2018-02-16 10:21:13.430 UTC [msp/identity] newIdentity -> DEBU 08a Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICRDCCAeqgAwIBAgIRALH2dVRG9T2f8eRLsxFCnVIwCgYIKoZIzj0EAwIwczEL
MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBG
cmFuY2lzY28xGTAXBgNVBAoTEG9yZzEuZXhhbXBsZS5jb20xHDAaBgNVBAMTE2Nh
Lm9yZzEuZXhhbXBsZS5jb20wHhcNMTgwMjE2MTAwODU0WhcNMjgwMjE0MTAwODU0
WjBzMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMN
U2FuIEZyYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UE
AxMTY2Eub3JnMS5leGFtcGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA
BIZ3K05YOFFpZy549TP5Z1wd/4LRwiQiYjBYSY+Xa1Bhf9BVg/Lhx/tP2snrtwRW
Q1sIPtEUFmbET97LewZu6YKjXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAG
BgRVHSUAMA8GA1UdEwEB/wQFMAMBAf8wKQYDVR0OBCIEIMQl1hW7CYVwcLkh3G25
NE8qUKZtUcHvWXAXUl+1pwKqMAoGCCqGSM49BAMCA0gAMEUCIQD5R+d9kvPhIuSe
F3RXeUB7IIi92dDrvIYERqIPQ2h9FwIgM7JueASR1jBEqMv3+ZLewegvSeZq1QHx
kTYeUIb85qw=
-----END CERTIFICATE-----
2018-02-16 10:21:13.430 UTC [msp/identity] newIdentity -> DEBU 08b Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICGDCCAb+gAwIBAgIQJDpODWHubXVtTB1L48JK2jAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMS5leGFtcGxlLmNvbTAeFw0xODAyMTYxMDA4NTRaFw0yODAyMTQxMDA4NTRa
MFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMR8wHQYDVQQDDBZBZG1pbkBvcmcxLmV4YW1wbGUuY29tMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsc0etaFh4NPqN6WZTLFNUTUufGiplC7C
Hy6wzsewB9gf8pHgOca0mO/5r1zepdbV7VK2NCkvZziJE0TnhMBmqaNNMEswDgYD
VR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgxCXWFbsJhXBw
uSHcbbk0TypQpm1Rwe9ZcBdSX7WnAqowCgYIKoZIzj0EAwIDRwAwRAIgJwr/OOfC
ZQgRKUA/TFxpvYj9oDpx3B4jdSlQhPyg0wICIGYps/s2Vgl4niJHBSDGP5Jze/AU
g4Fg+ml2k26YOr5b
-----END CERTIFICATE-----
2018-02-16 10:21:13.431 UTC [msp/identity] newIdentity -> DEBU 08c Creating identity instance for ID -----BEGIN CERTIFICATE-----
MIICGDCCAb+gAwIBAgIQJDpODWHubXVtTB1L48JK2jAKBggqhkjOPQQDAjBzMQsw
CQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy
YW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu
b3JnMS5leGFtcGxlLmNvbTAeFw0xODAyMTYxMDA4NTRaFw0yODAyMTQxMDA4NTRa
MFsxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
YW4gRnJhbmNpc2NvMR8wHQYDVQQDDBZBZG1pbkBvcmcxLmV4YW1wbGUuY29tMFkw
EwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsc0etaFh4NPqN6WZTLFNUTUufGiplC7C
Hy6wzsewB9gf8pHgOca0mO/5r1zepdbV7VK2NCkvZziJE0TnhMBmqaNNMEswDgYD
VR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0jBCQwIoAgxCXWFbsJhXBw
uSHcbbk0TypQpm1Rwe9ZcBdSX7WnAqowCgYIKoZIzj0EAwIDRwAwRAIgJwr/OOfC
ZQgRKUA/TFxpvYj9oDpx3B4jdSlQhPyg0wICIGYps/s2Vgl4niJHBSDGP5Jze/AU
g4Fg+ml2k26YOr5b
-----END CERTIFICATE-----
2018-02-16 10:21:13.432 UTC [msp] Validate -> DEBU 08d MSP Org1MSP validating identity
2018-02-16 10:21:13.432 UTC [msp] Setup -> DEBU 08e Setting up the MSP manager (2 msps)
2018-02-16 10:21:13.432 UTC [msp] Setup -> DEBU 08f MSP manager setup complete, setup 2 msps
2018-02-16 10:21:13.432 UTC [policies] GetPolicy -> DEBU 090 Returning policy Admins for evaluation
2018-02-16 10:21:13.432 UTC [policies] CommitProposals -> DEBU 091 In commit adding relative sub-policy OrdererOrg/Admins to Orderer
2018-02-16 10:21:13.432 UTC [policies] GetPolicy -> DEBU 092 Returning policy Readers for evaluation
2018-02-16 10:21:13.432 UTC [policies] CommitProposals -> DEBU 093 In commit adding relative sub-policy OrdererOrg/Readers to Orderer
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 094 Returning policy Writers for evaluation
2018-02-16 10:21:13.433 UTC [policies] CommitProposals -> DEBU 095 In commit adding relative sub-policy OrdererOrg/Writers to Orderer
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 096 Returning policy Writers for evaluation
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 097 Returning policy Admins for evaluation
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 098 Returning policy Readers for evaluation
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 099 Returning policy Writers for evaluation
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 09a Returning policy Readers for evaluation
2018-02-16 10:21:13.433 UTC [policies] CommitProposals -> DEBU 09b In commit adding relative sub-policy Org1/Readers to ComposerConsortium
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 09c Returning policy Writers for evaluation
2018-02-16 10:21:13.433 UTC [policies] CommitProposals -> DEBU 09d In commit adding relative sub-policy Org1/Writers to ComposerConsortium
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 09e Returning policy Admins for evaluation
2018-02-16 10:21:13.433 UTC [policies] CommitProposals -> DEBU 09f In commit adding relative sub-policy Org1/Admins to ComposerConsortium
2018-02-16 10:21:13.433 UTC [policies] GetPolicy -> DEBU 0a0 Returning policy Org1/Readers for evaluation
2018-02-16 10:21:13.433 UTC [policies] CommitProposals -> DEBU 0a1 In commit adding relative sub-policy ComposerConsortium/Org1/Readers to Consortiums
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0a2 Returning policy Org1/Writers for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0a3 In commit adding relative sub-policy ComposerConsortium/Org1/Writers to Consortiums
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0a4 Returning policy Org1/Admins for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0a5 In commit adding relative sub-policy ComposerConsortium/Org1/Admins to Consortiums
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0a6 Returning policy OrdererOrg/Writers for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0a7 In commit adding relative sub-policy Orderer/OrdererOrg/Writers to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0a8 Returning policy BlockValidation for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0a9 In commit adding relative sub-policy Orderer/BlockValidation to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0aa Returning policy Admins for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0ab In commit adding relative sub-policy Orderer/Admins to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0ac Returning policy Readers for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0ad In commit adding relative sub-policy Orderer/Readers to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0ae Returning policy Writers for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0af In commit adding relative sub-policy Orderer/Writers to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0b0 Returning policy OrdererOrg/Admins for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0b1 In commit adding relative sub-policy Orderer/OrdererOrg/Admins to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0b2 Returning policy OrdererOrg/Readers for evaluation
2018-02-16 10:21:13.434 UTC [policies] CommitProposals -> DEBU 0b3 In commit adding relative sub-policy Orderer/OrdererOrg/Readers to Channel
2018-02-16 10:21:13.434 UTC [policies] GetPolicy -> DEBU 0b4 Returning policy Admins for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0b5 In commit adding relative sub-policy Consortiums/Admins to Channel
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0b6 Returning policy ComposerConsortium/Org1/Readers for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0b7 In commit adding relative sub-policy Consortiums/ComposerConsortium/Org1/Readers to Channel
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0b8 Returning policy ComposerConsortium/Org1/Writers for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0b9 In commit adding relative sub-policy Consortiums/ComposerConsortium/Org1/Writers to Channel
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0ba Returning policy ComposerConsortium/Org1/Admins for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0bb In commit adding relative sub-policy Consortiums/ComposerConsortium/Org1/Admins to Channel
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0bc Returning policy Admins for evaluation
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0bd Returning policy Admins for evaluation
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0be Returning policy Readers for evaluation
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0bf Returning dummy reject all policy because Readers could not be found in /Consortiums/Readers
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0c0 Returning policy Writers for evaluation
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0c1 Returning dummy reject all policy because Writers could not be found in /Consortiums/Writers
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0c2 Returning policy Readers for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0c3 As expected, current configuration has policy '/Channel/Readers'
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0c4 Returning policy Writers for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0c5 As expected, current configuration has policy '/Channel/Writers'
2018-02-16 10:21:13.435 UTC [policies] GetPolicy -> DEBU 0c6 Returning policy Orderer/BlockValidation for evaluation
2018-02-16 10:21:13.435 UTC [policies] CommitProposals -> DEBU 0c7 As expected, current configuration has policy '/Channel/Orderer/BlockValidation'
2018-02-16 10:21:13.435 UTC [fsblkstorage] retrieveBlockByNumber -> DEBU 0c8 retrieveBlockByNumber() - blockNum = [0]
2018-02-16 10:21:13.435 UTC [fsblkstorage] newBlockfileStream -> DEBU 0c9 newBlockfileStream(): filePath=[/var/hyperledger/production/orderer/chains/testchainid/blockfile_000000], startOffset=[0]
2018-02-16 10:21:13.435 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 0ca Remaining bytes=[6352], Going to peek [8] bytes
2018-02-16 10:21:13.435 UTC [fsblkstorage] nextBlockBytesAndPlacementInfo -> DEBU 0cb Returning blockbytes - length=[6350], placementInfo={fileNum=[0], startOffset=[0], bytesOffset=[2]}
2018-02-16 10:21:13.435 UTC [orderer/multichain] newChainSupport -> DEBU 0cc [channel: testchainid] Retrieved metadata for tip of chain (blockNumber=0, lastConfig=0, lastConfigSeq=0): 
2018-02-16 10:21:13.435 UTC [orderer/multichain] NewManagerImpl -> INFO 0cd Starting with system channel testchainid and orderer type solo
2018-02-16 10:21:13.435 UTC [orderer/main] main -> INFO 0ce Beginning to serve requests
2018-02-16 10:21:22.965 UTC [orderer/main] Deliver -> DEBU 0cf Starting new Deliver handler
2018-02-16 10:21:22.966 UTC [orderer/common/deliver] Handle -> DEBU 0d0 Starting new deliver loop
2018-02-16 10:21:22.966 UTC [orderer/common/deliver] Handle -> DEBU 0d1 Attempting to read seek info message
2018-02-16 10:21:22.968 UTC [orderer/main] Broadcast -> DEBU 0d2 Starting new Broadcast handler
2018-02-16 10:21:22.968 UTC [orderer/common/broadcast] Handle -> DEBU 0d3 Starting new broadcast loop
2018-02-16 10:21:22.968 UTC [orderer/common/broadcast] Handle -> DEBU 0d4 Preprocessing CONFIG_UPDATE
2018-02-16 10:21:22.968 UTC [orderer/configupdate] Process -> DEBU 0d5 Processing channel creation request for channel channel001
2018-02-16 10:21:22.968 UTC [orderer/common/broadcast] Handle -> WARN 0d6 Rejecting CONFIG_UPDATE because: Proposed configuration has no application group members, but consortium contains members
2018-02-16 10:21:22.969 UTC [orderer/main] func1 -> DEBU 0d7 Closing Broadcast stream
2018-02-16 10:21:22.971 UTC [orderer/common/deliver] Handle -> WARN 0d8 Error reading from stream: rpc error: code = Canceled desc = context canceled
2018-02-16 10:21:22.971 UTC [orderer/main] func1 -> DEBU 0d9 Closing Deliver stream

(Sreeharsha) #46

Yes i have run the following commands using build.sh file


(Varun Raj) #47

I guess here is the issue. Check your crypto-config

2018-02-16 10:21:22.968 UTC [orderer/common/broadcast] Handle -> WARN 0d6 Rejecting CONFIG_UPDATE because: Proposed configuration has no application group members, but consortium contains members

(Varun Raj) #48

Check if the file is created and mounted successfully.


(P B) #49

Yes I have changed the count, Is there anything else other than count?


(Sreeharsha) #50

Can you please explain how to check whether the file mounted successfully


(Marco) #51

I successfully run the tutorial and everything seems to work. But if after the tutorial I try to run this command: composer runtime install --card PeerAdmin@hlfv1 --businessNetworkName tutorial-network, I receive this error:

✖ Installing runtime for business network tutorial-network. This may take a minute...
Error: Error trying install composer runtime. Error: The Composer runtime failed to install on 1 or more peers
Command failed.

What could be the reason?


(Marco) #52

I solve this problem (it was related to my “connection.json” file), but now I have another error. When I try to execute this command composer network start -c PeerAdmin@hlfv1 -a tutorial-network@0.0.1.bna -A alice -C alice/admin-pub.pem, I receive this error:

Error: Error trying to instantiate composer runtime. Error: Failed to receive commit notification for transaction 'b3bf326d433fd587fbfb559df169ec840477be745fbbd9d1a7d34dc208e8679d' within the timeout period
Command failed

(Sashi Kanth) #53

Hi,
while creating a PeerAdmin card i got his error

**Using composer-cli at v0.16.4**

**Successfully created business network card file to **
**	Output file: /tmp/PeerAdmin@hlfv1.card**

**Command succeeded**

**Error**: Failed to load connector module "composer-connector-hlfv1" for connection type "hlfv1". Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'-Cannot find module '/usr/lib/node_modules/composer-cli/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64/grpc_node.node'
**Command failed**

(Varun Raj) #54

Seems like your node modules are outdated. Or sometimes when the version mismatches it will cause this issue.


(Varun Raj) #55

Try getting into the container and check if the files are present in the corresponding path.


(Rajiv) #56

Can anyone please let me know, what is the use of “PeerAdmin card”?

Thanks in advance.


(Varun Raj) #57

PeerAdmin is the admin card that helps you to install and instantiate the blockchain network in that organization.


(Rajiv) #58

i have installed and instantiated the network without peeradmin card.


(Sashi Kanth) #59

Hi
i have a successful network setup, but now i am trying to install a chaincode using CLI.
but i get this error

Error: Error getting endorser client chaincode: 
PER:404 - Error trying to connect to local peer

******************************
*******************
***************************
******************
Caused by: tls: first record does not look like a TLS handshake

(Haoxue Song) #60

Hi,

I’ve successfully completed this tutorial! Thank you so much for creating this!

And then, I want to deploy the chaincode to the network, but when I run this command:
composer runtime install -c PeerAdmin@fabric-network -n tutorial-network

I got the error message: No valid responses from any peers. Can you help? Thank you so much in advance.


(Ivan Vaccari) #61

Thanks for your article. It is very interesting.
I have a problem with the implementation of the network. I have 1 virtual machine with host the peer0,ca,orderer client and i set up the ip address for the orderer node in every script ( include the ./startFabric). On a second machine, i have copied the entire folder of the first virtual machine, and i have edit the ./startFabric-Peer2.sh with the IP of the orderer client but it return me this error:

Failed to deserialize creator identity, err

The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com"))

Can you help me please?