Problems with manually testing fabric networks

Source: Internet
Author: User

1: Error:got unexpected appears when creating channel Status:bad_request

May be the name of the channel already exists, execute: Peer channel list

The discovery of the MyChannel channel has been established, so no repetition has been created.

so can we create channels for other names? Not MyChannel.

No way! Since we created the channel configuration block before, we specified that the channel name is MyChannel, so here we have to create the channel of the same name.


2: When the channel is added to the Genesis Block: Peer Channel Join-b Mychannel.block

appears: Error:proposal failed (err:rpc error:code = Unknown desc = Chaincode Error (status:500, Message:cannot CRE Ate ledger from Genesis blocks, due to ledgerid already))

It means that you have joined the channel and have your own ledger, you do not need to repeat the command, you can proceed to the next step

 

3: Final execution./byfn.sh-m down for cleanup shutdown operation, report: Error:network NET_BYFN has active endpoints

Reason: There could is dangling endpoints in Libnetwork database in the following case:

1:docker Daemon Crashes/exits in the middle of startup of containers

2:docker Daemon crashes/exits/killed in the middle of stopping of containers

(This is a problem with the daemon/container_unix.go in Docker, which was corrected in the new version, so you need to upgrade the Docker version and refer to my Docker upgraded blog: http://blog.csdn.net/ mellymengyan/article/details/7789590

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.