-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
./trade.sh up -d true only starting two containers #42
Comments
Logs are recorded in |
There is nothing added to network.log when starting trade.sh with "up -d true" However, when starting without "-d true" I get
added to the logs. |
You are getting the orderer bind error because there's already a service running that's listening on port 7050; most likely the ordering service from your earlier run. Before attempting to start a network, you need to clean up the containers each time. You can run
For the dev mode run (with |
There is still nothing added to neither logs/network.log nor logs/devmode/network.log. Latter was not even existent. Even after creation there was nothing added to it. Edit: I ran these commands
|
Check |
Ok, found it. This is the output of a single execute of
|
I have no idea how to solve this |
First thing, can you confirm you downloaded and built Hyperledger Fabric and Fabric-CA version 1.1? The current default version is 1.4, and some commands might have changed. (Our application code was written in the first half of 2018, and 1.1 was the default version when the book was published, so we omitted to specify the version in the chapters. But soon after the book's publication, we noticed the omission and submitted errata. I'm not sure if you got a chance to see that.) Links: Once you confirm this, and if you still get the same errors, I can try to help you debug further. |
I rechecked and both fabric-ca and fabric are release-1.1
|
I might have experienced same issues. I fixed my issues and proposed a PR: #43 |
@pstueven Sorry, I was out during the holidays and forgot about your issue. Can you see if the fix proposed by woodyjon works for you? Though he's using v1.2 (and you are using v1.1.) @woodyjon Thanks for the PR. I'll take a look and apply sometime soon. (Generally, I don't have too much time to work on this project these days, with my day job.) And the 1.2 upgrade was only tested for net mode, not dev mode, which is why I retained the older version as the default. |
@VRamakrishna ok I see. Thanks. |
Master |
executing the command
trade-finance-logistics/network/ # ./trade.sh up -d true
gives me no error but only starts the chaincode and orderer containers(as docker container ls shows me). So I am unable to follow chapter 4 in the Book. How to resolve this? Is there any way to start the missing peer and cli containers?
The text was updated successfully, but these errors were encountered: