I met errors when setting up blockchain network(test network) using Hyperledger Fabric Sample. Actually, when I run the scripts ./network.sh up, the docker images start but immediately shut down. And I check the logs found some errors reported. And here are my errors shown:
1. when setting orderer:
2020-06-01 06:43:02.784 UTC [orderer.common.server] loadLocalMSP -> PANI 004 Failed to setup local msp with config: KeyMaterial not found in SigningIdentityInfo
panic: Failed to setup local msp with config: KeyMaterial not found in SigningIdentityInfo
goroutine 1 [running]:
github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc000254dc0, 0x0, 0x0, 0x0)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore/entry.go:229 +0x546
github.com/hyperledger/fabric/vendor/go.uber.org/zap.(*SugaredLogger).log(0xc00010e338, 0xc000094904, 0x1066d69, 0x29, 0xc00029f610, 0x1, 0x1, 0x0, 0x0, 0x0)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:234 +0x100
github.com/hyperledger/fabric/vendor/go.uber.org/zap.(*SugaredLogger).Panicf(...)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:159
github.com/hyperledger/fabric/common/flogging.(*FabricLogger).Panicf(...)
/go/src/github.com/hyperledger/fabric/common/flogging/zap.go:74
github.com/hyperledger/fabric/orderer/common/server.loadLocalMSP(0xc00019a480, 0xc00026fe50, 0x0)
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:677 +0x314
github.com/hyperledger/fabric/orderer/common/server.Main()
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:91 +0x232
main.main()
/go/src/github.com/hyperledger/fabric/cmd/orderer/main.go:15 +0x20
2. when setting up peers:
2020-06-01 06:43:02.778 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /etc/hyperledger/fabric/msp: KeyMaterial not found in SigningIdentityInfo
is there anyone that may be able to help solve the problems?
best regards