set up new network


jalal hoseyni <jhoseyniv@...>
 

Hi All,
please help me to solve an error that i encountered when i wanted to follow  this instruction to build up a network : 

i encountered this error and i can't solve it:

2022-11-03 03:28:16.578 EDT 0005 FATA [common.tools.configtxgen] main -> Error on outputBlock: could not create bootstrapper: could not create channel group: could not create orderer group: cannot marshal metadata for orderer type etcdraft: cannot load client cert for consenter orderer.example.com:7050: open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory
+ res=1
Failed to generate channel configuration transaction...


Param
 

Based on the error message `open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory`, I suspect the previous step which is expected to generate the certificate is not complete/failed. 

Please check your logs for any failure while generating the certificates.  Please check wrt this step/statement: https://github.com/hyperledger/fabric-samples/blob/49749c65846b2d03e0b646150297532bc2543cc6/test-network/network.sh#L175

 


DAVID VIEJO POMATA
 

Hello,

You can also use kubernetes to deploy a local network using KinD, just follow the README:


Regards.
David Viejo.


El vie, 4 nov 2022 a las 11:22, Param (<sparameswara@...>) escribió:

Based on the error message `open /home/jalal/1401/hy/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.cert: no such file or directory`, I suspect the previous step which is expected to generate the certificate is not complete/failed. 

Please check your logs for any failure while generating the certificates.  Please check wrt this step/statement: https://github.com/hyperledger/fabric-samples/blob/49749c65846b2d03e0b646150297532bc2543cc6/test-network/network.sh#L175