Unable to ping network Hyperledger Composer
up vote
0
down vote
favorite
Setting up multi org hyperledger composer network using https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org
with some modification.
1. implemented kafka consensus
2. both orgs are in different node.
My fabric was set up correctly as I have verified it by invoking and querying the chaincodes in both nodes.
Moving on to composer, I was able to ping my network using my admin card on my org1 (the one that ran composer network start)
But as I tried to ping using admin card on org2, I got:
Error: Error trying invoke business network with transaction id 6725e7c60f727d8ca8f215f45940e250485a897711b6a6101f2c1a01c24013e7. Error: Unable to initalize channel. Attempted to contact 2 Peers. Last error was Error: Error: Failed to connect before the deadline
Command failed
Upon inspection on the chaincode container that got created after I pinged in Org2, I got:
running start.js
E1104 09:16:12.014903631 17 ssl_transport_security.cc:238] Could not get common name of subject from certificate.
2018-11-04T09:16:12.049Z [2e308d63] ERROR :IdentityManager :validateIdentity() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.049Z [2e308d63] ERROR :Composer :Invoke() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.051Z ERROR [lib/handler.js] [mychannel-2e308d63]Calling chaincode Invoke() returned error response [Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]. Sending ERROR message back to peer
Here is my connectionProfile in case it is required to find out what the problem is:
{
"name": "blockcord-network",
"x-type": "hlfv1",
"version": "1.0.0",
"client": {
"organization": "Org2",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer0.example.com",
"orderer1.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer0.example.com": {
"url": "grpcs://168.63.239.163:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer0.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
},
"orderer1.example.com": {
"url": "grpcs://10.0.1.6:8050",
"grpcOptions": {
"ssl-target-name-override": "orderer1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://168.63.239.163:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSDCCAe+gAwIBAgIQVO0gpAB5CFlClMWzfDHUyTAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEjZtnYxwNz5DxiSsTwu/Pmq4irErjAkqW/I3lTyqyopxRkqLq7P8XWsganwng6iMs6AV2I3hoLcq/83ugQ6TxKOaNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgaNWOnAAPNpNBnMJX5mfx9d34kQ2Ie3MNe2JYx2VXn6y0wCgYIKoZIzj0EAwIDRwAwRAIgRs0BKqeNn1qWbkBULmOed6MJYMkWxyidE8d6UACrrM7YCIECaxhLVYh2EcT90LIoQOBOpTTxpnjH4Ag8jmBbXo6jnDn-----END CERTIFICATE-----n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://10.0.1.6:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSTCCAe+gAwIBAgIQDuZ3oe8HRnqnKWbtP/O5QjAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEF6hrRh6Scl2XXPA3nz7BkbZGDuLsMkNck+OZ5oiHKmUlQO1cmlxOb0iynz9rzFspERQ/YAW+eFn+5yq+/Cif81aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghBh8dPAS/Nirn4cAzu8Yj5WQeJA/4OMByKjJA0LYkYzcwCgYIKoZIzj0EAwIDSAAwRQIhANP3k0gunW9hvQZfDUZRQBOMuE5yeGvyzWflzYMP7V+KpAiBPGQEzmza61laKJxNwwA5jfWiJndoZ/64xDZqvEIL0cIg==n-----END CERTIFICATE-----n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://168.63.239.163:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": false
}
},
"ca.org2.example.com": {
"url": "https://10.0.1.6:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": false
}
}
}
}
hyperledger-composer
add a comment |
up vote
0
down vote
favorite
Setting up multi org hyperledger composer network using https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org
with some modification.
1. implemented kafka consensus
2. both orgs are in different node.
My fabric was set up correctly as I have verified it by invoking and querying the chaincodes in both nodes.
Moving on to composer, I was able to ping my network using my admin card on my org1 (the one that ran composer network start)
But as I tried to ping using admin card on org2, I got:
Error: Error trying invoke business network with transaction id 6725e7c60f727d8ca8f215f45940e250485a897711b6a6101f2c1a01c24013e7. Error: Unable to initalize channel. Attempted to contact 2 Peers. Last error was Error: Error: Failed to connect before the deadline
Command failed
Upon inspection on the chaincode container that got created after I pinged in Org2, I got:
running start.js
E1104 09:16:12.014903631 17 ssl_transport_security.cc:238] Could not get common name of subject from certificate.
2018-11-04T09:16:12.049Z [2e308d63] ERROR :IdentityManager :validateIdentity() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.049Z [2e308d63] ERROR :Composer :Invoke() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.051Z ERROR [lib/handler.js] [mychannel-2e308d63]Calling chaincode Invoke() returned error response [Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]. Sending ERROR message back to peer
Here is my connectionProfile in case it is required to find out what the problem is:
{
"name": "blockcord-network",
"x-type": "hlfv1",
"version": "1.0.0",
"client": {
"organization": "Org2",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer0.example.com",
"orderer1.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer0.example.com": {
"url": "grpcs://168.63.239.163:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer0.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
},
"orderer1.example.com": {
"url": "grpcs://10.0.1.6:8050",
"grpcOptions": {
"ssl-target-name-override": "orderer1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://168.63.239.163:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSDCCAe+gAwIBAgIQVO0gpAB5CFlClMWzfDHUyTAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEjZtnYxwNz5DxiSsTwu/Pmq4irErjAkqW/I3lTyqyopxRkqLq7P8XWsganwng6iMs6AV2I3hoLcq/83ugQ6TxKOaNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgaNWOnAAPNpNBnMJX5mfx9d34kQ2Ie3MNe2JYx2VXn6y0wCgYIKoZIzj0EAwIDRwAwRAIgRs0BKqeNn1qWbkBULmOed6MJYMkWxyidE8d6UACrrM7YCIECaxhLVYh2EcT90LIoQOBOpTTxpnjH4Ag8jmBbXo6jnDn-----END CERTIFICATE-----n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://10.0.1.6:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSTCCAe+gAwIBAgIQDuZ3oe8HRnqnKWbtP/O5QjAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEF6hrRh6Scl2XXPA3nz7BkbZGDuLsMkNck+OZ5oiHKmUlQO1cmlxOb0iynz9rzFspERQ/YAW+eFn+5yq+/Cif81aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghBh8dPAS/Nirn4cAzu8Yj5WQeJA/4OMByKjJA0LYkYzcwCgYIKoZIzj0EAwIDSAAwRQIhANP3k0gunW9hvQZfDUZRQBOMuE5yeGvyzWflzYMP7V+KpAiBPGQEzmza61laKJxNwwA5jfWiJndoZ/64xDZqvEIL0cIg==n-----END CERTIFICATE-----n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://168.63.239.163:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": false
}
},
"ca.org2.example.com": {
"url": "https://10.0.1.6:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": false
}
}
}
}
hyperledger-composer
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status usingcomposer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…
– Paul O'Mahony
2 days ago
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Setting up multi org hyperledger composer network using https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org
with some modification.
1. implemented kafka consensus
2. both orgs are in different node.
My fabric was set up correctly as I have verified it by invoking and querying the chaincodes in both nodes.
Moving on to composer, I was able to ping my network using my admin card on my org1 (the one that ran composer network start)
But as I tried to ping using admin card on org2, I got:
Error: Error trying invoke business network with transaction id 6725e7c60f727d8ca8f215f45940e250485a897711b6a6101f2c1a01c24013e7. Error: Unable to initalize channel. Attempted to contact 2 Peers. Last error was Error: Error: Failed to connect before the deadline
Command failed
Upon inspection on the chaincode container that got created after I pinged in Org2, I got:
running start.js
E1104 09:16:12.014903631 17 ssl_transport_security.cc:238] Could not get common name of subject from certificate.
2018-11-04T09:16:12.049Z [2e308d63] ERROR :IdentityManager :validateIdentity() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.049Z [2e308d63] ERROR :Composer :Invoke() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.051Z ERROR [lib/handler.js] [mychannel-2e308d63]Calling chaincode Invoke() returned error response [Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]. Sending ERROR message back to peer
Here is my connectionProfile in case it is required to find out what the problem is:
{
"name": "blockcord-network",
"x-type": "hlfv1",
"version": "1.0.0",
"client": {
"organization": "Org2",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer0.example.com",
"orderer1.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer0.example.com": {
"url": "grpcs://168.63.239.163:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer0.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
},
"orderer1.example.com": {
"url": "grpcs://10.0.1.6:8050",
"grpcOptions": {
"ssl-target-name-override": "orderer1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://168.63.239.163:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSDCCAe+gAwIBAgIQVO0gpAB5CFlClMWzfDHUyTAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEjZtnYxwNz5DxiSsTwu/Pmq4irErjAkqW/I3lTyqyopxRkqLq7P8XWsganwng6iMs6AV2I3hoLcq/83ugQ6TxKOaNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgaNWOnAAPNpNBnMJX5mfx9d34kQ2Ie3MNe2JYx2VXn6y0wCgYIKoZIzj0EAwIDRwAwRAIgRs0BKqeNn1qWbkBULmOed6MJYMkWxyidE8d6UACrrM7YCIECaxhLVYh2EcT90LIoQOBOpTTxpnjH4Ag8jmBbXo6jnDn-----END CERTIFICATE-----n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://10.0.1.6:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSTCCAe+gAwIBAgIQDuZ3oe8HRnqnKWbtP/O5QjAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEF6hrRh6Scl2XXPA3nz7BkbZGDuLsMkNck+OZ5oiHKmUlQO1cmlxOb0iynz9rzFspERQ/YAW+eFn+5yq+/Cif81aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghBh8dPAS/Nirn4cAzu8Yj5WQeJA/4OMByKjJA0LYkYzcwCgYIKoZIzj0EAwIDSAAwRQIhANP3k0gunW9hvQZfDUZRQBOMuE5yeGvyzWflzYMP7V+KpAiBPGQEzmza61laKJxNwwA5jfWiJndoZ/64xDZqvEIL0cIg==n-----END CERTIFICATE-----n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://168.63.239.163:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": false
}
},
"ca.org2.example.com": {
"url": "https://10.0.1.6:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": false
}
}
}
}
hyperledger-composer
Setting up multi org hyperledger composer network using https://hyperledger.github.io/composer/latest/tutorials/deploy-to-fabric-multi-org
with some modification.
1. implemented kafka consensus
2. both orgs are in different node.
My fabric was set up correctly as I have verified it by invoking and querying the chaincodes in both nodes.
Moving on to composer, I was able to ping my network using my admin card on my org1 (the one that ran composer network start)
But as I tried to ping using admin card on org2, I got:
Error: Error trying invoke business network with transaction id 6725e7c60f727d8ca8f215f45940e250485a897711b6a6101f2c1a01c24013e7. Error: Unable to initalize channel. Attempted to contact 2 Peers. Last error was Error: Error: Failed to connect before the deadline
Command failed
Upon inspection on the chaincode container that got created after I pinged in Org2, I got:
running start.js
E1104 09:16:12.014903631 17 ssl_transport_security.cc:238] Could not get common name of subject from certificate.
2018-11-04T09:16:12.049Z [2e308d63] ERROR :IdentityManager :validateIdentity() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.049Z [2e308d63] ERROR :Composer :Invoke() Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)
2018-11-04T09:16:12.051Z ERROR [lib/handler.js] [mychannel-2e308d63]Calling chaincode Invoke() returned error response [Error: The current identity, with the name 'admin' and the identifier 'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]. Sending ERROR message back to peer
Here is my connectionProfile in case it is required to find out what the problem is:
{
"name": "blockcord-network",
"x-type": "hlfv1",
"version": "1.0.0",
"client": {
"organization": "Org2",
"connection": {
"timeout": {
"peer": {
"endorser": "300",
"eventHub": "300",
"eventReg": "300"
},
"orderer": "300"
}
}
},
"channels": {
"mychannel": {
"orderers": [
"orderer0.example.com",
"orderer1.example.com"
],
"peers": {
"peer0.org1.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
},
"peer0.org2.example.com": {
"endorsingPeer": true,
"chaincodeQuery": true,
"eventSource": true
}
}
}
},
"organizations": {
"Org1": {
"mspid": "Org1MSP",
"peers": [
"peer0.org1.example.com"
],
"certificateAuthorities": [
"ca.org1.example.com"
]
},
"Org2": {
"mspid": "Org2MSP",
"peers": [
"peer0.org2.example.com"
],
"certificateAuthorities": [
"ca.org2.example.com"
]
}
},
"orderers": {
"orderer0.example.com": {
"url": "grpcs://168.63.239.163:7050",
"grpcOptions": {
"ssl-target-name-override": "orderer0.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
},
"orderer1.example.com": {
"url": "grpcs://10.0.1.6:8050",
"grpcOptions": {
"ssl-target-name-override": "orderer1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICNTCCAdugAwIBAgIQAaOXoDbFhVt6u/wLtmnR6TAKBggqhkjOPQQDAjBsMQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4nYW1wbGUuY29tMB4XDTE4MTEwMTAzMjY0M1oXDTI4MTAyOTAzMjY0M1owbDELMAkGnA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFunY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFtncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABJcU1kJ3ZxtSdVfzJFtvnl/0PdyACUDraVt+3MEHl3BQAyr1FjXdhUFiMUbGkcfgMXY1ay7beRdTYMmxfQRM/nEbajXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEBn/wQFMAMBAf8wKQYDVR0OBCIEIP+QB6RNzNndGmk34xXWQDKmLVOJbarWvpzmu3i8nYeXkMAoGCCqGSM49BAMCA0gAMEUCIQC9Nb5vq5iSEAhI/8/FjfjZGoYyQl9Bc0P8nqTowg5K2wgIgEOUEYie0pGPwAIjszKTjTS85FlQTMzwz9MdSuFjfawM=n-----END CERTIFICATE-----n"
}
}
},
"peers": {
"peer0.org1.example.com": {
"url": "grpcs://168.63.239.163:7051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org1.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSDCCAe+gAwIBAgIQVO0gpAB5CFlClMWzfDHUyTAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEjZtnYxwNz5DxiSsTwu/Pmq4irErjAkqW/I3lTyqyopxRkqLq7P8XWsganwng6iMs6AV2I3hoLcq/83ugQ6TxKOaNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQgaNWOnAAPNpNBnMJX5mfx9d34kQ2Ie3MNe2JYx2VXn6y0wCgYIKoZIzj0EAwIDRwAwRAIgRs0BKqeNn1qWbkBULmOed6MJYMkWxyidE8d6UACrrM7YCIECaxhLVYh2EcT90LIoQOBOpTTxpnjH4Ag8jmBbXo6jnDn-----END CERTIFICATE-----n"
}
},
"peer0.org2.example.com": {
"url": "grpcs://10.0.1.6:9051",
"grpcOptions": {
"ssl-target-name-override": "peer0.org2.example.com"
},
"tlsCACerts": {
"pem": "-----BEGIN CERTIFICATE-----nMIICSTCCAe+gAwIBAgIQDuZ3oe8HRnqnKWbtP/O5QjAKBggqhkjOPQQDAjB2MQswnCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZynYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxznY2Eub3JnMi5leGFtcGxlLmNvbTAeFw0xODExMDEwMzI2NDNaFw0yODEwMjkwMzI2nNDNaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHnEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcyLmV4YW1wbGUuY29tMR8wHQYDnVQQDExZ0bHNjYS5vcmcyLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DnAQcDQgAEF6hrRh6Scl2XXPA3nz7BkbZGDuLsMkNck+OZ5oiHKmUlQO1cmlxOb0iynz9rzFspERQ/YAW+eFn+5yq+/Cif81aNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1UdnJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQghBh8dPAS/Nirn4cAzu8Yj5WQeJA/4OMByKjJA0LYkYzcwCgYIKoZIzj0EAwIDSAAwRQIhANP3k0gunW9hvQZfDUZRQBOMuE5yeGvyzWflzYMP7V+KpAiBPGQEzmza61laKJxNwwA5jfWiJndoZ/64xDZqvEIL0cIg==n-----END CERTIFICATE-----n"
}
}
},
"certificateAuthorities": {
"ca.org1.example.com": {
"url": "https://168.63.239.163:7054",
"caName": "ca-org1",
"httpOptions": {
"verify": false
}
},
"ca.org2.example.com": {
"url": "https://10.0.1.6:8054",
"caName": "ca-org2",
"httpOptions": {
"verify": false
}
}
}
}
hyperledger-composer
hyperledger-composer
asked Nov 4 at 9:42
CChyuan
134
134
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status usingcomposer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…
– Paul O'Mahony
2 days ago
add a comment |
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status usingcomposer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…
– Paul O'Mahony
2 days ago
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier
'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status using composer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…– Paul O'Mahony
2 days ago
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier
'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status using composer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…– Paul O'Mahony
2 days ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53139457%2funable-to-ping-network-hyperledger-composer%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
its obvious you haven't activated the admin 2 card via "The current identity, with the name 'admin' and the identifier
'f83c6f480381f1fe5d5c27a81229d9eb710d7fa51c46e141ea85ba794df68a39', must be activated (ACTIVATION_REQUIRED)]"
- you can check its status usingcomposer identity list -c admin@org2-mynetwork
etc. If its not activated, then you should be able to follow the exact steps as shown in 'Step Nineteen' of the multi-org tutorial. hyperledger.github.io/composer/latest/tutorials/…– Paul O'Mahony
2 days ago