Согласно сообщению об ошибке из файла msgvalidation.go , фрагмент метода ValidateProposalMessage выглядит следующим образом:
// validate the signature
err = checkSignatureFromCreator(shdr.Creator, signedProp.Signature, signedProp.ProposalBytes, chdr.ChannelId)
if err != nil {
// log the exact message on the peer but return a generic error message to
// avoid malicious users scanning for channels
putilsLogger.Warningf("channel [%s]: %s", chdr.ChannelId, err)
sId := &msp.SerializedIdentity{}
err := proto.Unmarshal(shdr.Creator, sId)
if err != nil {
// log the error here as well but still only return the generic error
err = errors.Wrap(err, "could not deserialize a SerializedIdentity")
putilsLogger.Warningf("channel [%s]: %s", chdr.ChannelId, err)
}
return nil, nil, nil, errors.Errorf("access denied: channel [%s] creator org [%s]", chdr.ChannelId, sId.Mspid)
}
Кажется, что вы потерпели неудачу на шаге:
err = checkSignatureFromCreator(shdr.Creator, signedProp.Signature, signedProp.ProposalBytes, chdr.ChannelId)
ваше подписанное предложение недействительно,
- Правильно ли указан вариант среды?
export CORE_PEER_ADDRESS=peer.org1.example.com:17051
export CORE_PEER_LOCALMSPID=Org1MSP
export CORE_PEER_MSPCONFIGPATH=xxx/msp
2.Используете ли вы сертификат администратора для отправки этой транзакции?
3.Просьба предоставить более полезную информацию, например, информацию о предупреждении (из исходного кода может быть полезна информация о предупреждении), а не только информацию об ошибке.