This question is similar to First network in hyperledger except that I am attempting to run the automated scripts as described here: http://hyperledger-fabric.readthedocs.io/en/latest/build_network.html rather than executing steps manually.
When I run the supplied scripts, I get the following output:
Build your first network (BYFN) end-to-end test
Channel name : mychannel
Creating channel...
CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
CORE_PEER_LOCALMSPID=Org1MSP
CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
CORE_PEER_TLS_ENABLED=true
CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
CORE_PEER_ID=cli
CORE_LOGGING_LEVEL=DEBUG
CORE_PEER_ADDRESS=peer0.org1.example.com:7051
2017-08-14 16:41:43.613 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2017-08-14 16:41:43.613 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2017-08-14 16:41:43.620 UTC [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized
2017-08-14 16:41:43.622 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2017-08-14 16:41:43.622 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 Obtaining default signing identity
2017-08-14 16:41:43.622 UTC [msp] GetLocalMSP -> DEBU 006 Returning existing local MSP
2017-08-14 16:41:43.622 UTC [msp] GetDefaultSigningIdentity -> DEBU 007 Obtaining default signing identity
2017-08-14 16:41:43.622 UTC [msp/identity] Sign -> DEBU 008 Sign: plaintext: 0A8C060A074F7267314D53501280062D...53616D706C65436F6E736F727469756D
2017-08-14 16:41:43.622 UTC [msp/identity] Sign -> DEBU 009 Sign: digest: 19B305348F751FF3B0C1B71929C28A1C70F05748093E5A68E7DED43F7C3619ED
2017-08-14 16:41:43.622 UTC [msp] GetLocalMSP -> DEBU 00a Returning existing local MSP
2017-08-14 16:41:43.622 UTC [msp] GetDefaultSigningIdentity -> DEBU 00b Obtaining default signing identity
2017-08-14 16:41:43.622 UTC [msp] GetLocalMSP -> DEBU 00c Returning existing local MSP
2017-08-14 16:41:43.622 UTC [msp] GetDefaultSigningIdentity -> DEBU 00d Obtaining default signing identity
2017-08-14 16:41:43.622 UTC [msp/identity] Sign -> DEBU 00e Sign: plaintext: 0AC3060A1508021A0608C7A5C7CC0522...E601917DB4E717688C2A98F6A85BB2C8
2017-08-14 16:41:43.622 UTC [msp/identity] Sign -> DEBU 00f Sign: digest: 6C4EDDCB459279CFBB9D696D2179A95D00FE85F80E01375E94D4A66A50A9ABF5
Error: Got unexpected status: BAD_REQUEST
In an attempt to resolve this, I have gone back to the beginning, removed all docker containers and images and restarted the process at the download platform specific image binaries step:
curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap-1.0.1.sh | bash
===> Please note, google shortened URL (goo.gl/eYdRbX) ran afoul of the stackoverflow editor, so has been replaced with the URL to which it points
Regardless, I still get the same BAD_REQUEST response at the same point in the first-network setup process. I am completely stalled until I can resolve this issue.
I do note that at the top of this script, where the different docker images are being created, that create cli appears twice, as do, later 'Recreating cli'. Don't know if this is related to this problem or not.
Creating network "net_byfn" with the default driver
Creating peer1.org2.example.com ...
Creating peer1.org1.example.com ...
Creating peer0.org2.example.com ...
Creating peer0.org1.example.com ...
Creating orderer.example.com ...
Creating peer1.org2.example.com
Creating peer0.org2.example.com
Creating peer1.org1.example.com
Creating orderer.example.com
Creating peer1.org1.example.com ... done
Creating cli ...
Creating cli ... done
WARNING: The DELAY variable is not set. Defaulting to a blank string.
peer1.org1.example.com is up-to-date
peer0.org2.example.com is up-to-date
orderer.example.com is up-to-date
peer1.org2.example.com is up-to-date
peer0.org1.example.com is up-to-date
Recreating cli ...
Recreating cli ... done
docker ps -a results after executing load from (goo.gl/eYdRbX ):
===> List out hyperledger docker images
hyperledger/fabric-ca latest 5f30bda5f7ee 4 days ago 238MB
hyperledger/fabric-ca x86_64-1.0.1 5f30bda5f7ee 4 days ago 238MB
hyperledger/fabric-tools latest 259847d24868 4 days ago 1.34GB
hyperledger/fabric-tools x86_64-1.0.1 259847d24868 4 days ago 1.34GB
hyperledger/fabric-couchdb latest dd645e1e92c7 4 days ago 1.48GB
hyperledger/fabric-couchdb x86_64-1.0.1 dd645e1e92c7 4 days ago 1.48GB
hyperledger/fabric-kafka latest cbdc916590a0 4 days ago 1.3GB
hyperledger/fabric-kafka x86_64-1.0.1 cbdc916590a0 4 days ago 1.3GB
hyperledger/fabric-zookeeper latest eb07e5cc9674 4 days ago 1.31GB
hyperledger/fabric-zookeeper x86_64-1.0.1 eb07e5cc9674 4 days ago 1.31GB
hyperledger/fabric-orderer latest bbf2708c9487 4 days ago 179MB
hyperledger/fabric-orderer x86_64-1.0.1 bbf2708c9487 4 days ago 179MB
hyperledger/fabric-peer latest abb05def5cfb 4 days ago 182MB
hyperledger/fabric-peer x86_64-1.0.1 abb05def5cfb 4 days ago 182MB
hyperledger/fabric-javaenv latest 2bd60859415d 4 days ago 1.42GB
hyperledger/fabric-javaenv x86_64-1.0.1 2bd60859415d 4 days ago 1.42GB
hyperledger/fabric-ccenv latest 7e2019cf8174 4 days ago 1.29GB
hyperledger/fabric-ccenv x86_64-1.0.1 7e2019cf8174 4 days ago 1.29GB
docker ps results:
c6025a23ab46 hyperledger/fabric-tools "/bin/bash -c './s..." 13 seconds ago Up 11 seconds cli
a132bd2f4fed hyperledger/fabric-peer "peer node start" 27 seconds ago Up 25 seconds 0.0.0.0:7051->7051/tcp, 0.0.0.0:7053->7053/tcp peer0.org1.example.com
a9e9078c381c hyperledger/fabric-orderer "orderer" 27 seconds ago Up 26 seconds 0.0.0.0:7050->7050/tcp orderer.example.com
48768f75bcb0 hyperledger/fabric-peer "peer node start" 27 seconds ago Up 26 seconds 0.0.0.0:9051->7051/tcp, 0.0.0.0:9053->7053/tcp peer0.org2.example.com
bb14fd33c8a2 hyperledger/fabric-peer "peer node start" 27 seconds ago Up 26 seconds 0.0.0.0:10051->7051/tcp, 0.0.0.0:10053->7053/tcp peer1.org2.example.com
f20582c065a0 hyperledger/fabric-peer "peer node start" 27 seconds ago Up 25 seconds 0.0.0.0:8051->7051/tcp, 0.0.0.0:8053->7053/tcp peer1.org1.example.com