[Solved] Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050

Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050: failed to create new connection: context deadline exceeded
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========Solution: stop the network first
./byfn.sh -m down
Then enter: sudo vim /etc/resolv.conf

Then open the fabric-samples/first-network/base/docker-compose-base.yaml file
Add each environment:
– GODEBUG=netdns=go

Read More: