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

after running ./start.sh, only 3 docker processes appeared.. #89

Open
alexjipark opened this issue Jan 6, 2017 · 3 comments
Open

after running ./start.sh, only 3 docker processes appeared.. #89

alexjipark opened this issue Jan 6, 2017 · 3 comments

Comments

@alexjipark
Copy link

alexjipark commented Jan 6, 2017

I'm running this demo on ubuntu 14.04 in AWS locally.
finally managed to solve some issues while deploy the fabric..

but 'docker ps' gives me the result like below.. only 3 docker processes.
docker for 'chaincode' is missing... --;

ubuntu@ip-172-31-23-140:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
37fad0ec5d98 carleasedemo_car-lease-demo "sh ./Scripts/docker-" 17 seconds ago Up 16 seconds 0.0.0.0:8080->8080/tcp carleasedemo_car-lease-demo_1
f8758a2d3307 hyperledger/fabric-peer:latest "sh -c 'while ! nc me" 17 seconds ago Up 16 seconds 0.0.0.0:7050-7053->7050-7053/tcp carleasedemo_vp0_1
bece7bd49cfb carleasedemo_membersrvc "membersrvc" 17 seconds ago Up 17 seconds 0.0.0.0:7054->7054/tcp carleasedemo_membersrvc_1

here's logs from each docker process

"carleasedemo_car-lease-demo"

  • Wait for the Hyperledger Fabric to start.
    while ! nc -q 1 membersrvc 7054 </dev/null; do sleep 1; done
    membersrvc [172.18.0.2] 7054 (?) : Connection refused
    while ! nc -q 1 vp0 7050 </dev/null; do sleep 1; done
    vp0 [172.18.0.3] 7050 (?) : Connection refused
    vp0 [172.18.0.3] 7050 (?) : Connection refused
    vp0 [172.18.0.3] 7050 (?) : Connection refused
    vp0 [172.18.0.3] 7050 (?) : Connection refused
    .... keep going...

"hyperledger/fabric-peer:latest"
nc: bad address 'membersrvc'
nc: bad address 'membersrvc'
nc: bad address 'membersrvc'
..... keep going...

"carleasedemo_membersrvc_1"
2017/01/06 02:48:26 transport: http2Server.HandleStreams failed to receive the preface from client: EOF

any idea what's going wrong?
Thanx for your advice in advance.

@pytpriscila
Copy link

pytpriscila commented Jan 10, 2017

I could solve this....uhuhuh...I fix the tag of the peer and the membersrvc image.
In car-lease-demo/membersrvc/Dockerfile and car-lease-demo/docker-compose.yml, I put x86_64-0.6.1-preview for both.

@alexjipark
@seanbarclay
@benjsmi
@markelloggs
@mastersingh24
I have the same problem.

I couldn't identify where are put the command that start the deploy.

Can anyone help me??

Thanks.

@conwaychriscosmo
Copy link

Starting up the chaincode container takes a little time. I found that after waiting 1-2 minutes the chaincode container started. It is possible you have a different issue with regards to configuration, but I received similar errors and patience was a fine solution.

screen shot 2017-01-12 at 12 37 06 pm

@vijaygopal
Copy link

I am still facing the above described issue with car lease demo . Even after 20-30 minutes I can only see 3 docker services running ? Can anyone let me know what am I doing wrong?

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

4 participants