Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running start script brings the containers up but connection is refused, ncat is missing #118

Open
cnaseeb opened this issue Jul 14, 2017 · 2 comments

Comments

@cnaseeb
Copy link

cnaseeb commented Jul 14, 2017

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

docker logs -f 9371ddbd9e82
results in

  1. sh: 1: nc: not found

When I run
docker-compose -f docker-compose.yml up command, I get the following error
3. vp0 [172.19.0.3] 7050 (?) : Connection refused

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

@kavinaravind
Copy link

I get the same issue, vp0_1 | sh: 1: nc: not found. Not sure how to fix this

@kavinaravind
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants