{"action":"created","issue":{"url":"https://api.github.com/repos/hyperledger/composer/issues/3597","repository_url":"https://api.github.com/repos/hyperledger/composer","labels_url":"https://api.github.com/repos/hyperledger/composer/issues/3597/labels{/name}","comments_url":"https://api.github.com/repos/hyperledger/composer/issues/3597/comments","events_url":"https://api.github.com/repos/hyperledger/composer/issues/3597/events","html_url":"https://github.com/hyperledger/composer/issues/3597","id":305087358,"number":3597,"title":"0.18.1 network start problem","user":{"login":"tanhuiya","id":10923091,"avatar_url":"https://avatars0.githubusercontent.com/u/10923091?v=4","gravatar_id":"","url":"https://api.github.com/users/tanhuiya","html_url":"https://github.com/tanhuiya","followers_url":"https://api.github.com/users/tanhuiya/followers","following_url":"https://api.github.com/users/tanhuiya/following{/other_user}","gists_url":"https://api.github.com/users/tanhuiya/gists{/gist_id}","starred_url":"https://api.github.com/users/tanhuiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanhuiya/subscriptions","organizations_url":"https://api.github.com/users/tanhuiya/orgs","repos_url":"https://api.github.com/users/tanhuiya/repos","events_url":"https://api.github.com/users/tanhuiya/events{/privacy}","received_events_url":"https://api.github.com/users/tanhuiya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-03-14T09:48:44Z","updated_at":"2018-03-14T14:35:08Z","closed_at":null,"author_association":"NONE","body":"I followed https://hyperledger.github.io/composer/next/tutorials/deploy-to-fabric-multi-org, I want make a network with one Org ,one peer\r\n\r\nmy connection.json is below\r\n\r\n```\r\n{\r\n    \"name\": \"byfn-network\",\r\n    \"x-type\": \"hlfv1\",\r\n    \"version\": \"1.0.0\",\r\n    \"client\": {\r\n        \"organization\": \"Org1\",\r\n        \"connection\": {\r\n            \"timeout\": {\r\n                \"peer\": {\r\n                    \"endorser\": \"300\",\r\n                    \"eventHub\": \"300\",\r\n                    \"eventReg\": \"300\"\r\n                },\r\n                \"orderer\": \"300\"\r\n            }\r\n        }\r\n    },\r\n    \"channels\": {\r\n        \"mychannel\": {\r\n            \"orderers\": [\r\n                \"orderer.example.com\"\r\n            ],\r\n            \"peers\": {\r\n                \"peer0.org1.example.com\": {\r\n                    \"endorsingPeer\": true,\r\n                    \"chaincodeQuery\": true,\r\n                    \"eventSource\": true\r\n                }\r\n            }\r\n        }\r\n    },\r\n    \"organizations\": {\r\n        \"Org1\": {\r\n            \"mspid\": \"Org1MSP\",\r\n            \"peers\": [\r\n                \"peer0.org1.example.com\"\r\n            ],\r\n            \"certificateAuthorities\": [\r\n                \"ca.org1.example.com\"\r\n            ]\r\n        }\r\n    },\r\n    \"orderers\": {\r\n        \"orderer.example.com\": {\r\n            \"url\": \"grpcs://localhost:7050\",\r\n            \"grpcOptions\": {\r\n                \"ssl-target-name-override\": \"orderer.example.com\"\r\n            },\r\n            \"tlsCACerts\": {\r\n                \"pem\": \"-----BEGIN CERTIFICATE-----\\nMIICNDCCAdugAwIBAgIQQ46RYdJdoEzqcRuftGzInzAKBggqhkjOPQQDAjBsMQsw\\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\\nYW5jaXNjbzEUMBIGA1UEChMLZXhhbXBsZS5jb20xGjAYBgNVBAMTEXRsc2NhLmV4\\nYW1wbGUuY29tMB4XDTE4MDMxNDA4MTMzNloXDTI4MDMxMTA4MTMzNlowbDELMAkG\\nA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExFjAUBgNVBAcTDVNhbiBGcmFu\\nY2lzY28xFDASBgNVBAoTC2V4YW1wbGUuY29tMRowGAYDVQQDExF0bHNjYS5leGFt\\ncGxlLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABPxqcAZxQ0kQout0rBGC\\nfltEeZBBmVYD5ifufaVf17jnR0rhR6VS2+9hRtRw/kzsrsFL674S3XHYn6NxiAHC\\n5CmjXzBdMA4GA1UdDwEB/wQEAwIBpjAPBgNVHSUECDAGBgRVHSUAMA8GA1UdEwEB\\n/wQFMAMBAf8wKQYDVR0OBCIEIOoEIPFNnC7NJKUB1gK+vVnpId+T9D/zd0p+j7oQ\\nkDRrMAoGCCqGSM49BAMCA0cAMEQCIAqwn9tbihInqUdC0WJPfPUCtMxHOX4x7zNS\\nF4qWZCeUAiA6q4kL7VK+d+k6/UAfbmTz6Am3N2iEgfIz7hLp12JYxA==\\n-----END CERTIFICATE-----\\n\"\r\n            }\r\n        }\r\n    },\r\n    \"peers\": {\r\n        \"peer0.org1.example.com\": {\r\n            \"url\": \"grpcs://localhost:7051\",\r\n            \"eventUrl\": \"grpcs://localhost:7053\",\r\n            \"grpcOptions\": {\r\n                \"ssl-target-name-override\": \"peer0.org1.example.com\"\r\n            },\r\n            \"tlsCACerts\": {\r\n                \"pem\": \"-----BEGIN CERTIFICATE-----\\nMIICSDCCAe+gAwIBAgIQD18WKI9QdBsOjpE74KBnWjAKBggqhkjOPQQDAjB2MQsw\\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMS5leGFtcGxlLmNvbTEfMB0GA1UEAxMWdGxz\\nY2Eub3JnMS5leGFtcGxlLmNvbTAeFw0xODAzMTQwODEzMzZaFw0yODAzMTEwODEz\\nMzZaMHYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH\\nEw1TYW4gRnJhbmNpc2NvMRkwFwYDVQQKExBvcmcxLmV4YW1wbGUuY29tMR8wHQYD\\nVQQDExZ0bHNjYS5vcmcxLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0D\\nAQcDQgAEL39QmRPXiUx4+nOERt0uhuZnMdPme17OyS2LTAXzSGfcuf0f4g1RJqBJ\\njLnn3j53A2kkVMgwB0X/qu63JFm2GaNfMF0wDgYDVR0PAQH/BAQDAgGmMA8GA1Ud\\nJQQIMAYGBFUdJQAwDwYDVR0TAQH/BAUwAwEB/zApBgNVHQ4EIgQg4vghJ+4RIw00\\neydw0WWwTYfZ2rQ+Vtnz4IrhCXEZDTowCgYIKoZIzj0EAwIDRwAwRAIgcwLEk0Ve\\ns/a03AZK+hMLY3lyN2dOyOTV333KvIGlI1ACIGNrapnPmfMi8UgG46bXQ/CABQac\\nP1e5xHcF07nmK63M\\n-----END CERTIFICATE-----\\n\"\r\n            }\r\n        }\r\n    },\r\n    \"certificateAuthorities\": {\r\n        \"ca.org1.example.com\": {\r\n            \"url\": \"https://localhost:7054\",\r\n            \"caName\": \"ca-org1\",\r\n            \"httpOptions\": {\r\n                \"verify\": false\r\n            }\r\n        }\r\n    }\r\n}\r\n\r\n```\r\n\r\nthen I run commands as follow:\r\n\r\n```\r\nexport ORG1=crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp\r\n\r\ncp -p $ORG1/signcerts/A*.pem ./tmp/composer/org1\r\n\r\ncp -p $ORG1/keystore/*_sk ./tmp/composer/org1\r\n\r\ncomposer card create -p ./tmp/composer/byfn-network.json -u PeerAdmin -c ./tmp/composer/org1/Admin@org1.example.com-cert.pem -k ./tmp/composer/org1/*_sk -r PeerAdmin -r ChannelAdmin -f PeerAdmin@byfn-network.card\r\n\r\ncomposer card delete -n PeerAdmin@byfn-network\r\n\r\ncomposer card import -f PeerAdmin@byfn-network.card\r\n\r\ncomposer runtime install -c PeerAdmin@byfn-network -n basic-sample\r\n\r\ncomposer network start -c PeerAdmin@byfn-network -a basic-sample.bna -o endorsementPolicyFile=./tmp/composer/endorsement-policy.json -A admin -S adminpw\r\n```\r\n\r\nthe last step take too long time, and got an error with TimeOut"},"comment":{"url":"https://api.github.com/repos/hyperledger/composer/issues/comments/373043038","html_url":"https://github.com/hyperledger/composer/issues/3597#issuecomment-373043038","issue_url":"https://api.github.com/repos/hyperledger/composer/issues/3597","id":373043038,"user":{"login":"tanhuiya","id":10923091,"avatar_url":"https://avatars0.githubusercontent.com/u/10923091?v=4","gravatar_id":"","url":"https://api.github.com/users/tanhuiya","html_url":"https://github.com/tanhuiya","followers_url":"https://api.github.com/users/tanhuiya/followers","following_url":"https://api.github.com/users/tanhuiya/following{/other_user}","gists_url":"https://api.github.com/users/tanhuiya/gists{/gist_id}","starred_url":"https://api.github.com/users/tanhuiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanhuiya/subscriptions","organizations_url":"https://api.github.com/users/tanhuiya/orgs","repos_url":"https://api.github.com/users/tanhuiya/repos","events_url":"https://api.github.com/users/tanhuiya/events{/privacy}","received_events_url":"https://api.github.com/users/tanhuiya/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T14:35:08Z","updated_at":"2018-03-14T14:35:08Z","author_association":"NONE","body":"when I exec `composer runtime install -c PeerAdmin@byfn-network -n test-network`\r\n\r\nthe log of peer0 got an error\r\n\r\n```\r\n2018-03-14 14:31:30.523 UTC [eventhub_producer] deRegisterHandler -> DEBU 759 deregistering event type: BLOCK\r\n2018-03-14 14:31:30.533 UTC [eventhub_producer] Chat -> ERRO 75a error during Chat, stopping handler: rpc error: code = Canceled desc = context canceled\r\n```"}}
{"actor":{"display_login":"tanhuiya"}}