{"action":"created","issue":{"url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/53","repository_url":"https://api.github.com/repos/yeasy/docker-compose-files","labels_url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/53/comments","events_url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/53/events","html_url":"https://github.com/yeasy/docker-compose-files/issues/53","id":233842673,"number":53,"title":"default channel list error","user":{"login":"tjdurant","id":9451958,"avatar_url":"https://avatars0.githubusercontent.com/u/9451958?v=4","gravatar_id":"","url":"https://api.github.com/users/tjdurant","html_url":"https://github.com/tjdurant","followers_url":"https://api.github.com/users/tjdurant/followers","following_url":"https://api.github.com/users/tjdurant/following{/other_user}","gists_url":"https://api.github.com/users/tjdurant/gists{/gist_id}","starred_url":"https://api.github.com/users/tjdurant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjdurant/subscriptions","organizations_url":"https://api.github.com/users/tjdurant/orgs","repos_url":"https://api.github.com/users/tjdurant/repos","events_url":"https://api.github.com/users/tjdurant/events{/privacy}","received_events_url":"https://api.github.com/users/tjdurant/received_events","type":"User","site_admin":false},"labels":[{"id":242251781,"url":"https://api.github.com/repos/yeasy/docker-compose-files/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-06-06T10:11:10Z","updated_at":"2017-10-18T08:37:56Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nI am running Virtual Box with Centos 7.x with Docker and Docker-compose. First, thank you very much for having a detailed and comprehensive repo for fabric v1. I'm trying to dockerize a development environment to test chaincode. Working through the example you have in hyperledger/1.0/Readme.md:\r\n\r\n```\r\nbash scripts/setup_Docker.sh \r\nbash scripts/download_images.sh\r\nbash scripts/start_fabric.sh`\r\n```\r\n\r\nI then do:\r\n\r\n```\r\n$ docker exec -it fabric-cli bash\r\n$ peer channel list  \r\n```\r\n\r\nAnd I get:\r\n\r\n```\r\nroot@cli:/go/src/github.com/hyperledger/fabric# peer channel list\r\n2017-06-06 10:00:14.316 UTC [msp] getMspConfig -> INFO 001 intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts: no such file or directory]\r\n2017-06-06 10:00:14.317 UTC [msp] getMspConfig -> INFO 002 crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/crls: no such file or directory]\r\n2017-06-06 10:00:14.317 UTC [msp] getMspConfig -> INFO 003 MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml: no such file or directory]\r\n2017-06-06 10:00:14.346 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP\r\n2017-06-06 10:00:14.346 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity\r\n2017-06-06 10:00:14.348 UTC [msp/identity] Sign -> DEBU 006 Sign: plaintext: 0AA6070A5C08031A0C08AEFAD9C90510...631A0D0A0B4765744368616E6E656C73\r\n2017-06-06 10:00:14.348 UTC [msp/identity] Sign -> DEBU 007 Sign: digest: 20E59E646C53EAAA2A9AA81B1990D1708E4A270D08911C208849645259FEBEF1\r\nChannels peers has joined to:\r\n2017-06-06 10:00:14.356 UTC [main] main -> INFO 008 Exiting.....\r\n\r\n```\r\nIf I ignore this, keep going, and try to install chaincode:\r\n\r\n```\r\nroot@cli:/go/src/github.com/hyperledger/fabric# peer chaincode install -v 1.0 -n test_cc -p github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\r\n2017-06-06 10:05:56.011 UTC [msp] getMspConfig -> INFO 001 intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts: no such file or directory]\r\n2017-06-06 10:05:56.011 UTC [msp] getMspConfig -> INFO 002 crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/crls: no such file or directory]\r\n2017-06-06 10:05:56.011 UTC [msp] getMspConfig -> INFO 003 MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml: no such file or directory]\r\n2017-06-06 10:05:56.038 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP\r\n2017-06-06 10:05:56.038 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity\r\n2017-06-06 10:05:56.039 UTC [golang-platform] collectChaincodeFiles -> DEBU 006 not using input for hash computation for path:\"github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\" name:\"test_cc\" version:\"1.0\"\r\n2017-06-06 10:05:56.039 UTC [golang-platform] getCodeFromFS -> DEBU 007 getCodeFromFS github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\r\n2017-06-06 10:05:56.039 UTC [util] HashFilesInDir -> DEBU 008 hashFiles /go/src/github.com/hyperledger/fabric/examples/chaincode/go/chaincode_example02\r\n2017-06-06 10:05:56.040 UTC [golang-platform] writeGopathSrc -> INFO 009 rootDirectory = /go/src\r\n2017-06-06 10:05:56.040 UTC [container] WriteFolderToTarPackage -> INFO 00a rootDirectory = /go/src\r\n2017-06-06 10:05:57.633 UTC [msp/identity] Sign -> DEBU 00b Sign: plaintext: 0AA6070A5C08031A0C0885FDD9C90510...F1CFFF090000FFFF46DBAAE900161702\r\n2017-06-06 10:05:57.633 UTC [msp/identity] Sign -> DEBU 00c Sign: digest: 0E94678977ECFC16335033E2D6FA4BC86E698577B95F684FEEC9540C5CA1E3CB\r\n2017-06-06 10:05:58.075 UTC [chaincodeCmd] install -> DEBU 00d Installed remotely response:<status:200 payload:\"OK\" >\r\n```\r\n\r\nInstanstiate chaincode:\r\n\r\n```\r\nroot@cli:/go/src/github.com/hyperledger/fabric# peer chaincode instantiate -v 1.0 -n test_cc -c '{\"Args\":[\"init\",\"a\",\"100\",\"b\",\"200\"]}' -o orderer0:7050\r\n2017-06-06 10:07:06.424 UTC [msp] getMspConfig -> INFO 001 intermediate certs folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts: no such file or directory]\r\n2017-06-06 10:07:06.424 UTC [msp] getMspConfig -> INFO 002 crls folder not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/intermediatecerts]. Skipping.: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/crls: no such file or directory]\r\n2017-06-06 10:07:06.424 UTC [msp] getMspConfig -> INFO 003 MSP configuration file not found at [/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml]: [stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/config.yaml: no such file or directory]\r\n2017-06-06 10:07:06.451 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP\r\n2017-06-06 10:07:06.452 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity\r\n2017-06-06 10:07:06.457 UTC [grpc] Printf -> DEBU 006 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = \"transport: Error while dialing dial tcp: lookup orderer0 on 127.0.0.11:53: no such host\"; Reconnecting to {orderer0:7050 <nil>}\r\n2017-06-06 10:07:07.466 UTC [grpc] Printf -> DEBU 007 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = \"transport: Error while dialing dial tcp: lookup orderer0 on 127.0.0.11:53: no such host\"; Reconnecting to {orderer0:7050 <nil>}\r\n2017-06-06 10:07:09.021 UTC [grpc] Printf -> DEBU 008 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = \"transport: Error while dialing dial tcp: lookup orderer0 on 127.0.0.11:53: no such host\"; Reconnecting to {orderer0:7050 <nil>}\r\nError: Error getting broadcast client: Error connecting to orderer0:7050 due to context deadline exceeded\r\n\r\n```\r\nexit container bash and run docker ps\r\n\r\n```\r\nCONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS              PORTS                                                                                 NAMES\r\nf9cfbee1b6a1        hyperledger/fabric-peer      \"bash -c 'while tr...\"   9 minutes ago       Up 9 minutes        7050-7059/tcp                                                                         fabric-cli\r\n8d706014e177        hyperledger/fabric-peer      \"peer node start -...\"   9 minutes ago       Up 9 minutes        7050/tcp, 0.0.0.0:7051->7051/tcp, 7052/tcp, 7054-7059/tcp, 0.0.0.0:7053->7053/tcp     peer0.org1.example.com\r\n257b08a13c2d        hyperledger/fabric-orderer   \"orderer\"                9 minutes ago       Up 9 minutes        0.0.0.0:7050->7050/tcp                                                                orderer.example.com\r\n88fb62d42eb6        hyperledger/fabric-peer      \"peer node start -...\"   9 minutes ago       Up 9 minutes        7050/tcp, 7052/tcp, 7054-7059/tcp, 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp     peer1.org1.example.com\r\ncb6774c7aaf0        hyperledger/fabric-peer      \"peer node start -...\"   9 minutes ago       Up 9 minutes        7050/tcp, 7052/tcp, 7054-7059/tcp, 0.0.0.0:10051->7051/tcp, 0.0.0.0:10053->7053/tcp   peer1.org2.example.com\r\na80c2a2b45ab        hyperledger/fabric-ca        \"fabric-ca-server ...\"   9 minutes ago       Up 9 minutes        0.0.0.0:7054->7054/tcp                                                                fabric-ca\r\nb2cf2c970c80        hyperledger/fabric-peer      \"peer node start -...\"   9 minutes ago       Up 9 minutes        7050/tcp, 7052/tcp, 7054-7059/tcp, 0.0.0.0:9051->7051/tcp, 0.0.0.0:9053->7053/tcp     peer0.org2.example.com\r\n\r\n```\r\n\r\nThoughts? Thanks in advance. "},"comment":{"url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/comments/337505463","html_url":"https://github.com/yeasy/docker-compose-files/issues/53#issuecomment-337505463","issue_url":"https://api.github.com/repos/yeasy/docker-compose-files/issues/53","id":337505463,"user":{"login":"CXgamer","id":3009914,"avatar_url":"https://avatars3.githubusercontent.com/u/3009914?v=4","gravatar_id":"","url":"https://api.github.com/users/CXgamer","html_url":"https://github.com/CXgamer","followers_url":"https://api.github.com/users/CXgamer/followers","following_url":"https://api.github.com/users/CXgamer/following{/other_user}","gists_url":"https://api.github.com/users/CXgamer/gists{/gist_id}","starred_url":"https://api.github.com/users/CXgamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CXgamer/subscriptions","organizations_url":"https://api.github.com/users/CXgamer/orgs","repos_url":"https://api.github.com/users/CXgamer/repos","events_url":"https://api.github.com/users/CXgamer/events{/privacy}","received_events_url":"https://api.github.com/users/CXgamer/received_events","type":"User","site_admin":false},"created_at":"2017-10-18T08:37:56Z","updated_at":"2017-10-18T08:37:56Z","author_association":"NONE","body":"@yeasy Having the same problem with the latest version, following the readthedocs guide up until this point."}}
{"actor":{"display_login":"CXgamer"}}