I'm a beginner in Minifabric and I'm trying to set up a simple network.
These are my .yml files
#1/spec.yml
fabric:
cas:
- "ca11.example"
peers:
- "peer11.example"
- "peer21.example"
orderers:
- "orderer1.example"
netname: "network1"
#2/spec.yml
fabric:
cas:
- "ca12.example"
peers:
- "peer12.example"
- "peer22.example"
netname: "network2"
#3/spec.yml
fabric:
cas:
- "ca13.example"
peers:
- "peer13.example"
- "peer23.example"
orderers:
- "orderer2.example"
netname: "network3"
I initialize "Org1" by running the following command inside the directory.
1$ minifab netup -e 7100 -o 1.example
When I try to create a channel minifab create -c channel1
, the following error appears:
I'm trying to do this example to learn.
DETAILS:
- I'm developing this example on WSL2.
- I'm following the steps on this website to develop an example, but I was blocked on the second command.
- I tried disabling the Windows firewall (Defender), but it didn't work either.
- I find it strange that Docker works with these ports. I suspect this is the problem, it is trying to connect to one port but is directed to another. I am not an expert in Docker and MiniFabric. The examples I am following on the Internet do not mention any changes in Docker.
- The docker log files display the following message: "
2024-11-20 16:03:04.734 UTC [gossip.discovery] func1 -> WARN 096 Could not connect to Endpoint: 10.255.255.254:9092, InternalEndpoint: 10.255.255.254:9092, PKI-ID: <nil>, Metadata: : context deadline exceeded
"
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742345579a4426474.html
评论列表(0条)