Open cnaseeb opened 7 years ago
I get the same issue, vp0_1 | sh: 1: nc: not found. Not sure how to fix this
So I got that to work by adding:
image: hyperledger/fabric-peer:x86_64-1.0.0 command: "sh -c 'apt-get update && apt-get install netcat && while ! nc membersrvc 7054; do sleep 1; done; peer node start'"
to docker-compose.yml
However after running script, I now get transport: http2Server.HandleStreams failed to receive the preface from client: EOF issue upon looking at docker log file for carleasedemo_membersrvc
I receive the following 3 errors. Basicaly when I run the start script the containers are started but connection is refused. I think main problem is that nc/ ncat is not there. I have configured as per the guide on this project. changed to htpp and running on localhost:8080.
vp0_1 | sh: 1: nc: not found car-lease-demo_1 | vp0 [172.19.0.3] 7050 (?) : Connection refused
When I run docker-compose -f docker-compose.yml up command, I get the following error
Logs: docker logs ee81f20cf45f
Wait for the Hyperledger Fabric to start.
while ! nc -q 1 membersrvc 7054 </dev/null; do sleep 1; done membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused membersrvc [172.19.0.2] 7054 (?) : Connection refused while ! nc -q 1 vp0 7050 </dev/null; do sleep 1; done vp0 [172.19.0.3] 7050 (?) : Connection refused