nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop$ cd
blockchain-client/
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$ sudo ./[Link] javascript
[sudo] password for nayyar:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-network
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/blockchain-client
Stopping network
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "COMPOSE_PROJECT_NAME" variable is not set. Defaulting to a blank
string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "COMPOSE_PROJECT_NAME" variable is not set. Defaulting to a blank
string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
[+] Running 10/10
⠿ Container ca_org2 Removed
6.2s
⠿ Container couchdb1 Removed
3.7s
⠿ Container ca_orderer Removed
6.0s
⠿ Container couchdb0 Removed
3.9s
⠿ Container ca_org1 Removed
6.3s
⠿ Container [Link] Removed
3.8s
⠿ Volume docker_peer0.[Link] Removed
0.1s
⠿ Volume docker_peer0.[Link] Removed
0.3s
⠿ Network docker_test Removed
1.0s
⠿ Volume docker_orderer.[Link] Removed
0.2s
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
WARN[0000] The "COMPOSE_PROJECT_NAME" variable is not set. Defaulting to a blank
string.
WARN[0000] The "IMAGE_TAG" variable is not set. Defaulting to a blank string.
[+] Running 1/0
⠿ docker Warning: No resource found to remove
0.0s
---- No containers available for deletion ----
---- No images available for deletion ----
Creating channel 'mychannel'.
If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of
'3' seconds and using database 'couchdb with
crypto from 'Certificate Authorities'
Bringing up network
LOCAL_VERSION=2.3.3
DOCKER_IMAGE_VERSION=2.3.3
CA_LOCAL_VERSION=1.5.2
CA_DOCKER_IMAGE_VERSION=1.5.2
##########################################################
##### Generate certificates using Fabric CA's ############
##########################################################
[+] Running 4/4
⠿ Network docker_test Created
1.0s
⠿ Container ca_org2 Started
6.3s
⠿ Container ca_org1 Started
6.1s
⠿ Container ca_orderer Started
4.8s
##########################################################
############ Create Org1 Identities ######################
##########################################################
Enroll the CA admin
+ fabric-ca-client enroll -u [Link] --caname ca-org1
--[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] Created a default configuration file at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/cacerts/localhost-
[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/IssuerRevocationPublic
Key
+ set +x
Register peer0
+ fabric-ca-client register --caname ca-org1 --[Link] peer0 --[Link] peer0pw
--[Link] peer --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: peer0pw
+ set +x
Register user
+ fabric-ca-client register --caname ca-org1 --[Link] user1 --[Link] user1pw
--[Link] client --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: user1pw
+ set +x
Register the org admin
+ fabric-ca-client register --caname ca-org1 --[Link] org1admin --[Link]
org1adminpw --[Link] admin --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: org1adminpw
+ set +x
## Generate the peer0 msp
+ fabric-ca-client enroll -u [Link] --caname ca-org1
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp --[Link] [Link] --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
## Generate the peer0-tls certificates
+ fabric-ca-client enroll -u [Link] --caname ca-org1
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls --[Link] tls --[Link] [Link] --[Link]
localhost --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored TLS root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/tlscacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/IssuerRevocationPublicKey
+ set +x
## Generate the user msp
+ fabric-ca-client enroll -u [Link] --caname ca-org1
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
## Generate the org admin msp
+ fabric-ca-client enroll -u [Link] --caname
ca-org1 -M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org1/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
##########################################################
############ Create Org2 Identities ######################
##########################################################
Enroll the CA admin
+ fabric-ca-client enroll -u [Link] --caname ca-org2
--[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] Created a default configuration file at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/cacerts/localhost-
[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/msp/IssuerRevocationPublic
Key
+ set +x
Register peer0
+ fabric-ca-client register --caname ca-org2 --[Link] peer0 --[Link] peer0pw
--[Link] peer --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: peer0pw
+ set +x
Register user
+ fabric-ca-client register --caname ca-org2 --[Link] user1 --[Link] user1pw
--[Link] client --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: user1pw
+ set +x
Register the org admin
+ fabric-ca-client register --caname ca-org2 --[Link] org2admin --[Link]
org2adminpw --[Link] admin --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/fabric-ca-client-
[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: org2adminpw
+ set +x
## Generate the peer0 msp
+ fabric-ca-client enroll -u [Link] --caname ca-org2
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp --[Link] [Link] --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
## Generate the peer0-tls certificates
+ fabric-ca-client enroll -u [Link] --caname ca-org2
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls --[Link] tls --[Link] [Link] --[Link]
localhost --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/test-network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored TLS root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/tlscacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/peers/[Link].c
om/tls/IssuerRevocationPublicKey
+ set +x
## Generate the user msp
+ fabric-ca-client enroll -u [Link] --caname ca-org2
-M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/User1@[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
## Generate the org admin msp
+ fabric-ca-client enroll -u [Link] --caname
ca-org2 -M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/org2/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/peerOrganizations/[Link]/users/Admin@[Link].c
om/msp/IssuerRevocationPublicKey
+ set +x
##########################################################
############ Create Orderer Org Identities ###############
##########################################################
Enroll the CA admin
+ fabric-ca-client enroll -u [Link] --caname ca-
orderer --[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] Created a default configuration file at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/msp/cacerts/localhost-9054-
[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/msp/IssuerRevocationPublicKe
y
+ set +x
Register orderer
+ fabric-ca-client register --caname ca-orderer --[Link] orderer --[Link]
ordererpw --[Link] orderer --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: ordererpw
+ set +x
Register the orderer admin
+ fabric-ca-client register --caname ca-orderer --[Link] ordererAdmin --[Link]
ordererAdminpw --[Link] admin --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] Configuration file location:
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] TLS Enabled
Password: ordererAdminpw
+ set +x
## Generate the orderer msp
+ fabric-ca-client enroll -u [Link] --caname ca-
orderer -M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp --[Link] [Link] --[Link] localhost --[Link]
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/IssuerRevocationPublicKey
+ set +x
## Generate the orderer-tls certificates
+ fabric-ca-client enroll -u [Link] --caname ca-
orderer -M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/tls --[Link] tls --[Link] [Link] --[Link] localhost
--[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/tls/signcerts/[Link]
2021/12/06 [Link] [INFO] Stored TLS root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/tls/tlscacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/tls/IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/tls/IssuerRevocationPublicKey
+ set +x
## Generate the admin msp
+ fabric-ca-client enroll -u [Link]
--caname ca-orderer -M /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/users/Admin@[Link]/msp
--[Link] /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/fabric-ca/ordererOrg/[Link]
2021/12/06 [Link] [INFO] TLS Enabled
2021/12/06 [Link] [INFO] generating key: &{A:ecdsa S:256}
2021/12/06 [Link] [INFO] encoded CSR
2021/12/06 [Link] [INFO] Stored client certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/users/Admin@[Link]/msp/
signcerts/[Link]
2021/12/06 [Link] [INFO] Stored root CA certificate at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/users/Admin@[Link]/msp/
cacerts/[Link]
2021/12/06 [Link] [INFO] Stored Issuer public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/users/Admin@[Link]/msp/
IssuerPublicKey
2021/12/06 [Link] [INFO] Stored Issuer revocation public key at
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/users/Admin@[Link]/msp/
IssuerRevocationPublicKey
+ set +x
Generate CCP files for Org1 and Org2
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/../bin/configtxgen
######### Generating Orderer Genesis block ##############
+ configtxgen -profile TwoOrgsOrdererGenesis -channelID system-channel -outputBlock
./system-genesis-block/[Link]
2021-12-06 [Link].339 IST [[Link]] main -> INFO 001 Loading
configuration
2021-12-06 [Link].371 IST [[Link]]
completeInitialization -> INFO 002 orderer type: etcdraft
2021-12-06 [Link].371 IST [[Link]]
completeInitialization -> INFO 003 [Link] unset, setting to
tick_interval:"500ms" election_tick:10 heartbeat_tick:1 max_inflight_blocks:5
snapshot_interval_size:16777216
2021-12-06 [Link].371 IST [[Link]] Load -> INFO 004
Loaded configuration: /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/configtx/[Link]
2021-12-06 [Link].498 IST [[Link]] doOutputBlock -> INFO 005
Generating genesis block
2021-12-06 [Link].498 IST [[Link]] doOutputBlock -> INFO 006
Creating system channel genesis block
2021-12-06 [Link].502 IST [[Link]] doOutputBlock -> INFO 007
Writing genesis block
+ res=0
+ set +x
WARN[0000] The "COMPOSE_PROJECT_NAME" variable is not set. Defaulting to a blank
string.
WARN[0000] The "COMPOSE_PROJECT_NAME" variable is not set. Defaulting to a blank
string.
[+] Running 2/2
⠿ Volume "docker_orderer.[Link]" Created
0.3s
[+] Running 6/8er_peer0.[Link]" Created
0.2s
⠿ Volume "docker_orderer.[Link]" Created
0.3s
⠿ Volume "docker_peer0.[Link]" Created
0.2su ⠿ Volume "docker_peer0.[Link]" Created
0.1s
⠿ Container couchdb0 Created
3.4s
⠿ Container couchdb1 Created
3.4s
⠿ Container [Link] Created
3.5s
⠋ Container [Link] Creating
1.0s
⠏ Container [Link] Creating
0.9s
Error response from daemon: path /var/run/ is mounted on / but it is not a shared
mount.
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS
NAMES
7705f36c49d8 hyperledger/fabric-orderer:latest "orderer" 3
seconds ago Created
[Link]
eb217f12f800 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3
seconds ago Created
couchdb1
d9a7bda0dd16 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3
seconds ago Created
couchdb0
73f0eefcee5a hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 39
seconds ago Up 33 seconds 7054/tcp, [Link]:8054->8054/tcp
ca_org2
9f66a2761335 hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 39
seconds ago Up 34 seconds 7054/tcp, [Link]:9054->9054/tcp
ca_orderer
e4e208f6a63f hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 39
seconds ago Up 33 seconds [Link]:7054->7054/tcp
ca_org1
485cf5016bd9 hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caForensics
65f8f46ac2bc hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caCitizen
b4f1013ed4ed hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caPolice
10fefac0700d hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caIdentityProvider
c0fdc813260c hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caCourt
ad0936b3b719 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
d97566d61c19 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
b7e8bb5017d8 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
50e112b13c81 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
46ad02c6e361 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
cf906088c728 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp, 9100/tcp, [Link]:8984->5984/tcp
[Link]
dd26f2f0205a hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp, 9100/tcp, [Link]:9984->5984/tcp
[Link]
6ee282a163f0 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp, 9100/tcp, [Link]:6984->5984/tcp
[Link]
ece321b20997 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp, 9100/tcp, [Link]:5984->5984/tcp
[Link]
9d1c16ab6233 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp, 9100/tcp, [Link]:7984->5984/tcp
[Link]
c719e70cc9fb docker/getting-started "/docker-entrypoint.…" 4 weeks
ago Exited (0) 4 weeks ago
charming_mcnulty
### Generating channel create transaction '[Link]' ###
+ configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-
artifacts/[Link] -channelID mychannel
2021-12-06 [Link].122 IST [[Link]] main -> INFO 001 Loading
configuration
2021-12-06 [Link].136 IST [[Link]] Load -> INFO 002
Loaded configuration: /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/configtx/[Link]
2021-12-06 [Link].140 IST [[Link]] doOutputChannelCreateTx ->
INFO 003 Generating new channel configtx
2021-12-06 [Link].244 IST [[Link]] doOutputChannelCreateTx ->
INFO 004 Writing new channel tx
+ res=0
+ set +x
### Generating anchor peer update transactions ###
####### Generating anchor peer update transaction for Org1MSP ##########
+ configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-
artifacts/[Link] -channelID mychannel -asOrg
Org1MSP
2021-12-06 [Link].515 IST [[Link]] main -> INFO 001 Loading
configuration
2021-12-06 [Link].531 IST [[Link]] Load -> INFO 002
Loaded configuration: /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/configtx/[Link]
2021-12-06 [Link].536 IST [[Link]] doOutputAnchorPeersUpdate ->
INFO 003 Generating anchor peer update
2021-12-06 [Link].588 IST [[Link]] doOutputAnchorPeersUpdate ->
INFO 004 Writing anchor peer update
+ res=0
+ set +x
####### Generating anchor peer update transaction for Org2MSP ##########
+ configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-
artifacts/[Link] -channelID mychannel -asOrg
Org2MSP
2021-12-06 [Link].858 IST [[Link]] main -> INFO 001 Loading
configuration
2021-12-06 [Link].875 IST [[Link]] Load -> INFO 002
Loaded configuration: /mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/configtx/[Link]
2021-12-06 [Link].878 IST [[Link]] doOutputAnchorPeersUpdate ->
INFO 003 Generating anchor peer update
2021-12-06 [Link].934 IST [[Link]] doOutputAnchorPeersUpdate ->
INFO 004 Writing anchor peer update
+ res=0
+ set +x
Creating channel mychannel
Using organization 1
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride
[Link] -f ./channel-artifacts/[Link] --outputBlock ./channel-
artifacts/[Link] --tls --cafile
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/tlscacerts/[Link]
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride
[Link] -f ./channel-artifacts/[Link] --outputBlock ./channel-
artifacts/[Link] --tls --cafile
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/tlscacerts/[Link]
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride
[Link] -f ./channel-artifacts/[Link] --outputBlock ./channel-
artifacts/[Link] --tls --cafile
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/tlscacerts/[Link]
+ res=1
+ set +x
+ peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride
[Link] -f ./channel-artifacts/[Link] --outputBlock ./channel-
artifacts/[Link] --tls --cafile
/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/test-
network/organizations/ordererOrganizations/[Link]/orderers/[Link]
/msp/tlscacerts/[Link]
+ res=1
+ set +x
Error: failed to create deliver client for orderer: orderer client failed to
connect to localhost:7050: failed to create new connection: connection error: desc
= "transport: error while dialing: dial tcp [Link]:7050: connect: connection
refused"
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
Error !!! Create channel failed
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$ docker logs 7705f36c49d8
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$ docker ps
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS
NAMES
73f0eefcee5a hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 5 minutes
ago Up 5 minutes 7054/tcp, [Link]:8054->8054/tcp ca_org2
9f66a2761335 hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 5 minutes
ago Up 5 minutes 7054/tcp, [Link]:9054->9054/tcp ca_orderer
e4e208f6a63f hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 5 minutes
ago Up 5 minutes [Link]:7054->7054/tcp
ca_org1
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$ docker logs --details 7705f36c49d8nayyar@MD-TAUSEEF-
ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-interop/blockchain-client$ docker
service logs 7705f36c49d8
Error response from daemon: This node is not a swarm manager. Use "docker swarm
init" or "docker swarm join" to connect this node to swarm and try again.
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED
STATUS PORTS
NAMES
7705f36c49d8 hyperledger/fabric-orderer:latest "orderer" 7
minutes ago Created
[Link]
eb217f12f800 hyperledger/fabric-couchdb "tini -- /docker-ent…" 7
minutes ago Created
couchdb1
d9a7bda0dd16 hyperledger/fabric-couchdb "tini -- /docker-ent…" 7
minutes ago Created
couchdb0
73f0eefcee5a hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 8
minutes ago Up 8 minutes 7054/tcp,
[Link]:8054->8054/tcp ca_org2
9f66a2761335 hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 8
minutes ago Up 8 minutes 7054/tcp,
[Link]:9054->9054/tcp ca_orderer
e4e208f6a63f hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 8
minutes ago Up 8 minutes [Link]:7054->7054/tcp
ca_org1
485cf5016bd9 hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caForensics
65f8f46ac2bc hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caCitizen
b4f1013ed4ed hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caPolice
10fefac0700d hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caIdentityProvider
c0fdc813260c hyperledger/fabric-ca:1.4 "sh -c 'fabric-ca-se…" 3 weeks
ago Exited (1) 3 weeks ago
caCourt
ad0936b3b719 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
d97566d61c19 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
b7e8bb5017d8 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
50e112b13c81 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
46ad02c6e361 hyperledger/fabric-peer:1.4 "peer node start" 3 weeks
ago Exited (1) 3 weeks ago
[Link]
cf906088c728 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp,
9100/tcp, [Link]:8984->5984/tcp [Link]
dd26f2f0205a hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp,
9100/tcp, [Link]:9984->5984/tcp [Link]
6ee282a163f0 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp,
9100/tcp, [Link]:6984->5984/tcp [Link]
ece321b20997 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp,
9100/tcp, [Link]:5984->5984/tcp [Link]
9d1c16ab6233 hyperledger/fabric-couchdb "tini -- /docker-ent…" 3 weeks
ago Exited (255) 2 weeks ago 4369/tcp,
9100/tcp, [Link]:7984->5984/tcp [Link]
c719e70cc9fb docker/getting-started "/docker-entrypoint.…" 4 weeks
ago Exited (0) 4 weeks ago
charming_mcnulty
nayyar@MD-TAUSEEF-ALAM:/mnt/c/Users/Dell/Desktop/PubSubSetup/pubsub-
interop/blockchain-client$