docker - Orderer client failed to connect to: failed to create new connection: context deadline exceeded - Stack Overflow

I'm a beginner in Minifabric and I'm trying to set up a simple network.These are my .yml fil

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条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信